1 line
12 KiB
JSON
1 line
12 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_starlette_templating_py", "label": "templating.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L1"}, {"id": "templating_templateresponse", "label": "_TemplateResponse", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L31"}, {"id": "htmlresponse", "label": "HTMLResponse", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "templating_templateresponse_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L32"}, {"id": "templating_templateresponse_call", "label": ".__call__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L46"}, {"id": "templating_jinja2templates", "label": "Jinja2Templates", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L54"}, {"id": "templating_init", "label": "__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L69"}, {"id": "templating_jinja2templates_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L84"}, {"id": "templating_jinja2templates_setup_env_defaults", "label": "._setup_env_defaults()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L101"}, {"id": "templating_jinja2templates_get_template", "label": ".get_template()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L114"}, {"id": "templating_jinja2templates_templateresponse", "label": ".TemplateResponse()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L117"}, {"id": "templating_rationale_55", "label": "Jinja2 template renderer. Example: ```python from starlette", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L55"}, {"id": "templating_rationale_127", "label": "Render a template and return an HTML response. Args: reques", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L127"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_starlette_templating_py", "target": "collections_abc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_templating_py", "target": "os", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_templating_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_templating_py", "target": "starlette_background", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_templating_py", "target": "starlette_datastructures", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_templating_py", "target": "starlette_requests", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_templating_py", "target": "starlette_responses", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_templating_py", "target": "starlette_types", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_templating_py", "target": "jinja2", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_templating_py", "target": "templating_templateresponse", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L31", "weight": 1.0}, {"source": "templating_templateresponse", "target": "htmlresponse", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L31", "weight": 1.0}, {"source": "templating_templateresponse", "target": "templating_templateresponse_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L32", "weight": 1.0}, {"source": "templating_templateresponse", "target": "templating_templateresponse_call", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L46", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_templating_py", "target": "templating_jinja2templates", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L54", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_templating_py", "target": "templating_init", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L69", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_templating_py", "target": "templating_init", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L77", "weight": 1.0}, {"source": "templating_jinja2templates", "target": "templating_jinja2templates_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L84", "weight": 1.0}, {"source": "templating_jinja2templates", "target": "templating_jinja2templates_setup_env_defaults", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L101", "weight": 1.0}, {"source": "templating_jinja2templates", "target": "templating_jinja2templates_get_template", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L114", "weight": 1.0}, {"source": "templating_jinja2templates", "target": "templating_jinja2templates_templateresponse", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L117", "weight": 1.0}, {"source": "templating_templateresponse_init", "target": "templating_jinja2templates_init", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L44", "weight": 1.0}, {"source": "templating_jinja2templates_init", "target": "templating_jinja2templates_setup_env_defaults", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L99", "weight": 1.0}, {"source": "templating_jinja2templates_templateresponse", "target": "templating_jinja2templates_get_template", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L148", "weight": 1.0}, {"source": "templating_jinja2templates_templateresponse", "target": "templating_templateresponse", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L149", "weight": 1.0}, {"source": "templating_rationale_55", "target": "templating_jinja2templates", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L55", "weight": 1.0}, {"source": "templating_rationale_127", "target": "templating_jinja2templates_templateresponse", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L127", "weight": 1.0}], "raw_calls": [{"caller_nid": "templating_templateresponse_init", "callee": "render", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L43"}, {"caller_nid": "templating_templateresponse_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L44"}, {"caller_nid": "templating_templateresponse_call", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L47"}, {"caller_nid": "templating_templateresponse_call", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L48"}, {"caller_nid": "templating_templateresponse_call", "callee": "send", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L50"}, {"caller_nid": "templating_templateresponse_call", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L51"}, {"caller_nid": "templating_jinja2templates_init", "callee": "bool", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L91"}, {"caller_nid": "templating_jinja2templates_init", "callee": "bool", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L91"}, {"caller_nid": "templating_jinja2templates_init", "callee": "FileSystemLoader", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L94"}, {"caller_nid": "templating_jinja2templates_init", "callee": "Environment", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L95"}, {"caller_nid": "templating_jinja2templates_init", "callee": "select_autoescape", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L95"}, {"caller_nid": "templating_jinja2templates_setup_env_defaults", "callee": "setdefault", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L112"}, {"caller_nid": "templating_jinja2templates_templateresponse", "callee": "setdefault", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L144"}, {"caller_nid": "templating_jinja2templates_templateresponse", "callee": "update", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L146"}, {"caller_nid": "templating_jinja2templates_templateresponse", "callee": "context_processor", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/templating.py", "source_location": "L146"}]} |