pydantic models can also be converted to dictionaries using dict(model) , and you can also iterate ... The .json() method will serialise a model to JSON.
確定! 回上一頁