SUAD_Park / src /cloud_storage /base_storage.py
leo-bourrel's picture
feat: add GCS
8630bef
raw
history blame contribute delete
383 Bytes
class BaseStorage:
def __init__(self):
self.client = None
def upload_file_from_content(
self, bucket_name: str, bucket_file_path: str, file_content: str
) -> str:
raise NotImplementedError
def upload_file_from_path(
self, bucket_name: str, bucket_file_path: str, source_file_path: str
) -> str:
raise NotImplementedError