Fastapi and Pydantic to build POST API: TypeError: Object of type is not JSON serializable

后端 未结 0 807
梦毁少年i
梦毁少年i 2020-12-14 10:00

guys, I have a problem with FastAPI and Pydantic.

I want to build a post api, program show this:

@router.post(\'/productRoute\', response_model=Success         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题