used black for my purposes
This commit is contained in:
parent
62a395f178
commit
9e9a8edfe9
@ -34,12 +34,7 @@ def get_minio_client(access_key=None, secret_key=None, backend=None) -> Minio:
|
|||||||
endpoint = f"{CONFIG.s3.minio.host}:{CONFIG.s3.minio.port}"
|
endpoint = f"{CONFIG.s3.minio.host}:{CONFIG.s3.minio.port}"
|
||||||
secure = False
|
secure = False
|
||||||
|
|
||||||
return Minio(
|
return Minio(endpoint=endpoint, access_key=access_key, secret_key=secret_key, secure=secure)
|
||||||
endpoint=endpoint,
|
|
||||||
access_key=access_key,
|
|
||||||
secret_key=secret_key,
|
|
||||||
secure=secure
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class MinioHandle(StorageHandle):
|
class MinioHandle(StorageHandle):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user