class documentation

class S3FilesStore:

View In Hierarchy

Undocumented

Constant AWS​_ACCESS​_KEY​_ID Undocumented
Constant AWS​_ENDPOINT​_URL Undocumented
Constant AWS​_REGION​_NAME Undocumented
Constant AWS​_SECRET​_ACCESS​_KEY Undocumented
Constant AWS​_USE​_SSL Undocumented
Constant AWS​_VERIFY Undocumented
Constant HEADERS Undocumented
Constant POLICY Undocumented
Method __init__ Undocumented
Method ​_get​_boto​_key Undocumented
Method ​_headers​_to​_botocore​_kwargs Convert headers to botocore keyword agruments.
Method persist​_file Upload file to S3 storage
Method stat​_file Undocumented
Instance Variable bucket Undocumented
Instance Variable prefix Undocumented
Instance Variable s3​_client Undocumented
AWS_ACCESS_KEY_ID =

Undocumented

Value
None
AWS_ENDPOINT_URL =

Undocumented

Value
None
AWS_REGION_NAME =

Undocumented

Value
None
AWS_SECRET_ACCESS_KEY =

Undocumented

Value
None
AWS_USE_SSL =

Undocumented

Value
None
AWS_VERIFY =

Undocumented

Value
None
HEADERS: dict[str, str] =

Undocumented

Value
{'Cache-Control': 'max-age=172800'}
POLICY: str =

Undocumented

Value
'private'
def __init__(self, uri):

Undocumented

def _get_boto_key(self, path):

Undocumented

def _headers_to_botocore_kwargs(self, headers):
Convert headers to botocore keyword agruments.
def persist_file(self, path, buf, info, meta=None, headers=None):
Upload file to S3 storage
def stat_file(self, path, info):

Undocumented

bucket =

Undocumented

prefix =

Undocumented

s3_client =

Undocumented