astro.files.locations.google.gcs
Module Contents
Classes
Handler GS object store operations |
- class astro.files.locations.google.gcs.GCSLocation(path, conn_id=None)
Bases:
astro.files.locations.base.BaseFileLocation
Handler GS object store operations
- Parameters
path (str) –
conn_id (str | None) –
- location_type
- property hook
- Return type
airflow.providers.google.cloud.hooks.gcs.GCSHook
- property transport_params
get GCS credentials for storage
- Return type
dict
- property paths
Resolve GS file paths with prefix
- Return type
list[str]
- property size
Return the size in bytes of the given file
- Return type
int