Files
mediaproc/core/storage/__init__.py

15 lines
433 B
Python

from .blob import BUCKET, PREFIX_CHECKPOINTS, PREFIX_IN, PREFIX_OUT, BlobObject, BlobStore, get_store
from .s3 import (
download_file,
download_to_temp,
get_presigned_url,
get_s3_client,
list_objects,
upload_file,
)
# Backward compat — old code uses BUCKET_IN / BUCKET_OUT as full bucket names.
# Now they're one bucket; these exist so existing handlers don't break.
BUCKET_IN = BUCKET
BUCKET_OUT = BUCKET