Ask a question to get started
Enter to send•Shift+Enter new line
Used as a placeholder to easily convert runtime types to a Pydantic format to provide validation.
For example:
validated = RootModel[int](__root__="5").__root__ # validated: 5
RootModel()
GenericModel
Generic[_T]
Recursively generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
Return the report as a JSON-serializable dict (raw JSON shape).
Dump the feedback, including its address.
Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump_json