Ask a question to get started
Enter to send•Shift+Enter new line
openapi_dumps( obj: Any, ) -> bytes
Serialize an object to UTF-8 encoded JSON bytes.
Extends the standard json.dumps with support for additional types commonly used in the SDK, such as datetime, pydantic.BaseModel, etc.
datetime
pydantic.BaseModel