from typing import List from pydantic import BaseModel class Foo(BaseModel): ... Fields are defined by either a tuple of the form (<type>, <default value>) ...
確定! 回上一頁