Json – Changing Data type input from MySQL in FastAPI
enter code hereI have "serialize_response" error for this line : @app.get("/get-sensors/", response_model=List[Data]) and this : return {"status": "success", "list": data} how can I fix this! I want to get data as Dictionary type the main code is: import mysql.connector from…