Airflow Summit 2025 is coming October 07-09. Register now for early bird ticket!

airflow.providers.yandex.hooks.yandex

Classes

YandexCloudBaseHook

A base hook for Yandex.Cloud related tasks.

Module Contents

class airflow.providers.yandex.hooks.yandex.YandexCloudBaseHook(yandex_conn_id=None, default_folder_id=None, default_public_ssh_key=None, default_service_account_id=None)[source]

Bases: airflow.hooks.base.BaseHook

A base hook for Yandex.Cloud related tasks.

Parameters:
  • yandex_conn_id (str | None) – The connection ID to use when fetching connection info

  • default_folder_id (str | None) – The folder ID to use instead of connection folder ID

  • default_public_ssh_key (str | None) – The key to use instead of connection key

  • default_service_account_id (str | None) – The service account ID to use instead of key service account ID

conn_name_attr = 'yandex_conn_id'[source]
default_conn_name = 'yandexcloud_default'[source]
conn_type = 'yandexcloud'[source]
hook_name = 'Yandex Cloud'[source]
classmethod get_connection_form_widgets()[source]

Return connection widgets to add to Yandex connection form.

classmethod get_ui_field_behaviour()[source]

Return custom UI field behaviour for Yandex connection.

connection_id = 'yandexcloud_default'[source]
connection[source]
extras[source]
credentials: airflow.providers.yandex.utils.credentials.CredentialsType[source]
sdk[source]
default_folder_id[source]
default_public_ssh_key = None[source]
default_service_account_id[source]
client[source]

Was this entry helpful?