1 line
16 KiB
JSON
1 line
16 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_starlette_schemas_py", "label": "schemas.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L1"}, {"id": "schemas_openapiresponse", "label": "OpenAPIResponse", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L18"}, {"id": "response", "label": "Response", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "schemas_openapiresponse_render", "label": ".render()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L21"}, {"id": "schemas_endpointinfo", "label": "EndpointInfo", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L27"}, {"id": "namedtuple", "label": "NamedTuple", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "schemas_baseschemagenerator", "label": "BaseSchemaGenerator", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L36"}, {"id": "schemas_baseschemagenerator_get_schema", "label": ".get_schema()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L37"}, {"id": "schemas_baseschemagenerator_get_endpoints", "label": ".get_endpoints()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L40"}, {"id": "schemas_baseschemagenerator_remove_converter", "label": "._remove_converter()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L89"}, {"id": "schemas_baseschemagenerator_parse_docstring", "label": ".parse_docstring()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L98"}, {"id": "schemas_baseschemagenerator_openapiresponse", "label": ".OpenAPIResponse()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L122"}, {"id": "schemas_schemagenerator", "label": "SchemaGenerator", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L128"}, {"id": "schemas_schemagenerator_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L129"}, {"id": "schemas_schemagenerator_get_schema", "label": ".get_schema()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L132"}, {"id": "schemas_rationale_41", "label": "Given the routes, yields the following information: - path", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L41"}, {"id": "schemas_rationale_90", "label": "Remove the converter from the path. For example, a route like this:", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L90"}, {"id": "schemas_rationale_99", "label": "Given a function, parse the docstring as YAML and return a dictionary of info.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L99"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_starlette_schemas_py", "target": "inspect", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_schemas_py", "target": "re", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_schemas_py", "target": "collections_abc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_schemas_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_schemas_py", "target": "starlette_requests", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_schemas_py", "target": "starlette_responses", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_schemas_py", "target": "starlette_routing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_schemas_py", "target": "yaml", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_schemas_py", "target": "schemas_openapiresponse", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L18", "weight": 1.0}, {"source": "schemas_openapiresponse", "target": "response", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L18", "weight": 1.0}, {"source": "schemas_openapiresponse", "target": "schemas_openapiresponse_render", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L21", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_schemas_py", "target": "schemas_endpointinfo", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L27", "weight": 1.0}, {"source": "schemas_endpointinfo", "target": "namedtuple", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L27", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_schemas_py", "target": "schemas_baseschemagenerator", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L36", "weight": 1.0}, {"source": "schemas_baseschemagenerator", "target": "schemas_baseschemagenerator_get_schema", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L37", "weight": 1.0}, {"source": "schemas_baseschemagenerator", "target": "schemas_baseschemagenerator_get_endpoints", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L40", "weight": 1.0}, {"source": "schemas_baseschemagenerator", "target": "schemas_baseschemagenerator_remove_converter", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L89", "weight": 1.0}, {"source": "schemas_baseschemagenerator", "target": "schemas_baseschemagenerator_parse_docstring", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L98", "weight": 1.0}, {"source": "schemas_baseschemagenerator", "target": "schemas_baseschemagenerator_openapiresponse", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L122", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_starlette_schemas_py", "target": "schemas_schemagenerator", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L128", "weight": 1.0}, {"source": "schemas_schemagenerator", "target": "schemas_baseschemagenerator", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L128", "weight": 1.0}, {"source": "schemas_schemagenerator", "target": "schemas_schemagenerator_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L129", "weight": 1.0}, {"source": "schemas_schemagenerator", "target": "schemas_schemagenerator_get_schema", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L132", "weight": 1.0}, {"source": "schemas_baseschemagenerator_get_endpoints", "target": "schemas_baseschemagenerator_remove_converter", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L57", "weight": 1.0}, {"source": "schemas_baseschemagenerator_get_endpoints", "target": "schemas_endpointinfo", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L61", "weight": 1.0}, {"source": "schemas_baseschemagenerator_openapiresponse", "target": "schemas_schemagenerator_get_schema", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L124", "weight": 1.0}, {"source": "schemas_schemagenerator_get_schema", "target": "schemas_baseschemagenerator_get_endpoints", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L135", "weight": 1.0}, {"source": "schemas_schemagenerator_get_schema", "target": "schemas_baseschemagenerator_parse_docstring", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L138", "weight": 1.0}, {"source": "schemas_rationale_41", "target": "schemas_baseschemagenerator_get_endpoints", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L41", "weight": 1.0}, {"source": "schemas_rationale_90", "target": "schemas_baseschemagenerator_remove_converter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L90", "weight": 1.0}, {"source": "schemas_rationale_99", "target": "schemas_baseschemagenerator_parse_docstring", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L99", "weight": 1.0}], "raw_calls": [{"caller_nid": "schemas_openapiresponse_render", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L23"}, {"caller_nid": "schemas_openapiresponse_render", "callee": "encode", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L24"}, {"caller_nid": "schemas_openapiresponse_render", "callee": "dump", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L24"}, {"caller_nid": "schemas_baseschemagenerator_get_schema", "callee": "NotImplementedError", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L38"}, {"caller_nid": "schemas_baseschemagenerator_get_endpoints", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L54"}, {"caller_nid": "schemas_baseschemagenerator_get_endpoints", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L56"}, {"caller_nid": "schemas_baseschemagenerator_get_endpoints", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L62"}, {"caller_nid": "schemas_baseschemagenerator_get_endpoints", "callee": "extend", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L68"}, {"caller_nid": "schemas_baseschemagenerator_get_endpoints", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L70"}, {"caller_nid": "schemas_baseschemagenerator_get_endpoints", "callee": "isfunction", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L73"}, {"caller_nid": "schemas_baseschemagenerator_get_endpoints", "callee": "ismethod", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L73"}, {"caller_nid": "schemas_baseschemagenerator_get_endpoints", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L78"}, {"caller_nid": "schemas_baseschemagenerator_get_endpoints", "callee": "lower", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L78"}, {"caller_nid": "schemas_baseschemagenerator_get_endpoints", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L82"}, {"caller_nid": "schemas_baseschemagenerator_get_endpoints", "callee": "getattr", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L84"}, {"caller_nid": "schemas_baseschemagenerator_get_endpoints", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L85"}, {"caller_nid": "schemas_baseschemagenerator_get_endpoints", "callee": "lower", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L85"}, {"caller_nid": "schemas_baseschemagenerator_remove_converter", "callee": "sub", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L96"}, {"caller_nid": "schemas_baseschemagenerator_parse_docstring", "callee": "split", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L111"}, {"caller_nid": "schemas_baseschemagenerator_parse_docstring", "callee": "safe_load", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L113"}, {"caller_nid": "schemas_baseschemagenerator_parse_docstring", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L115"}, {"caller_nid": "schemas_schemagenerator_get_schema", "callee": "dict", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L133"}, {"caller_nid": "schemas_schemagenerator_get_schema", "callee": "setdefault", "source_file": "backend/venv/lib/python3.12/site-packages/starlette/schemas.py", "source_location": "L134"}]} |