Skip to content

Commit

Permalink
Removing some noise debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneTR committed Oct 20, 2023
1 parent a65f0ac commit 94a9df7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,10 +587,6 @@ async def hog_add(measurements: List[HogMeasurement]):
# For some reason we sometimes get NaN in the data.
measurement_data = replace_nan_with_zero(measurement_data)


#TODO: This is a patch for the moment, because we are waiting for Starlette 0.31.1 to be available via FastAPI
print("Measuerement data currently is: ", measurement_data)

#Check if the data is valid, if not this will throw an exception and converted into a request by the middleware
try:
_ = Measurement(**measurement_data)
Expand Down

0 comments on commit 94a9df7

Please sign in to comment.