I'm using pydantic 1.6.1 and fastapi 0.61.1 with Python 3.8.3. Here's how I've tried defining the models: class UserBase(BaseModel): name: ...
確定! 回上一頁