MCPcopy
hub / github.com/pydantic/pydantic / serialize

Method serialize

pydantic/v1/mypy.py:747–748  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

745 )
746
747 def serialize(self) -> JsonDict:
748 return self.__dict__
749
750 @classmethod
751 def deserialize(cls, info: TypeInfo, data: JsonDict) -> 'PydanticModelField':

Callers 1

transformMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected