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

Method deserialize

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

Source from the content-addressed store, hash-verified

337
338 @classmethod
339 def deserialize(cls, data: JsonDict, ctx: DeserMaps) -> FuncIR:
340 return FuncIR(
341 FuncDecl.deserialize(data["decl"], ctx), [], [], data["line"], data["traceback_name"]
342 )
343
344
345INVALID_FUNC_DEF: Final = FuncDef("<INVALID_FUNC_DEF>", [], Block([]))

Callers 2

deserializeMethod · 0.45
deserializeMethod · 0.45

Calls 1

FuncIRClass · 0.85

Tested by

no test coverage detected