Files
tfm_ainventory/graphify-out/cache/45c5a15274894e03729474b08bd8e6454103d9f5e1b8240b228f682008e8d458.json

1 line
4.2 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_sniffio_impl_py", "label": "_impl.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L1"}, {"id": "impl_threadlocal", "label": "_ThreadLocal", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L11"}, {"id": "impl_asynclibrarynotfounderror", "label": "AsyncLibraryNotFoundError", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L21"}, {"id": "runtimeerror", "label": "RuntimeError", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "impl_current_async_library", "label": "current_async_library()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L25"}, {"id": "impl_rationale_26", "label": "Detect which async library is currently running. The following libraries ar", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L26"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_sniffio_impl_py", "target": "contextvars", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sniffio_impl_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sniffio_impl_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sniffio_impl_py", "target": "threading", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sniffio_impl_py", "target": "impl_threadlocal", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sniffio_impl_py", "target": "impl_asynclibrarynotfounderror", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L21", "weight": 1.0}, {"source": "impl_asynclibrarynotfounderror", "target": "runtimeerror", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L21", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sniffio_impl_py", "target": "impl_current_async_library", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L25", "weight": 1.0}, {"source": "impl_current_async_library", "target": "impl_asynclibrarynotfounderror", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L93", "weight": 1.0}, {"source": "impl_rationale_26", "target": "impl_current_async_library", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L26", "weight": 1.0}], "raw_calls": [{"caller_nid": "impl_current_async_library", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L70"}, {"caller_nid": "impl_current_async_library", "callee": "current_task", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L82"}, {"caller_nid": "impl_current_async_library", "callee": "curio_running", "source_file": "backend/venv/lib/python3.12/site-packages/sniffio/_impl.py", "source_location": "L90"}]}