MCPcopy Index your code
hub / github.com/python/mypy / serialize

Method serialize

mypy/types.py:2726–2727  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2724 return self.items == other.items
2725
2726 def serialize(self) -> JsonDict:
2727 return {".class": "Overloaded", "items": [t.serialize() for t in self.items]}
2728
2729 @classmethod
2730 def deserialize(cls, data: JsonDict) -> Overloaded:

Callers

nothing calls this directly

Calls 1

serializeMethod · 0.45

Tested by

no test coverage detected