我想排除所有在创建JSON 时未设置的Optional 值。在这个例子中: from pydantic import BaseModel from typing import Optional class Foo(BaseModel): x: int y: int ...
確定! 回上一頁