MCPcopy Create free account
hub / github.com/python/mypy / deserialize

Method deserialize

mypyc/ir/func_ir.py:118–122  ·  view source on GitHub ↗
(cls, data: JsonDict, ctx: DeserMaps)

Source from the content-addressed store, hash-verified

116
117 @classmethod
118 def deserialize(cls, data: JsonDict, ctx: DeserMaps) -> FuncSignature:
119 return FuncSignature(
120 [RuntimeArg.deserialize(arg, ctx) for arg in data["args"]],
121 deserialize_type(data["ret_type"], ctx),
122 )
123
124
125def num_bitmap_args(args: tuple[RuntimeArg, ...]) -> int:

Callers

nothing calls this directly

Calls 3

deserialize_typeFunction · 0.90
FuncSignatureClass · 0.85
deserializeMethod · 0.45

Tested by

no test coverage detected