Buckets:
| from abc import ABC, abstractmethod | |
| class StorageClient(ABC): | |
| """Abstract base class for storage clients.""" | |
| def is_authenticated(self) -> bool: | |
| pass | |
| def list_buckets(self) -> list[str]: | |
| pass | |
| def upload_object( | |
| self, fileobj, bucket_name: str, object_name: str, rewind: bool = True | |
| ) -> dict: | |
| pass | |
| def generate_presigned_url( | |
| self, bucket_name: str, object_name: str, expiration: int = 3600 | |
| ) -> str: | |
| pass | |
| def delete_object(self, bucket_name: str, object_name: str) -> None: | |
| pass | |
Xet Storage Details
- Size:
- 675 Bytes
- Xet hash:
- dec281d8099ec2752742f328de7b700dafea11a627f0e476389a9a8369552d4b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.