refactor storage minio for k8s

This commit is contained in:
2026-03-26 09:20:23 -03:00
parent e27cb5bcc3
commit c9ba9e4f5f
22 changed files with 961 additions and 18 deletions

View File

@@ -1,6 +1,5 @@
from .blob import BUCKET, PREFIX_CHECKPOINTS, PREFIX_IN, PREFIX_OUT, BlobObject, BlobStore, get_store
from .s3 import (
BUCKET_IN,
BUCKET_OUT,
download_file,
download_to_temp,
get_presigned_url,
@@ -8,3 +7,8 @@ from .s3 import (
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