Files
mcma-backend/graphify-out/cache/ast/v0.9.12/230db5fa79cb43f295a03ccdf6d080accf60a7d0a8001968665c11e4943c0e0f.json
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
19 KiB
JSON

{"nodes": [{"id": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "label": "upload_service.py", "file_type": "code", "source_file": "app/application/upload_service.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadfileprotocol", "label": "UploadFileProtocol", "file_type": "code", "source_file": "app/application/upload_service.py", "source_location": "L21", "_callable": true}, {"id": "protocol", "label": "Protocol", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/application/upload_service.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadfileprotocol_read", "label": ".read()", "file_type": "code", "source_file": "app/application/upload_service.py", "source_location": "L24", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadresult", "label": "UploadResult", "file_type": "code", "source_file": "app/application/upload_service.py", "source_location": "L28", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_stream_to_temp", "label": "_stream_to_temp()", "file_type": "code", "source_file": "app/application/upload_service.py", "source_location": "L34", "_callable": true}, {"id": "path", "label": "Path", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/application/upload_service.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice", "label": "UploadService", "file_type": "code", "source_file": "app/application/upload_service.py", "source_location": "L48", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_init", "label": ".__init__()", "file_type": "code", "source_file": "app/application/upload_service.py", "source_location": "L49", "_callable": true}, {"id": "trackrepository", "label": "TrackRepository", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/application/upload_service.py"}, {"id": "artistrepository", "label": "ArtistRepository", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/application/upload_service.py"}, {"id": "filestorage", "label": "FileStorage", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/application/upload_service.py"}, {"id": "enrichenqueuer", "label": "EnrichEnqueuer", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/application/upload_service.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "label": ".handle_upload()", "file_type": "code", "source_file": "app/application/upload_service.py", "source_location": "L63", "_callable": true}, {"id": "user", "label": "User", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/application/upload_service.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_rationale_1", "label": "UploadService \u2014 handles user file uploads.", "file_type": "rationale", "source_file": "app/application/upload_service.py", "source_location": "L1"}], "edges": [{"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "target": "contextlib", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L3", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "target": "hashlib", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L4", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "target": "os", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L5", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "target": "tempfile", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L6", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "target": "uuid", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L7", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "target": "collections_abc", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L8", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "target": "dataclasses", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L9", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "target": "pathlib", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L10", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L11", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "target": "anyio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L13", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "target": "app_domain_entities_user", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L15", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "target": "app_domain_ports", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L16", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadfileprotocol", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L21", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadfileprotocol", "target": "protocol", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L21", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadfileprotocol", "target": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadfileprotocol_read", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L24", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadresult", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L28", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_stream_to_temp", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L34", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_stream_to_temp", "target": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadfileprotocol", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L34", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_stream_to_temp", "target": "path", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L34", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L48", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice", "target": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L49", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_init", "target": "trackrepository", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L49", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_init", "target": "artistrepository", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L49", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_init", "target": "filestorage", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L49", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_init", "target": "path", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L49", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_init", "target": "enrichenqueuer", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L49", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice", "target": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L63", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "target": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadfileprotocol", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L63", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "target": "user", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L63", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "target": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadresult", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L63", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_stream_to_temp", "target": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadfileprotocol_read", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L39", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "target": "path", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L70", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "target": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_stream_to_temp", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L80", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "target": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadresult", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L84", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_rationale_1", "target": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/application/upload_service.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_stream_to_temp", "callee": "sha256", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L35", "receiver": "hashlib"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_stream_to_temp", "callee": "open_file", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L37", "receiver": "anyio"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_stream_to_temp", "callee": "update", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L42", "receiver": "h"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_stream_to_temp", "callee": "write", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L43", "receiver": "out"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_stream_to_temp", "callee": "hexdigest", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L45", "receiver": "h"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "callee": "lstrip", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L70", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "callee": "lower", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L70", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "callee": "mkstemp", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L73", "receiver": "tempfile"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "callee": "close", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L79", "receiver": "os"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "callee": "get_by_source", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L82", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "callee": "uuid4", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L90", "receiver": "uuid"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "callee": "save_file", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L93", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "callee": "get_or_create", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L95", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "callee": "add", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L96", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "callee": "suppress", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L109", "receiver": "contextlib"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "callee": "Exception", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/application/upload_service.py", "source_location": "L109"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "callee": "delete", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L110", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "callee": "_enqueue_enrich", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L114", "receiver": "self"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_application_upload_service_uploadservice_handle_upload", "callee": "unlink", "is_member_call": true, "source_file": "app/application/upload_service.py", "source_location": "L122", "receiver": null}]}