New methods S3 client

Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
This commit is contained in:
Dmitriy Zayakin 2023-06-19 13:39:35 +03:00
parent 98f5075715
commit c0f63e3783
3 changed files with 26 additions and 6 deletions

View file

@ -34,6 +34,10 @@ class S3ClientWrapper(ABC):
def __init__(self, access_key_id: str, secret_access_key: str, s3gate_endpoint: str) -> None:
pass
@abstractmethod
def set_endpoint(self, s3gate_endpoint: str):
"""Set endpoint"""
@abstractmethod
def create_bucket(
self,