Files
tfm_ainventory/graphify-out/cache/3cc7328fb850d2c46b46392fbded83b2a5b5a772e5bcaee99c805728f19ac7e7.json

1 line
14 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_fastapi_security_api_key_py", "label": "api_key.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L1"}, {"id": "api_key_apikeybase", "label": "APIKeyBase", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L11"}, {"id": "securitybase", "label": "SecurityBase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "api_key_apikeybase_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L14"}, {"id": "api_key_apikeybase_make_not_authenticated_error", "label": ".make_not_authenticated_error()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L31"}, {"id": "api_key_apikeybase_check_api_key", "label": ".check_api_key()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L47"}, {"id": "api_key_apikeyquery", "label": "APIKeyQuery", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L55"}, {"id": "api_key_apikeyquery_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L87"}, {"id": "api_key_apikeyquery_call", "label": ".__call__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L142"}, {"id": "api_key_apikeyheader", "label": "APIKeyHeader", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L147"}, {"id": "api_key_apikeyheader_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L179"}, {"id": "api_key_apikeyheader_call", "label": ".__call__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L230"}, {"id": "api_key_apikeycookie", "label": "APIKeyCookie", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L235"}, {"id": "api_key_apikeycookie_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L267"}, {"id": "api_key_apikeycookie_call", "label": ".__call__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L318"}, {"id": "api_key_rationale_32", "label": "The WWW-Authenticate header is not standardized for API Key authentication but", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L32"}, {"id": "api_key_rationale_56", "label": "API key authentication using a query parameter. This defines the name of th", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L56"}, {"id": "api_key_rationale_148", "label": "API key authentication using a header. This defines the name of the header", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L148"}, {"id": "api_key_rationale_236", "label": "API key authentication using a cookie. This defines the name of the cookie", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L236"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_api_key_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_api_key_py", "target": "annotated_doc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_api_key_py", "target": "fastapi_openapi_models", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_api_key_py", "target": "fastapi_security_base", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_api_key_py", "target": "starlette_exceptions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_api_key_py", "target": "starlette_requests", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_api_key_py", "target": "starlette_status", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_api_key_py", "target": "api_key_apikeybase", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L11", "weight": 1.0}, {"source": "api_key_apikeybase", "target": "securitybase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L11", "weight": 1.0}, {"source": "api_key_apikeybase", "target": "api_key_apikeybase_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L14", "weight": 1.0}, {"source": "api_key_apikeybase", "target": "api_key_apikeybase_make_not_authenticated_error", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L31", "weight": 1.0}, {"source": "api_key_apikeybase", "target": "api_key_apikeybase_check_api_key", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L47", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_api_key_py", "target": "api_key_apikeyquery", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L55", "weight": 1.0}, {"source": "api_key_apikeyquery", "target": "api_key_apikeybase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L55", "weight": 1.0}, {"source": "api_key_apikeyquery", "target": "api_key_apikeyquery_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L87", "weight": 1.0}, {"source": "api_key_apikeyquery", "target": "api_key_apikeyquery_call", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L142", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_api_key_py", "target": "api_key_apikeyheader", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L147", "weight": 1.0}, {"source": "api_key_apikeyheader", "target": "api_key_apikeybase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L147", "weight": 1.0}, {"source": "api_key_apikeyheader", "target": "api_key_apikeyheader_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L179", "weight": 1.0}, {"source": "api_key_apikeyheader", "target": "api_key_apikeyheader_call", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L230", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_api_key_py", "target": "api_key_apikeycookie", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L235", "weight": 1.0}, {"source": "api_key_apikeycookie", "target": "api_key_apikeybase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L235", "weight": 1.0}, {"source": "api_key_apikeycookie", "target": "api_key_apikeycookie_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L267", "weight": 1.0}, {"source": "api_key_apikeycookie", "target": "api_key_apikeycookie_call", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L318", "weight": 1.0}, {"source": "api_key_apikeybase_check_api_key", "target": "api_key_apikeybase_make_not_authenticated_error", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L50", "weight": 1.0}, {"source": "api_key_apikeyquery_init", "target": "api_key_apikeycookie_init", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L134", "weight": 1.0}, {"source": "api_key_apikeyquery_call", "target": "api_key_apikeybase_check_api_key", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L144", "weight": 1.0}, {"source": "api_key_apikeyheader_init", "target": "api_key_apikeycookie_init", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L222", "weight": 1.0}, {"source": "api_key_apikeyheader_call", "target": "api_key_apikeybase_check_api_key", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L232", "weight": 1.0}, {"source": "api_key_apikeycookie_call", "target": "api_key_apikeybase_check_api_key", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L320", "weight": 1.0}, {"source": "api_key_rationale_32", "target": "api_key_apikeybase_make_not_authenticated_error", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L32", "weight": 1.0}, {"source": "api_key_rationale_56", "target": "api_key_apikeyquery", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L56", "weight": 1.0}, {"source": "api_key_rationale_148", "target": "api_key_apikeyheader", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L148", "weight": 1.0}, {"source": "api_key_rationale_236", "target": "api_key_apikeycookie", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L236", "weight": 1.0}], "raw_calls": [{"caller_nid": "api_key_apikeybase_init", "callee": "APIKey", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L24"}, {"caller_nid": "api_key_apikeybase_make_not_authenticated_error", "callee": "HTTPException", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L41"}, {"caller_nid": "api_key_apikeyquery_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L134"}, {"caller_nid": "api_key_apikeyquery_call", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L143"}, {"caller_nid": "api_key_apikeyheader_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L222"}, {"caller_nid": "api_key_apikeyheader_call", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L231"}, {"caller_nid": "api_key_apikeycookie_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L310"}, {"caller_nid": "api_key_apikeycookie_call", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/api_key.py", "source_location": "L319"}]}