class AzureBlobStorage(BaseObjectStorage):
def __init__(
self,
storage_account_name: str,
container_name: str,
create_if_not_exists: bool = True,
access_key: Optional[str] = None
):
def _prepare_and_check(self):
def canonicalize_path(file_path: PurePath):
def _put_file(self, file_key: str, file: File):
def _get_file(self, file_key: str, filename: str):
def _upload_file(self, local_file_path: Path, remote_file_key: str):
def _download_file(self, local_file_path: Path, remote_file_key: str):
def _object_exists(self, file_key: str):