| :py:mod:`airflow.providers.yandex.hooks.yandex` |
| =============================================== |
| |
| .. py:module:: airflow.providers.yandex.hooks.yandex |
| |
| |
| Module Contents |
| --------------- |
| |
| Classes |
| ~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| airflow.providers.yandex.hooks.yandex.YandexCloudBaseHook |
| |
| |
| |
| |
| .. py:class:: YandexCloudBaseHook(connection_id = None, yandex_conn_id = None, default_folder_id = None, default_public_ssh_key = None) |
| |
| Bases: :py:obj:`airflow.hooks.base.BaseHook` |
| |
| A base hook for Yandex.Cloud related tasks. |
| |
| :param yandex_conn_id: The connection ID to use when fetching connection info. |
| |
| .. py:attribute:: conn_name_attr |
| :annotation: = yandex_conn_id |
| |
| |
| |
| .. py:attribute:: default_conn_name |
| :annotation: = yandexcloud_default |
| |
| |
| |
| .. py:attribute:: conn_type |
| :annotation: = yandexcloud |
| |
| |
| |
| .. py:attribute:: hook_name |
| :annotation: = Yandex Cloud |
| |
| |
| |
| .. py:method:: get_connection_form_widgets() |
| :staticmethod: |
| |
| Returns connection widgets to add to connection form |
| |
| |
| .. py:method:: provider_user_agent(cls) |
| :classmethod: |
| |
| Construct User-Agent from Airflow core & provider package versions |
| |
| |
| .. py:method:: get_ui_field_behaviour() |
| :staticmethod: |
| |
| Returns custom field behaviour |
| |
| |
| |