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

Method deserialize

mypy/types.py:311–312  ·  view source on GitHub ↗
(cls, data: JsonDict)

Source from the content-addressed store, hash-verified

309
310 @classmethod
311 def deserialize(cls, data: JsonDict) -> Type:
312 raise NotImplementedError(f"Cannot deserialize {cls.__name__} instance")
313
314 def write(self, data: WriteBuffer) -> None:
315 raise NotImplementedError(f"Cannot serialize {self.__class__.__name__} instance")

Callers 10

deserialize_typeFunction · 0.45
deserializeMethod · 0.45
deserializeMethod · 0.45
deserializeMethod · 0.45
deserializeMethod · 0.45
deserializeMethod · 0.45
deserializeMethod · 0.45
deserializeMethod · 0.45
deserializeMethod · 0.45
deserializeMethod · 0.45

Calls 1

NotImplementedErrorClass · 0.85

Tested by

no test coverage detected