1 line
31 KiB
JSON
1 line
31 KiB
JSON
{"nodes": [{"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_py", "label": "s3.py", "file_type": "code", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_not_found", "label": "_not_found()", "file_type": "code", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L30", "_callable": true}, {"id": "exception", "label": "Exception", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/infrastructure/storage/s3.py"}, {"id": "storageerror", "label": "StorageError", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/infrastructure/storage/s3.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_is_404", "label": "_is_404()", "file_type": "code", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L36", "_callable": true}, {"id": "clienterror", "label": "ClientError", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/infrastructure/storage/s3.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage", "label": "S3FileStorage", "file_type": "code", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L40", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_init", "label": ".__init__()", "file_type": "code", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L41", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_client", "label": "._client()", "file_type": "code", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L58", "_callable": true}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/infrastructure/storage/s3.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_save_file", "label": ".save_file()", "file_type": "code", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L61", "_callable": true}, {"id": "path", "label": "Path", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/infrastructure/storage/s3.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_open_range", "label": ".open_range()", "file_type": "code", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L68", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "label": ".stat()", "file_type": "code", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L99", "_callable": true}, {"id": "objectstat", "label": "ObjectStat", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/infrastructure/storage/s3.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_exists", "label": ".exists()", "file_type": "code", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L113", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_delete", "label": ".delete()", "file_type": "code", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L123", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_disk_usage", "label": ".disk_usage()", "file_type": "code", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L130", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path", "label": ".as_local_path()", "file_type": "code", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L134", "_callable": true}, {"id": "abstractasynccontextmanager", "label": "AbstractAsyncContextManager", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/infrastructure/storage/s3.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "label": "._as_local_path_cm()", "file_type": "code", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L138", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_rationale_1", "label": "S3FileStorage \u2014 stores files in any S3-compatible object store.", "file_type": "rationale", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L1"}], "edges": [{"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_py", "target": "tempfile", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L3", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_py", "target": "collections_abc", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L4", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_py", "target": "contextlib", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L5", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_py", "target": "pathlib", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L6", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L7", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_py", "target": "aioboto3", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L9", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_py", "target": "anyio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L10", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_py", "target": "botocore_exceptions", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L11", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_py", "target": "app_domain_entities_storage", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L13", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_py", "target": "app_domain_errors", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L14", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_not_found", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L30", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_not_found", "target": "exception", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L30", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_not_found", "target": "storageerror", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L30", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_is_404", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L36", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_is_404", "target": "clienterror", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L36", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L40", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L41", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_client", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L58", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_client", "target": "any", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L58", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_save_file", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L61", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_save_file", "target": "path", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L61", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_open_range", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L68", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L99", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "target": "objectstat", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L99", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_exists", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L113", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_delete", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L123", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_disk_usage", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L130", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L134", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path", "target": "abstractasynccontextmanager", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L134", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path", "target": "path", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L134", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L138", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "target": "path", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L138", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_not_found", "target": "storageerror", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L31", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_save_file", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_client", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L64", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_open_range", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_client", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L71", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_open_range", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_is_404", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L75", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_open_range", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_not_found", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L76", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_open_range", "target": "storageerror", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L77", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_client", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L100", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_is_404", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L104", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_not_found", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L105", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "target": "storageerror", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L106", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "target": "path", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L107", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "target": "objectstat", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L108", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_exists", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_client", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L114", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_exists", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_is_404", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L119", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_exists", "target": "storageerror", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L121", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_delete", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_client", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L124", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_delete", "target": "storageerror", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L128", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L135", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "target": "path", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L139", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_client", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L143", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_is_404", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L147", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_not_found", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L148", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "target": "storageerror", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L149", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_rationale_1", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_init", "callee": "Session", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L52", "receiver": "aioboto3"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_client", "callee": "client", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L59", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_save_file", "callee": "open_file", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L62", "receiver": "anyio"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_save_file", "callee": "read", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L63", "receiver": "f"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_save_file", "callee": "put_object", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L65", "receiver": "s3"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_open_range", "callee": "head_object", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L73", "receiver": "s3"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_open_range", "callee": "exc", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L75"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_open_range", "callee": "exc", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L76"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_open_range", "callee": "exc", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L77"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_open_range", "callee": "_stream", "is_member_call": false, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L97", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "callee": "head_object", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L102", "receiver": "s3"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "callee": "exc", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L104"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "callee": "exc", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L105"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "callee": "exc", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L106"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "callee": "lstrip", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L107", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "callee": "lower", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L107", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "callee": "get", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L110", "receiver": "head"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_stat", "callee": "get", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L110", "receiver": "_EXT_CONTENT_TYPE"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_exists", "callee": "head_object", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L116", "receiver": "s3"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_exists", "callee": "exc", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L119"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_exists", "callee": "exc", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L121"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_delete", "callee": "delete_object", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L126", "receiver": "s3"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_delete", "callee": "exc", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L128"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "callee": "NamedTemporaryFile", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L140", "receiver": "tempfile"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "callee": "get_object", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L145", "receiver": "s3"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "callee": "exc", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L147"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "callee": "exc", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L148"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "callee": "exc", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/infrastructure/storage/s3.py", "source_location": "L149"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "callee": "open_file", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L150", "receiver": "anyio"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "callee": "read", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L153", "receiver": "body"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "callee": "write", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L156", "receiver": "out"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_storage_s3_s3filestorage_as_local_path_cm", "callee": "unlink", "is_member_call": true, "source_file": "app/infrastructure/storage/s3.py", "source_location": "L159", "receiver": null}]} |