File size: 383 Bytes
8630bef
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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