Files
mcma-backend/graphify-out/cache/ast/v0.9.12/362d4a5c041c414d7a982683883141240284771b576e960b0f76d74570a82eb2.json
T
Senko-san fb5ce3c708
Docker Build & Publish / build (push) Successful in 1m11s
Docker Build & Publish / push (push) Failing after 7s
Docker Build & Publish / Prune old image versions (push) Has been skipped
chore: graphify!
2026-07-11 16:21:34 +03:00

1 line
17 KiB
JSON

{"nodes": [{"id": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_py", "label": "envelope.py", "file_type": "code", "source_file": "app/api/rest/envelope.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_is_json", "label": "_is_json()", "file_type": "code", "source_file": "app/api/rest/envelope.py", "source_location": "L35", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_scalar", "label": "_scalar()", "file_type": "code", "source_file": "app/api/rest/envelope.py", "source_location": "L39", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_build_xml", "label": "_build_xml()", "file_type": "code", "source_file": "app/api/rest/envelope.py", "source_location": "L45", "_callable": true}, {"id": "element", "label": "Element", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/rest/envelope.py"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/rest/envelope.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_strip_none", "label": "_strip_none()", "file_type": "code", "source_file": "app/api/rest/envelope.py", "source_location": "L60", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "label": "_render()", "file_type": "code", "source_file": "app/api/rest/envelope.py", "source_location": "L69", "_callable": true}, {"id": "response", "label": "Response", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/rest/envelope.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_subsonic_response", "label": "subsonic_response()", "file_type": "code", "source_file": "app/api/rest/envelope.py", "source_location": "L89", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_subsonic_error", "label": "subsonic_error()", "file_type": "code", "source_file": "app/api/rest/envelope.py", "source_location": "L99", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_rationale_1", "label": "The Subsonic response envelope \u2014 one serializer, two wire formats. Every Subson", "file_type": "rationale", "source_file": "app/api/rest/envelope.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_rationale_61", "label": "Recursively drop ``None`` values so JSON output matches XML (no empty attrs).", "file_type": "rationale", "source_file": "app/api/rest/envelope.py", "source_location": "L61"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_rationale_92", "label": "A successful ``status=\"ok\"`` envelope wrapping ``payload``.", "file_type": "rationale", "source_file": "app/api/rest/envelope.py", "source_location": "L92"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_rationale_100", "label": "A ``status=\"failed\"`` envelope carrying a Subsonic ``<error>``.", "file_type": "rationale", "source_file": "app/api/rest/envelope.py", "source_location": "L100"}], "edges": [{"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_py", "target": "json", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L19", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_py", "target": "collections_abc", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L20", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L21", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_py", "target": "xml_etree", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L22", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L24", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_is_json", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L35", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_scalar", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L39", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_build_xml", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L45", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_build_xml", "target": "element", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L45", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_build_xml", "target": "any", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L45", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_strip_none", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L60", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_strip_none", "target": "any", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L60", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_strip_none", "target": "any", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L60", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L69", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "target": "any", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L69", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "target": "response", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L69", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_subsonic_response", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L89", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_subsonic_response", "target": "any", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L89", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_subsonic_response", "target": "response", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L89", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_subsonic_error", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L99", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_subsonic_error", "target": "response", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L99", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_build_xml", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_scalar", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L50", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_is_json", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L79", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_strip_none", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L80", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_build_xml", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L84", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_subsonic_response", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L96", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_subsonic_error", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L102", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_rationale_1", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L1", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_rationale_61", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_strip_none", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L61", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_rationale_92", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_subsonic_response", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L92", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_rationale_100", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_subsonic_error", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/api/rest/envelope.py", "source_location": "L100", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_scalar", "callee": "bool", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/api/rest/envelope.py", "source_location": "L40"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_build_xml", "callee": "items", "is_member_call": true, "source_file": "app/api/rest/envelope.py", "source_location": "L46", "receiver": "data"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_build_xml", "callee": "Mapping", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/api/rest/envelope.py", "source_location": "L51"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_build_xml", "callee": "SubElement", "is_member_call": true, "source_file": "app/api/rest/envelope.py", "source_location": "L52", "receiver": "ET"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_build_xml", "callee": "list", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/api/rest/envelope.py", "source_location": "L53"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_build_xml", "callee": "SubElement", "is_member_call": true, "source_file": "app/api/rest/envelope.py", "source_location": "L55", "receiver": "ET"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_strip_none", "callee": "Mapping", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/api/rest/envelope.py", "source_location": "L62"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_strip_none", "callee": "items", "is_member_call": true, "source_file": "app/api/rest/envelope.py", "source_location": "L63", "receiver": "value"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_strip_none", "callee": "list", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/api/rest/envelope.py", "source_location": "L64"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "callee": "SUBSONIC_API_VERSION", "is_member_call": false, "indirect": true, "context": "collection", "source_file": "app/api/rest/envelope.py", "source_location": "L72"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "callee": "SERVER_TYPE", "is_member_call": false, "indirect": true, "context": "collection", "source_file": "app/api/rest/envelope.py", "source_location": "L73"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "callee": "SERVER_VERSION", "is_member_call": false, "indirect": true, "context": "collection", "source_file": "app/api/rest/envelope.py", "source_location": "L74"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "callee": "items", "is_member_call": true, "source_file": "app/api/rest/envelope.py", "source_location": "L76", "receiver": "body"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "callee": "dumps", "is_member_call": true, "source_file": "app/api/rest/envelope.py", "source_location": "L80", "receiver": "json"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "callee": "_JSON_MEDIA_TYPE", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/api/rest/envelope.py", "source_location": "L81"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "callee": "Element", "is_member_call": true, "source_file": "app/api/rest/envelope.py", "source_location": "L83", "receiver": "ET"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "callee": "_XML_NS", "is_member_call": false, "indirect": true, "context": "collection", "source_file": "app/api/rest/envelope.py", "source_location": "L83"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "callee": "tostring", "is_member_call": true, "source_file": "app/api/rest/envelope.py", "source_location": "L85", "receiver": "ET"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_render", "callee": "_XML_MEDIA_TYPE", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/api/rest/envelope.py", "source_location": "L86"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_rest_envelope_subsonic_response", "callee": "update", "is_member_call": true, "source_file": "app/api/rest/envelope.py", "source_location": "L95", "receiver": "body"}]}