I 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
New contributor
Amirmohammad Alian nezhad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.