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

Function convert_binary_cache_to_json

mypy/exportjson.py:80–82  ·  view source on GitHub ↗
(data: bytes, *, implicit_names: bool = True)

Source from the content-addressed store, hash-verified

78
79
80def convert_binary_cache_to_json(data: bytes, *, implicit_names: bool = True) -> Json:
81 tree = MypyFile.read(ReadBuffer(data))
82 return convert_mypy_file_to_json(tree, Config(implicit_names=implicit_names))
83
84
85def convert_mypy_file_to_json(self: MypyFile, cfg: Config) -> Json:

Callers 2

run_caseMethod · 0.90
mainFunction · 0.85

Calls 3

ConfigClass · 0.85
readMethod · 0.45

Tested by 1

run_caseMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…