1 line
14 KiB
JSON
1 line
14 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "label": "mypy_plugin.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L1"}, {"id": "mypy_plugin_get_precision_dict", "label": "_get_precision_dict()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L49"}, {"id": "mypy_plugin_get_extended_precision_list", "label": "_get_extended_precision_list()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L71"}, {"id": "mypy_plugin_get_c_intp_name", "label": "_get_c_intp_name()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L80"}, {"id": "mypy_plugin_plugin", "label": "plugin()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L113"}, {"id": "mypy_plugin_hook", "label": "_hook()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L120"}, {"id": "mypy_plugin_index", "label": "_index()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L127"}, {"id": "mypy_plugin_override_imports", "label": "_override_imports()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L135"}, {"id": "mypy_plugin_numpyplugin", "label": "_NumpyPlugin", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L150"}, {"id": "mypy_plugin_numpyplugin_get_type_analyze_hook", "label": ".get_type_analyze_hook()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L153"}, {"id": "mypy_plugin_numpyplugin_get_additional_deps", "label": ".get_additional_deps()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L163"}, {"id": "mypy_plugin_rationale_1", "label": "A mypy_ plugin for managing a number of platform-specific annotations. Its funct", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L1"}, {"id": "mypy_plugin_rationale_121", "label": "Replace a type-alias with a concrete ``NBitBase`` subclass.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L121"}, {"id": "mypy_plugin_rationale_128", "label": "Identify the first ``ImportFrom`` instance the specified `id`.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L128"}, {"id": "mypy_plugin_rationale_140", "label": "Override the first `module`-based import with new `imports`.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L140"}, {"id": "mypy_plugin_rationale_151", "label": "A mypy plugin for handling versus numpy-specific typing tasks.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L151"}, {"id": "mypy_plugin_rationale_154", "label": "Set the precision of platform-specific `numpy.number` subclasses.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L154"}, {"id": "mypy_plugin_rationale_166", "label": "Handle all import-based overrides. * Import platform-specific exten", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L166"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "collections_abc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L41", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L42", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "numpy", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L44", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "mypy_plugin_get_precision_dict", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L49", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "mypy_plugin_get_extended_precision_list", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L71", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "mypy_plugin_get_c_intp_name", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L80", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "mypy_typeanal", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L104", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "mypy_types", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L106", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "mypy_build", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L107", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "mypy_nodes", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L108", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "mypy_plugin", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L109", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "mypy_plugin_plugin", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L113", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "mypy_plugin_hook", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L120", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "mypy_plugin_index", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L127", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "mypy_plugin_override_imports", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L135", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "mypy_plugin_numpyplugin", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L150", "weight": 1.0}, {"source": "mypy_plugin_numpyplugin", "target": "mypy_plugin_plugin", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L150", "weight": 1.0}, {"source": "mypy_plugin_numpyplugin", "target": "mypy_plugin_numpyplugin_get_type_analyze_hook", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L153", "weight": 1.0}, {"source": "mypy_plugin_numpyplugin", "target": "mypy_plugin_numpyplugin_get_additional_deps", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L163", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "target": "mypy_plugin_plugin", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L188", "weight": 1.0}, {"source": "mypy_plugin_override_imports", "target": "mypy_plugin_index", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L147", "weight": 1.0}, {"source": "mypy_plugin_numpyplugin_get_additional_deps", "target": "mypy_plugin_override_imports", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L175", "weight": 1.0}, {"source": "mypy_plugin_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_numpy_typing_mypy_plugin_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L1", "weight": 1.0}, {"source": "mypy_plugin_rationale_121", "target": "mypy_plugin_hook", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L121", "weight": 1.0}, {"source": "mypy_plugin_rationale_128", "target": "mypy_plugin_index", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L128", "weight": 1.0}, {"source": "mypy_plugin_rationale_140", "target": "mypy_plugin_override_imports", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L140", "weight": 1.0}, {"source": "mypy_plugin_rationale_151", "target": "mypy_plugin_numpyplugin", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L151", "weight": 1.0}, {"source": "mypy_plugin_rationale_154", "target": "mypy_plugin_numpyplugin_get_type_analyze_hook", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L154", "weight": 1.0}, {"source": "mypy_plugin_rationale_166", "target": "mypy_plugin_numpyplugin_get_additional_deps", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L166", "weight": 1.0}], "raw_calls": [{"caller_nid": "mypy_plugin_get_precision_dict", "callee": "dtype", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L66"}, {"caller_nid": "mypy_plugin_get_extended_precision_list", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L78"}, {"caller_nid": "mypy_plugin_get_c_intp_name", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L82"}, {"caller_nid": "mypy_plugin_get_c_intp_name", "callee": "dtype", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L86"}, {"caller_nid": "mypy_plugin_hook", "callee": "split", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L123"}, {"caller_nid": "mypy_plugin_hook", "callee": "named_type", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L125"}, {"caller_nid": "mypy_plugin_hook", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L125"}, {"caller_nid": "mypy_plugin_index", "callee": "enumerate", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L129"}, {"caller_nid": "mypy_plugin_index", "callee": "getattr", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L130"}, {"caller_nid": "mypy_plugin_index", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L132"}, {"caller_nid": "mypy_plugin_override_imports", "callee": "ImportFrom", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L142"}, {"caller_nid": "mypy_plugin_override_imports", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L146"}, {"caller_nid": "mypy_plugin_plugin", "callee": "warn", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py", "source_location": "L198"}]} |