{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pip_internal_utils_compat_py", "label": "compat.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L1"}, {"id": "compat_has_tls", "label": "has_tls()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L16"}, {"id": "compat_get_path_uid", "label": "get_path_uid()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L29"}, {"id": "compat_open_text_resource", "label": "open_text_resource()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L62"}, {"id": "compat_rationale_1", "label": "Stuff that differs in different Python versions and platform distributions.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L1"}, {"id": "compat_rationale_30", "label": "Return path's uid. Does not follow symlinks: https://github.com/pyp", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L30"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pip_internal_utils_compat_py", "target": "importlib_resources", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_utils_compat_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_utils_compat_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_utils_compat_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_utils_compat_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_utils_compat_py", "target": "compat_has_tls", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L16", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_utils_compat_py", "target": "compat_get_path_uid", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L29", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_utils_compat_py", "target": "compat_open_text_resource", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L62", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_utils_compat_py", "target": "tomllib", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L71", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_utils_compat_py", "target": "pip_vendor", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L73", "weight": 1.0}, {"source": "compat_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_pip_internal_utils_compat_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L1", "weight": 1.0}, {"source": "compat_rationale_30", "target": "compat_get_path_uid", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L30", "weight": 1.0}], "raw_calls": [{"caller_nid": "compat_get_path_uid", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L41"}, {"caller_nid": "compat_get_path_uid", "callee": "open", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L42"}, {"caller_nid": "compat_get_path_uid", "callee": "fstat", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L43"}, {"caller_nid": "compat_get_path_uid", "callee": "close", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L44"}, {"caller_nid": "compat_get_path_uid", "callee": "islink", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L47"}, {"caller_nid": "compat_get_path_uid", "callee": "stat", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L49"}, {"caller_nid": "compat_get_path_uid", "callee": "OSError", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L52"}, {"caller_nid": "compat_open_text_resource", "callee": "open", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L65"}, {"caller_nid": "compat_open_text_resource", "callee": "files", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py", "source_location": "L65"}]}