docarray.document.mixins.pydantic module#
- class docarray.document.mixins.pydantic.PydanticMixin[source]#
Bases:
object
Provide helper functions to convert to/from a Pydantic model
- classmethod get_json_schema(indent=2)[source]#
Return a JSON Schema of Document class.
- Return type:
str