airflow.providers.databricks.operators.databricks_repos
¶
This module contains Databricks operators.
Module Contents¶
Classes¶
Updates specified repository to a given branch or tag using |
- class airflow.providers.databricks.operators.databricks_repos.DatabricksReposUpdateOperator(*, branch=None, tag=None, repo_id=None, repo_path=None, databricks_conn_id='databricks_default', databricks_retry_limit=3, databricks_retry_delay=1, **kwargs)[source]¶
Bases:
airflow.models.BaseOperator
Updates specified repository to a given branch or tag using api/2.0/repos/ API endpoint.
- Parameters
branch (Optional[str]) -- optional name of branch to update to. Should be specified if
tag
is omittedtag (Optional[str]) -- optional name of tag to update to. Should be specified if
branch
is omittedrepo_id (Optional[str]) -- optional ID of existing repository. Should be specified if
repo_path
is omittedrepo_path (Optional[str]) -- optional path of existing repository. Should be specified if
repo_id
is omitteddatabricks_conn_id (str) -- Reference to the Databricks connection. By default and in the common case this will be
databricks_default
. To use token based authentication, provide the keytoken
in the extra field for the connection and create the keyhost
and leave thehost
field empty.databricks_retry_limit (int) -- Amount of times retry if the Databricks backend is unreachable. Its value must be greater than or equal to 1.
databricks_retry_delay (int) -- Number of seconds to wait between retries (it might be a floating point number).