update host in .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-05-20 18:25:40 +02:00
parent 0b0ecc0dc9
commit b2708b6553
3 changed files with 5 additions and 4 deletions

View File

@@ -88,7 +88,7 @@ async def get_sensor_data(
}
},
{"type": type},
{"value": {"$ne": "NaN"}},
{"value": {"$ne": float("nan")}},
]
}
},
@@ -122,6 +122,7 @@ async def get_sensor_data(
]
docs = [doc async for doc in collection.aggregate(pipeline)]
print(docs)
return json.loads(json_util.dumps(docs))