diff --git a/pyinfra/storage/minio.py b/pyinfra/storage/minio.py index d331617..b77eae4 100644 --- a/pyinfra/storage/minio.py +++ b/pyinfra/storage/minio.py @@ -34,18 +34,13 @@ def get_minio_client(access_key=None, secret_key=None, backend=None) -> Minio: endpoint = f"{CONFIG.s3.minio.host}:{CONFIG.s3.minio.port}" secure = False - return Minio( - endpoint=endpoint, - access_key=access_key, - secret_key=secret_key, - secure=secure - ) + return Minio(endpoint=endpoint, access_key=access_key, secret_key=secret_key, secure=secure) class MinioHandle(StorageHandle): """Wrapper around a MinIO client that provides operations on the MinIO store required by the service.""" - def __init__(self, backend = None): + def __init__(self, backend=None): """Initializes a MinioHandle""" super().__init__() self.client: Minio = get_minio_client(backend=backend)