refactor storage minio for k8s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user