Files
tfm_ainventory/graphify-out/cache/9420cde97b93be6a48bb031357af149cf6063ba01873517f1368cdb0a6177ec5.json

1 line
20 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "label": "_namespace_utils.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L1"}, {"id": "namespace_utils_namespacestuple", "label": "NamespacesTuple", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L30"}, {"id": "namedtuple", "label": "NamedTuple", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "namespace_utils_get_module_ns_of", "label": "get_module_ns_of()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L48"}, {"id": "namespace_utils_lazylocalnamespace", "label": "LazyLocalNamespace", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L66"}, {"id": "namespace_utils_lazylocalnamespace_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L86"}, {"id": "namespace_utils_data", "label": "data()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L90"}, {"id": "namespace_utils_lazylocalnamespace_len", "label": ".__len__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L93"}, {"id": "namespace_utils_lazylocalnamespace_getitem", "label": ".__getitem__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L96"}, {"id": "namespace_utils_lazylocalnamespace_contains", "label": ".__contains__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L99"}, {"id": "namespace_utils_lazylocalnamespace_iter", "label": ".__iter__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L102"}, {"id": "namespace_utils_ns_for_function", "label": "ns_for_function()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L106"}, {"id": "namespace_utils_nsresolver", "label": "NsResolver", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L143"}, {"id": "namespace_utils_nsresolver_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L223"}, {"id": "namespace_utils_types_namespace", "label": "types_namespace()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L233"}, {"id": "namespace_utils_push", "label": "push()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L284"}, {"id": "namespace_utils_rationale_31", "label": "A tuple of globals and locals to be used during annotations evaluation. Thi", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L31"}, {"id": "namespace_utils_rationale_49", "label": "Get the namespace of the module where the object is defined. Caution: this", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L49"}, {"id": "namespace_utils_rationale_67", "label": "A lazily evaluated mapping, to be used as the `locals` argument during annotatio", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L67"}, {"id": "namespace_utils_rationale_107", "label": "Return the global and local namespaces to be used when evaluating annotations fo", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L107"}, {"id": "namespace_utils_rationale_144", "label": "A class responsible for the namespaces resolving logic for annotations evaluatio", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L144"}, {"id": "namespace_utils_rationale_234", "label": "The current global and local namespaces to be used for annotations evaluation.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L234"}, {"id": "namespace_utils_rationale_285", "label": "Push a type to the stack.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L285"}, {"id": "namespace_utils_rationale_236", "label": "# TODO: should we merge the parent namespace here?", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L236"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "target": "collections_abc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "target": "contextlib", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "target": "functools", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "target": "typing_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "target": "namespace_utils_namespacestuple", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L30", "weight": 1.0}, {"source": "namespace_utils_namespacestuple", "target": "namedtuple", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L30", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "target": "namespace_utils_get_module_ns_of", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L48", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "target": "namespace_utils_lazylocalnamespace", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L66", "weight": 1.0}, {"source": "namespace_utils_lazylocalnamespace", "target": "namespace_utils_lazylocalnamespace_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L86", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "target": "namespace_utils_data", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L90", "weight": 1.0}, {"source": "namespace_utils_lazylocalnamespace", "target": "namespace_utils_lazylocalnamespace_len", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L93", "weight": 1.0}, {"source": "namespace_utils_lazylocalnamespace", "target": "namespace_utils_lazylocalnamespace_getitem", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L96", "weight": 1.0}, {"source": "namespace_utils_lazylocalnamespace", "target": "namespace_utils_lazylocalnamespace_contains", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L99", "weight": 1.0}, {"source": "namespace_utils_lazylocalnamespace", "target": "namespace_utils_lazylocalnamespace_iter", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L102", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "target": "namespace_utils_ns_for_function", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L106", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "target": "namespace_utils_nsresolver", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L143", "weight": 1.0}, {"source": "namespace_utils_nsresolver", "target": "namespace_utils_nsresolver_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L223", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "target": "namespace_utils_types_namespace", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L233", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "target": "namespace_utils_push", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L284", "weight": 1.0}, {"source": "namespace_utils_ns_for_function", "target": "namespace_utils_get_module_ns_of", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L138", "weight": 1.0}, {"source": "namespace_utils_ns_for_function", "target": "namespace_utils_namespacestuple", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L140", "weight": 1.0}, {"source": "namespace_utils_ns_for_function", "target": "namespace_utils_lazylocalnamespace", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L140", "weight": 1.0}, {"source": "namespace_utils_nsresolver_init", "target": "namespace_utils_namespacestuple", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L228", "weight": 1.0}, {"source": "namespace_utils_types_namespace", "target": "namespace_utils_get_module_ns_of", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L250", "weight": 1.0}, {"source": "namespace_utils_types_namespace", "target": "namespace_utils_namespacestuple", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L281", "weight": 1.0}, {"source": "namespace_utils_types_namespace", "target": "namespace_utils_lazylocalnamespace", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L281", "weight": 1.0}, {"source": "namespace_utils_rationale_31", "target": "namespace_utils_namespacestuple", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L31", "weight": 1.0}, {"source": "namespace_utils_rationale_49", "target": "namespace_utils_get_module_ns_of", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L49", "weight": 1.0}, {"source": "namespace_utils_rationale_67", "target": "namespace_utils_lazylocalnamespace", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L67", "weight": 1.0}, {"source": "namespace_utils_rationale_107", "target": "namespace_utils_ns_for_function", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L107", "weight": 1.0}, {"source": "namespace_utils_rationale_144", "target": "namespace_utils_nsresolver", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L144", "weight": 1.0}, {"source": "namespace_utils_rationale_234", "target": "namespace_utils_nsresolver_types_namespace", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L234", "weight": 1.0}, {"source": "namespace_utils_rationale_285", "target": "namespace_utils_nsresolver_push", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L285", "weight": 1.0}, {"source": "namespace_utils_rationale_236", "target": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L236", "weight": 1.0}], "raw_calls": [{"caller_nid": "namespace_utils_get_module_ns_of", "callee": "getattr", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L54"}, {"caller_nid": "namespace_utils_data", "callee": "items", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L91"}, {"caller_nid": "namespace_utils_lazylocalnamespace_len", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L94"}, {"caller_nid": "namespace_utils_lazylocalnamespace_iter", "callee": "iter", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L103"}, {"caller_nid": "namespace_utils_ns_for_function", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L121"}, {"caller_nid": "namespace_utils_ns_for_function", "callee": "getattr", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L128"}, {"caller_nid": "namespace_utils_ns_for_function", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L133"}, {"caller_nid": "namespace_utils_ns_for_function", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L135"}, {"caller_nid": "namespace_utils_types_namespace", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L256"}, {"caller_nid": "namespace_utils_types_namespace", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L257"}, {"caller_nid": "namespace_utils_types_namespace", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L259"}, {"caller_nid": "namespace_utils_types_namespace", "callee": "getattr", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L264"}, {"caller_nid": "namespace_utils_types_namespace", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L271"}, {"caller_nid": "namespace_utils_types_namespace", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L275"}, {"caller_nid": "namespace_utils_types_namespace", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L276"}, {"caller_nid": "namespace_utils_types_namespace", "callee": "vars", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L276"}, {"caller_nid": "namespace_utils_types_namespace", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L279"}, {"caller_nid": "namespace_utils_push", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L286"}, {"caller_nid": "namespace_utils_push", "callee": "pop", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L288"}, {"caller_nid": "namespace_utils_push", "callee": "pop", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L292"}, {"caller_nid": "namespace_utils_push", "callee": "pop", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py", "source_location": "L293"}]}