from pydantic import BaseModel class User(BaseModel): id: int name = 'Jane Doe' ... Python 3.7 and above Python 3.9 and above Python 3.10 and above.
確定! 回上一頁