1 line
13 KiB
JSON
1 line
13 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_setuptools_static_py", "label": "_static.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L1"}, {"id": "static_static", "label": "Static", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L9"}, {"id": "static_prevent_modification", "label": "_prevent_modification()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L27"}, {"id": "static_str", "label": "Str", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L61"}, {"id": "static_tuple", "label": "Tuple", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L65"}, {"id": "static_list", "label": "List", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L69"}, {"id": "static_dict", "label": "Dict", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L108"}, {"id": "static_specifierset", "label": "SpecifierSet", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L145"}, {"id": "static_noop", "label": "noop()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L152"}, {"id": "static_attempt_conversion", "label": "attempt_conversion()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L163"}, {"id": "static_is_static", "label": "is_static()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L173"}, {"id": "static_rationale_10", "label": "Wrapper for built-in object types that are allow setuptools to identify stat", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L10"}, {"id": "static_rationale_28", "label": "Because setuptools is very flexible we cannot fully prevent plugins and user", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L28"}, {"id": "static_rationale_70", "label": ":meta private: >>> x = List([1, 2, 3]) >>> is_static(x) True >>>", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L70"}, {"id": "static_rationale_109", "label": ":meta private: >>> x = Dict({'a': 1, 'b': 2}) >>> is_static(x) True", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L109"}, {"id": "static_rationale_146", "label": "Not exactly a built-in type but useful for ``requires-python``", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L146"}, {"id": "static_rationale_164", "label": ">>> is_static(attempt_conversion(\"hello\")) True >>> is_static(object())", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L164"}, {"id": "static_rationale_174", "label": ">>> is_static(a := Dict({'a': 1})) True >>> is_static(dict(a)) False", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L174"}, {"id": "static_rationale_41", "label": "# TODO: After deprecation period raise NotImplementedError instead of warning", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L41"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_setuptools_static_py", "target": "functools", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_static_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_static_py", "target": "packaging_specifiers", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_static_py", "target": "backend_venv_lib_python3_12_site_packages_setuptools_warnings_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_static_py", "target": "static_static", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_static_py", "target": "static_prevent_modification", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L27", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_static_py", "target": "static_str", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L61", "weight": 1.0}, {"source": "static_str", "target": "static_str", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L61", "weight": 1.0}, {"source": "static_str", "target": "static_static", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L61", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_static_py", "target": "static_tuple", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L65", "weight": 1.0}, {"source": "static_tuple", "target": "static_tuple", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L65", "weight": 1.0}, {"source": "static_tuple", "target": "static_static", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L65", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_static_py", "target": "static_list", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L69", "weight": 1.0}, {"source": "static_list", "target": "static_list", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L69", "weight": 1.0}, {"source": "static_list", "target": "static_static", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L69", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_static_py", "target": "static_dict", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L108", "weight": 1.0}, {"source": "static_dict", "target": "static_dict", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L108", "weight": 1.0}, {"source": "static_dict", "target": "static_static", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L108", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_static_py", "target": "static_specifierset", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L145", "weight": 1.0}, {"source": "static_specifierset", "target": "static_static", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L145", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_static_py", "target": "static_noop", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L152", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_static_py", "target": "static_attempt_conversion", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L163", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_static_py", "target": "static_is_static", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L173", "weight": 1.0}, {"source": "static_rationale_10", "target": "static_static", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L10", "weight": 1.0}, {"source": "static_rationale_28", "target": "static_prevent_modification", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L28", "weight": 1.0}, {"source": "static_rationale_70", "target": "static_list", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L70", "weight": 1.0}, {"source": "static_rationale_109", "target": "static_dict", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L109", "weight": 1.0}, {"source": "static_rationale_146", "target": "static_specifierset", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L146", "weight": 1.0}, {"source": "static_rationale_164", "target": "static_attempt_conversion", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L164", "weight": 1.0}, {"source": "static_rationale_174", "target": "static_is_static", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L174", "weight": 1.0}, {"source": "static_rationale_41", "target": "backend_venv_lib_python3_12_site_packages_setuptools_static_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L41", "weight": 1.0}], "raw_calls": [{"caller_nid": "static_prevent_modification", "callee": "getattr", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L35"}, {"caller_nid": "static_prevent_modification", "callee": "wraps", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L39"}, {"caller_nid": "static_prevent_modification", "callee": "setattr", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L58"}, {"caller_nid": "static_attempt_conversion", "callee": "_CONVERSIONS.get(type(value), noop)", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L170"}, {"caller_nid": "static_attempt_conversion", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L170"}, {"caller_nid": "static_attempt_conversion", "callee": "type", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L170"}, {"caller_nid": "static_is_static", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_static.py", "source_location": "L184"}]} |