1 line
18 KiB
JSON
1 line
18 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_starlette_endpoints_py", "label": "endpoints.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L1"}, {"id": "endpoints_httpendpoint", "label": "HTTPEndpoint", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L17"}, {"id": "endpoints_httpendpoint_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L18"}, {"id": "endpoints_httpendpoint_await", "label": ".__await__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L29"}, {"id": "endpoints_httpendpoint_dispatch", "label": ".dispatch()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L32"}, {"id": "endpoints_httpendpoint_method_not_allowed", "label": ".method_not_allowed()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L44"}, {"id": "endpoints_websocketendpoint", "label": "WebSocketEndpoint", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L54"}, {"id": "endpoints_websocketendpoint_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L57"}, {"id": "endpoints_websocketendpoint_await", "label": ".__await__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L63"}, {"id": "endpoints_websocketendpoint_dispatch", "label": ".dispatch()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L66"}, {"id": "endpoints_websocketendpoint_decode", "label": ".decode()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L87"}, {"id": "endpoints_websocketendpoint_on_connect", "label": ".on_connect()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L115"}, {"id": "endpoints_websocketendpoint_on_receive", "label": ".on_receive()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L119"}, {"id": "endpoints_websocketendpoint_on_disconnect", "label": ".on_disconnect()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L122"}, {"id": "endpoints_rationale_116", "label": "Override to handle an incoming websocket connection", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L116"}, {"id": "endpoints_rationale_120", "label": "Override to handle an incoming websocket message", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L120"}, {"id": "endpoints_rationale_123", "label": "Override to handle a disconnecting websocket", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L123"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_starlette_endpoints_py", "target": "json", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_endpoints_py", "target": "collections_abc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_endpoints_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_endpoints_py", "target": "starlette", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_endpoints_py", "target": "starlette_utils", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_endpoints_py", "target": "starlette_concurrency", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_endpoints_py", "target": "starlette_exceptions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_endpoints_py", "target": "starlette_requests", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_endpoints_py", "target": "starlette_responses", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_endpoints_py", "target": "starlette_types", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_endpoints_py", "target": "starlette_websockets", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_endpoints_py", "target": "endpoints_httpendpoint", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L17", "weight": 1.0}, {"source": "endpoints_httpendpoint", "target": "endpoints_httpendpoint_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L18", "weight": 1.0}, {"source": "endpoints_httpendpoint", "target": "endpoints_httpendpoint_await", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L29", "weight": 1.0}, {"source": "endpoints_httpendpoint", "target": "endpoints_httpendpoint_dispatch", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L32", "weight": 1.0}, {"source": "endpoints_httpendpoint", "target": "endpoints_httpendpoint_method_not_allowed", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L44", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_endpoints_py", "target": "endpoints_websocketendpoint", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L54", "weight": 1.0}, {"source": "endpoints_websocketendpoint", "target": "endpoints_websocketendpoint_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L57", "weight": 1.0}, {"source": "endpoints_websocketendpoint", "target": "endpoints_websocketendpoint_await", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L63", "weight": 1.0}, {"source": "endpoints_websocketendpoint", "target": "endpoints_websocketendpoint_dispatch", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L66", "weight": 1.0}, {"source": "endpoints_websocketendpoint", "target": "endpoints_websocketendpoint_decode", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L87", "weight": 1.0}, {"source": "endpoints_websocketendpoint", "target": "endpoints_websocketendpoint_on_connect", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L115", "weight": 1.0}, {"source": "endpoints_websocketendpoint", "target": "endpoints_websocketendpoint_on_receive", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L119", "weight": 1.0}, {"source": "endpoints_websocketendpoint", "target": "endpoints_websocketendpoint_on_disconnect", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L122", "weight": 1.0}, {"source": "endpoints_httpendpoint_await", "target": "endpoints_websocketendpoint_await", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L30", "weight": 1.0}, {"source": "endpoints_httpendpoint_await", "target": "endpoints_websocketendpoint_dispatch", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L30", "weight": 1.0}, {"source": "endpoints_websocketendpoint_await", "target": "endpoints_websocketendpoint_dispatch", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L64", "weight": 1.0}, {"source": "endpoints_websocketendpoint_dispatch", "target": "endpoints_websocketendpoint_on_connect", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L68", "weight": 1.0}, {"source": "endpoints_websocketendpoint_dispatch", "target": "endpoints_websocketendpoint_decode", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L76", "weight": 1.0}, {"source": "endpoints_websocketendpoint_dispatch", "target": "endpoints_websocketendpoint_on_receive", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L77", "weight": 1.0}, {"source": "endpoints_websocketendpoint_dispatch", "target": "endpoints_websocketendpoint_on_disconnect", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L85", "weight": 1.0}, {"source": "endpoints_rationale_116", "target": "endpoints_websocketendpoint_on_connect", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L116", "weight": 1.0}, {"source": "endpoints_rationale_120", "target": "endpoints_websocketendpoint_on_receive", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L120", "weight": 1.0}, {"source": "endpoints_rationale_123", "target": "endpoints_websocketendpoint_on_disconnect", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L123", "weight": 1.0}], "raw_calls": [{"caller_nid": "endpoints_httpendpoint_init", "callee": "getattr", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L26"}, {"caller_nid": "endpoints_httpendpoint_init", "callee": "lower", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L26"}, {"caller_nid": "endpoints_httpendpoint_dispatch", "callee": "Request", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L33"}, {"caller_nid": "endpoints_httpendpoint_dispatch", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L34"}, {"caller_nid": "endpoints_httpendpoint_dispatch", "callee": "lower", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L34"}, {"caller_nid": "endpoints_httpendpoint_dispatch", "callee": "getattr", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L36"}, {"caller_nid": "endpoints_httpendpoint_dispatch", "callee": "is_async_callable", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L37"}, {"caller_nid": "endpoints_httpendpoint_dispatch", "callee": "handler", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L39"}, {"caller_nid": "endpoints_httpendpoint_dispatch", "callee": "run_in_threadpool", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L41"}, {"caller_nid": "endpoints_httpendpoint_dispatch", "callee": "response", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L42"}, {"caller_nid": "endpoints_httpendpoint_method_not_allowed", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L48"}, {"caller_nid": "endpoints_httpendpoint_method_not_allowed", "callee": "HTTPException", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L50"}, {"caller_nid": "endpoints_httpendpoint_method_not_allowed", "callee": "PlainTextResponse", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L51"}, {"caller_nid": "endpoints_websocketendpoint_dispatch", "callee": "WebSocket", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L67"}, {"caller_nid": "endpoints_websocketendpoint_dispatch", "callee": "receive", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L74"}, {"caller_nid": "endpoints_websocketendpoint_dispatch", "callee": "int", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L79"}, {"caller_nid": "endpoints_websocketendpoint_dispatch", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L79"}, {"caller_nid": "endpoints_websocketendpoint_decode", "callee": "close", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L90"}, {"caller_nid": "endpoints_websocketendpoint_decode", "callee": "RuntimeError", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L91"}, {"caller_nid": "endpoints_websocketendpoint_decode", "callee": "close", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L96"}, {"caller_nid": "endpoints_websocketendpoint_decode", "callee": "RuntimeError", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L97"}, {"caller_nid": "endpoints_websocketendpoint_decode", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L101"}, {"caller_nid": "endpoints_websocketendpoint_decode", "callee": "loads", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L107"}, {"caller_nid": "endpoints_websocketendpoint_decode", "callee": "close", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L109"}, {"caller_nid": "endpoints_websocketendpoint_decode", "callee": "RuntimeError", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L110"}, {"caller_nid": "endpoints_websocketendpoint_decode", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L113"}, {"caller_nid": "endpoints_websocketendpoint_on_connect", "callee": "accept", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/endpoints.py", "source_location": "L117"}]} |