astro.files.locations.amazon.s3
Module Contents
Classes
Handler S3 object store operations |
- class astro.files.locations.amazon.s3.S3Location(path, conn_id=None)
Bases:
astro.files.locations.base.BaseFileLocation
Handler S3 object store operations
- Parameters
path (str) –
conn_id (str | None) –
- location_type
- property hook
- Return type
airflow.providers.amazon.aws.hooks.s3.S3Hook
- property transport_params
Structure s3fs credentials from Airflow connection. s3fs enables pandas to write to s3
- Return type
dict
- property paths
Resolve S3 file paths with prefix
- Return type
list[str]
- property size
Return the size in bytes of the given file
- Return type
int