1 line
14 KiB
JSON
1 line
14 KiB
JSON
{"nodes": [{"id": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_py", "label": "downloads.py", "file_type": "code", "source_file": "app/api/v1/downloads.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_list_downloads", "label": "list_downloads()", "file_type": "code", "source_file": "app/api/v1/downloads.py", "source_location": "L16", "_callable": true}, {"id": "downloadservicedep", "label": "DownloadServiceDep", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/v1/downloads.py"}, {"id": "currentuser", "label": "CurrentUser", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/v1/downloads.py"}, {"id": "pagedresponse", "label": "PagedResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/v1/downloads.py"}, {"id": "downloadjobout", "label": "DownloadJobOut", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/v1/downloads.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_create_download", "label": "create_download()", "file_type": "code", "source_file": "app/api/v1/downloads.py", "source_location": "L39", "_callable": true}, {"id": "downloadcreate", "label": "DownloadCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/v1/downloads.py"}, {"id": "downloadcreateresponse", "label": "DownloadCreateResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/v1/downloads.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_get_download", "label": "get_download()", "file_type": "code", "source_file": "app/api/v1/downloads.py", "source_location": "L58", "_callable": true}, {"id": "uuid", "label": "UUID", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/v1/downloads.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_cancel_download", "label": "cancel_download()", "file_type": "code", "source_file": "app/api/v1/downloads.py", "source_location": "L66", "_callable": true}, {"id": "response", "label": "Response", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/v1/downloads.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_retry_download", "label": "retry_download()", "file_type": "code", "source_file": "app/api/v1/downloads.py", "source_location": "L74", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_rationale_1", "label": "Download job endpoints (\u00a7A5). Heavy work is dispatched to arq workers \u2014 these ha", "file_type": "rationale", "source_file": "app/api/v1/downloads.py", "source_location": "L1"}], "edges": [{"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_py", "target": "uuid", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L4", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L6", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_py", "target": "app_api_deps", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L8", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_py", "target": "app_api_schemas_download", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L9", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_py", "target": "app_api_schemas_pagination", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L10", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_list_downloads", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L16", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_list_downloads", "target": "downloadservicedep", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L16", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_list_downloads", "target": "currentuser", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L16", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_list_downloads", "target": "pagedresponse", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L16", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_list_downloads", "target": "downloadjobout", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L16", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_create_download", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L39", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_create_download", "target": "downloadcreate", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L39", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_create_download", "target": "downloadservicedep", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L39", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_create_download", "target": "currentuser", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L39", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_create_download", "target": "downloadcreateresponse", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L39", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_get_download", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L58", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_get_download", "target": "uuid", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L58", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_get_download", "target": "downloadservicedep", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L58", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_get_download", "target": "currentuser", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L58", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_get_download", "target": "downloadjobout", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L58", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_cancel_download", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L66", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_cancel_download", "target": "uuid", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L66", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_cancel_download", "target": "downloadservicedep", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L66", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_cancel_download", "target": "currentuser", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L66", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_cancel_download", "target": "response", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L66", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_retry_download", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L74", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_retry_download", "target": "uuid", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L74", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_retry_download", "target": "downloadservicedep", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L74", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_retry_download", "target": "currentuser", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L74", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_retry_download", "target": "downloadjobout", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L74", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_list_downloads", "target": "pagedresponse", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L30", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_create_download", "target": "downloadcreateresponse", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L50", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_rationale_1", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/api/v1/downloads.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_list_downloads", "callee": "from_entity", "is_member_call": true, "source_file": "app/api/v1/downloads.py", "source_location": "L31", "receiver": "DownloadJobOut"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_create_download", "callee": "request", "is_member_call": true, "source_file": "app/api/v1/downloads.py", "source_location": "L44", "receiver": "service"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_create_download", "callee": "from_entity", "is_member_call": true, "source_file": "app/api/v1/downloads.py", "source_location": "L53", "receiver": "DownloadJobOut"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_get_download", "callee": "get", "is_member_call": true, "source_file": "app/api/v1/downloads.py", "source_location": "L61", "receiver": "service"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_get_download", "callee": "from_entity", "is_member_call": true, "source_file": "app/api/v1/downloads.py", "source_location": "L62", "receiver": "DownloadJobOut"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_cancel_download", "callee": "cancel", "is_member_call": true, "source_file": "app/api/v1/downloads.py", "source_location": "L69", "receiver": "service"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_retry_download", "callee": "retry", "is_member_call": true, "source_file": "app/api/v1/downloads.py", "source_location": "L77", "receiver": "service"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_downloads_retry_download", "callee": "from_entity", "is_member_call": true, "source_file": "app/api/v1/downloads.py", "source_location": "L78", "receiver": "DownloadJobOut"}]} |