1 line
8.4 KiB
JSON
1 line
8.4 KiB
JSON
{"nodes": [{"id": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_py", "label": "import_task.py", "file_type": "code", "source_file": "app/workers/tasks/import_task.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "label": "scan_local_folder()", "file_type": "code", "source_file": "app/workers/tasks/import_task.py", "source_location": "L26", "_callable": true}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/workers/tasks/import_task.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_rationale_1", "label": "arq task: scan an indexable source and import its files into the library. Heavy", "file_type": "rationale", "source_file": "app/workers/tasks/import_task.py", "source_location": "L1"}], "edges": [{"source": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_py", "target": "uuid", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/workers/tasks/import_task.py", "source_location": "L8", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/workers/tasks/import_task.py", "source_location": "L9", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_py", "target": "app_application_import_service", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/workers/tasks/import_task.py", "source_location": "L11", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_py", "target": "app_core_config", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/workers/tasks/import_task.py", "source_location": "L12", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_py", "target": "app_core_logging", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/workers/tasks/import_task.py", "source_location": "L13", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_py", "target": "app_infrastructure_db", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/workers/tasks/import_task.py", "source_location": "L14", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_py", "target": "app_infrastructure_db_repositories", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/workers/tasks/import_task.py", "source_location": "L15", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_py", "target": "app_infrastructure_sources_registry", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/workers/tasks/import_task.py", "source_location": "L19", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_py", "target": "app_infrastructure_storage_provider", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/workers/tasks/import_task.py", "source_location": "L20", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_py", "target": "app_workers_queue", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/workers/tasks/import_task.py", "source_location": "L21", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/workers/tasks/import_task.py", "source_location": "L26", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "target": "any", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "app/workers/tasks/import_task.py", "source_location": "L26", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "target": "any", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "app/workers/tasks/import_task.py", "source_location": "L26", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_rationale_1", "target": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/workers/tasks/import_task.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "callee": "build_source_registry", "is_member_call": false, "source_file": "app/workers/tasks/import_task.py", "source_location": "L29", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "callee": "get_settings", "is_member_call": false, "source_file": "app/workers/tasks/import_task.py", "source_location": "L29", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "callee": "indexable", "is_member_call": true, "source_file": "app/workers/tasks/import_task.py", "source_location": "L30", "receiver": "registry"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "callee": "UUID", "is_member_call": true, "source_file": "app/workers/tasks/import_task.py", "source_location": "L31", "receiver": "uuid"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "callee": "session_scope", "is_member_call": false, "source_file": "app/workers/tasks/import_task.py", "source_location": "L33", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "callee": "LibraryImportService", "is_member_call": false, "source_file": "app/workers/tasks/import_task.py", "source_location": "L34", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "callee": "SqlAlchemyTrackRepository", "is_member_call": false, "source_file": "app/workers/tasks/import_task.py", "source_location": "L35", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "callee": "session", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/workers/tasks/import_task.py", "source_location": "L35"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "callee": "SqlAlchemyArtistRepository", "is_member_call": false, "source_file": "app/workers/tasks/import_task.py", "source_location": "L36", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "callee": "session", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/workers/tasks/import_task.py", "source_location": "L36"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "callee": "get_file_storage", "is_member_call": false, "source_file": "app/workers/tasks/import_task.py", "source_location": "L37", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "callee": "scan_and_import", "is_member_call": true, "source_file": "app/workers/tasks/import_task.py", "source_location": "L39", "receiver": "service"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_workers_tasks_import_task_scan_local_folder", "callee": "enqueue_enrich", "is_member_call": false, "source_file": "app/workers/tasks/import_task.py", "source_location": "L44", "receiver": null}]} |