DatabricksReposUpdateOperator

Databricks

Updates specified repository to a given branch or tag using PATCH api/2.0/repos API endpoint.

View on GitHub

Last Updated: Nov. 14, 2022

Access Instructions

Install the Databricks provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

branchoptional name of branch to update to. Should be specified if tag is omitted
tagoptional name of tag to update to. Should be specified if branch is omitted
repo_idoptional ID of existing repository. Should be specified if repo_path is omitted
repo_pathoptional path of existing repository. Should be specified if repo_id is omitted
databricks_conn_idReference to the Databricks connection. By default and in the common case this will be databricks_default. To use token based authentication, provide the key token in the extra field for the connection and create the key host and leave the host field empty. (templated)
databricks_retry_limitAmount of times retry if the Databricks backend is unreachable. Its value must be greater than or equal to 1.
databricks_retry_delayNumber of seconds to wait between retries (it might be a floating point number).

Documentation

Updates specified repository to a given branch or tag using PATCH api/2.0/repos API endpoint.

Was this page helpful?