astronomer.providers.google.cloud.hooks.gcs

This module contains a Google Cloud Storage hook.

Attributes

DEFAULT_TIMEOUT

Classes

GCSHookAsync

GCSHookAsync run on the trigger worker, inherits from GoogleBaseHookAsync

Module Contents

astronomer.providers.google.cloud.hooks.gcs.DEFAULT_TIMEOUT = 60
class astronomer.providers.google.cloud.hooks.gcs.GCSHookAsync(**kwargs)[source]

Bases: astronomer.providers.google.common.hooks.base_google.GoogleBaseHookAsync

GCSHookAsync run on the trigger worker, inherits from GoogleBaseHookAsync

This class is deprecated and will be removed in 2.0.0. Use :class: ~airflow.providers.google.cloud.hooks.gcs.GCSAsyncHook instead

sync_hook_class
async get_storage_client(session)[source]

Returns a Google Cloud Storage service object.