Module markov.api.connectors.connector
Classes
class S3StorageConnector (credentials: GenericCredential)
-
Implements StorageConnectorContract for S3Storage
S3 storage credentials.
Args
credentials
:Credentials
- S3 storage credentials
Ancestors
- StorageConnector
- abc.ABC
Static methods
def create_storage_path(**kwargs) ‑> str
-
S3 bucket
Args
base
- base or bucket name, please make sure Markov has access to this bucket
args
- path segment relative to the bucket
Returns
stored paths
Methods
def download(self, s3_path: str)
def path_exists(self, path: str) ‑> bool
-
Check if this path exists on S3.
Args
path
:str
- valid path on S3.
Returns
True if it exists, False otherwise.
Inherited members