airflow.providers.yandex.hooks.yandex

Module Contents

class airflow.providers.yandex.hooks.yandex.YandexCloudBaseHook(connection_id: Optional[str] = None, yandex_conn_id: Optional[str] = None, default_folder_id: Union[dict, bool, None] = None, default_public_ssh_key: Optional[str] = None)[source]

Bases: airflow.hooks.base.BaseHook

A base hook for Yandex.Cloud related tasks.

Parameters

connection_id (str) -- The connection ID to use when fetching connection info.

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

Returns connection widgets to add to connection form

static get_ui_field_behaviour()[source]

Returns custom field behaviour

_get_credentials(self)[source]
_get_field(self, field_name: str, default: Any = None)[source]

Fetches a field from extras, and returns it.

Was this entry helpful?