How to return the average value using fastapi & pydantic
How to return the average value using fastapi & pydantic Question: I am new to fasts-api and python as I am a mobile developer. At the moment I managed to get this response from my API (please look at averageLevel which is an array at the moment): [ { "user_id": 139, "event_date": "2023-03-20T12:18:17", "public": 1, …