You can use jsonable_encoder for that. It receives an object, like a Pydantic model, and returns a JSON compatible version: Python 3.6 and above Python ...
確定! 回上一頁