1 line
11 KiB
JSON
1 line
11 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "label": "monkey.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L1"}, {"id": "monkey_get_mro", "label": "_get_mro()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L26"}, {"id": "monkey_get_unpatched", "label": "get_unpatched()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L41"}, {"id": "monkey_get_unpatched_class", "label": "get_unpatched_class()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L54"}, {"id": "monkey_patch_all", "label": "patch_all()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L72"}, {"id": "monkey_patch_distribution_metadata", "label": "_patch_distribution_metadata()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L93"}, {"id": "monkey_patch_func", "label": "patch_func()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L108"}, {"id": "monkey_get_unpatched_function", "label": "get_unpatched_function()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L125"}, {"id": "monkey_rationale_1", "label": "Monkey patching of distutils.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L1"}, {"id": "monkey_rationale_27", "label": "Returns the bases classes for cls sorted by the MRO. Works around an issue", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L27"}, {"id": "monkey_rationale_55", "label": "Protect against re-patching the distutils if reloaded Also ensures that no", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L55"}, {"id": "monkey_rationale_109", "label": "Patch func_name in target_mod with replacement Important - original must be", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L109"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "target": "inspect", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "target": "platform", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "target": "types", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "target": "distutils_filelist", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "target": "monkey_get_mro", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L26", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "target": "monkey_get_unpatched", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L41", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "target": "monkey_get_unpatched", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L43", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "target": "monkey_get_unpatched", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L44", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "target": "monkey_get_unpatched_class", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L54", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "target": "monkey_patch_all", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L72", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "target": "monkey_patch_distribution_metadata", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L93", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "target": "monkey_patch_func", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L108", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "target": "monkey_get_unpatched_function", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L125", "weight": 1.0}, {"source": "monkey_get_unpatched", "target": "monkey_get_unpatched_class", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L48", "weight": 1.0}, {"source": "monkey_get_unpatched", "target": "monkey_get_unpatched_function", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L50", "weight": 1.0}, {"source": "monkey_get_unpatched_class", "target": "monkey_get_mro", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L62", "weight": 1.0}, {"source": "monkey_patch_all", "target": "monkey_patch_distribution_metadata", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L78", "weight": 1.0}, {"source": "monkey_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_setuptools_monkey_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L1", "weight": 1.0}, {"source": "monkey_rationale_27", "target": "monkey_get_mro", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L27", "weight": 1.0}, {"source": "monkey_rationale_55", "target": "monkey_get_unpatched_class", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L55", "weight": 1.0}, {"source": "monkey_rationale_109", "target": "monkey_patch_func", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L109", "weight": 1.0}], "raw_calls": [{"caller_nid": "monkey_get_mro", "callee": "python_implementation", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L35"}, {"caller_nid": "monkey_get_mro", "callee": "getmro", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L37"}, {"caller_nid": "monkey_get_unpatched", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L47"}, {"caller_nid": "monkey_get_unpatched", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L49"}, {"caller_nid": "monkey_get_unpatched_class", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L61"}, {"caller_nid": "monkey_get_unpatched_class", "callee": "startswith", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L63"}, {"caller_nid": "monkey_get_unpatched_class", "callee": "next", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L65"}, {"caller_nid": "monkey_get_unpatched_class", "callee": "startswith", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L66"}, {"caller_nid": "monkey_get_unpatched_class", "callee": "AssertionError", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L68"}, {"caller_nid": "monkey_patch_distribution_metadata", "callee": "getattr", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L104"}, {"caller_nid": "monkey_patch_distribution_metadata", "callee": "setattr", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L105"}, {"caller_nid": "monkey_patch_func", "callee": "getattr", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L115"}, {"caller_nid": "monkey_patch_func", "callee": "setdefault", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L119"}, {"caller_nid": "monkey_patch_func", "callee": "vars", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L119"}, {"caller_nid": "monkey_patch_func", "callee": "setattr", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/monkey.py", "source_location": "L122"}]} |