diff --git a/README.md b/README.md index 72be9bcf4d4d26f6e1ef5571911697b45818871a..1396c2f57828c0ff49a977d61f29e5708c88dc6d 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ An interactive OpenAPI Swagger documentation can be accessed by opening the serv - temperature - humidity ---- + ## Credits ### Icons @@ -17,13 +17,3 @@ An interactive OpenAPI Swagger documentation can be accessed by opening the serv ### Python libraries See `Pipfile` and `Pipfile.lock` (This project uses some personal libraries not available on the official pypi. The source code can be found here [https://thecodelabs.de/TheCodeLabs/PythonLibs](https://thecodelabs.de/TheCodeLabs/PythonLibs)) - ---- - -## Installation on Raspberry Pi Zero -Pipenv can cause some problems. Possible solution: -- use pipenv 2018-11-26 -- run `pipenv lock` -- open `Pipfile.lock` and remove the `gevent` dependency -- run `Pipenv sync` -- install gevent manually via `pipenv install gevent` \ No newline at end of file diff --git a/src/logic/routers/MeasurementRouter.py b/src/logic/routers/MeasurementRouter.py index b9b8d0b429c2ab544181f085042902ea47773902..a150ec99285a91f6e3d4245ca8775af76451aa9d 100644 --- a/src/logic/routers/MeasurementRouter.py +++ b/src/logic/routers/MeasurementRouter.py @@ -42,7 +42,7 @@ async def create_measurement(measurement: Schemas.MeasurementCreate, db: Session @router.put('/measurement/{measurementId}', response_model=Schemas.Measurement, - summary='Update a specific measurement', + summary='Updates a specific measurement', responses={404: {'description': 'Measurement not found'}}, dependencies=[Depends(check_api_key)]) async def update_measurement(measurementId: int, measurement: Schemas.MeasurementUpdate, db: Session = Depends(get_database)):