# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
#
# IF YOU WANT TO MODIFY THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
# `get_provider_info_TEMPLATE.py.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
[docs]
def get_provider_info():
return {
"package-name": "apache-airflow-providers-databricks",
"name": "Databricks",
"description": "`Databricks <https://databricks.com/>`__\n",
"integrations": [
{
"integration-name": "Databricks",
"external-doc-url": "https://databricks.com/",
"how-to-guide": [
"/docs/apache-airflow-providers-databricks/operators/jobs_create.rst",
"/docs/apache-airflow-providers-databricks/operators/notebook.rst",
"/docs/apache-airflow-providers-databricks/operators/submit_run.rst",
"/docs/apache-airflow-providers-databricks/operators/run_now.rst",
"/docs/apache-airflow-providers-databricks/operators/task.rst",
"/docs/apache-airflow-providers-databricks/operators/agent.rst",
"/docs/apache-airflow-providers-databricks/operators/genie.rst",
"/docs/apache-airflow-providers-databricks/operators/genie_operator.rst",
],
"logo": "/docs/integration-logos/Databricks.png",
"tags": ["service"],
},
{
"integration-name": "Databricks SQL",
"external-doc-url": "https://databricks.com/product/databricks-sql",
"how-to-guide": [
"/docs/apache-airflow-providers-databricks/operators/sql.rst",
"/docs/apache-airflow-providers-databricks/operators/sql_statements.rst",
"/docs/apache-airflow-providers-databricks/operators/warehouse.rst",
"/docs/apache-airflow-providers-databricks/operators/copy_into.rst",
"/docs/apache-airflow-providers-databricks/operators/delta_table_producer.rst",
],
"tags": ["service"],
},
{
"integration-name": "Databricks Repos",
"external-doc-url": "https://docs.databricks.com/repos/index.html",
"how-to-guide": [
"/docs/apache-airflow-providers-databricks/operators/repos_create.rst",
"/docs/apache-airflow-providers-databricks/operators/repos_update.rst",
"/docs/apache-airflow-providers-databricks/operators/repos_delete.rst",
],
"tags": ["service"],
},
{
"integration-name": "Databricks Workflow",
"external-doc-url": "https://docs.databricks.com/en/workflows/index.html",
"how-to-guide": ["/docs/apache-airflow-providers-databricks/operators/workflow.rst"],
"tags": ["service"],
},
{
"integration-name": "Databricks Unity Gateway",
"external-doc-url": "https://docs.databricks.com/aws/en/unity-gateway/concepts",
"tags": ["service"],
},
],
"operators": [
{
"integration-name": "Databricks",
"python-modules": [
"airflow.providers.databricks.operators.databricks",
"airflow.providers.databricks.operators.agent",
"airflow.providers.databricks.operators.genie",
],
},
{
"integration-name": "Databricks SQL",
"python-modules": [
"airflow.providers.databricks.operators.databricks_sql",
"airflow.providers.databricks.operators.delta_table",
"airflow.providers.databricks.operators.warehouse",
],
},
{
"integration-name": "Databricks Repos",
"python-modules": ["airflow.providers.databricks.operators.databricks_repos"],
},
{
"integration-name": "Databricks Workflow",
"python-modules": ["airflow.providers.databricks.operators.databricks_workflow"],
},
],
"asset-uris": [
{
"schemes": ["databricks"],
"handler": "airflow.providers.databricks.assets.databricks.sanitize_uri",
"factory": "airflow.providers.databricks.assets.databricks.create_asset",
"to_openlineage_converter": "airflow.providers.databricks.assets.databricks.convert_asset_to_openlineage",
}
],
"dataset-uris": [
{
"schemes": ["databricks"],
"handler": "airflow.providers.databricks.assets.databricks.sanitize_uri",
"factory": "airflow.providers.databricks.assets.databricks.create_asset",
"to_openlineage_converter": "airflow.providers.databricks.assets.databricks.convert_asset_to_openlineage",
}
],
"hooks": [
{
"integration-name": "Databricks",
"python-modules": [
"airflow.providers.databricks.hooks.databricks",
"airflow.providers.databricks.hooks.databricks_base",
"airflow.providers.databricks.hooks.agent",
"airflow.providers.databricks.hooks.genie",
"airflow.providers.databricks.hooks.model_serving",
],
},
{
"integration-name": "Databricks SQL",
"python-modules": ["airflow.providers.databricks.hooks.databricks_sql"],
},
],
"triggers": [
{
"integration-name": "Databricks",
"python-modules": [
"airflow.providers.databricks.triggers.databricks",
"airflow.providers.databricks.triggers.agent",
"airflow.providers.databricks.triggers.genie",
],
}
],
"sensors": [
{
"integration-name": "Databricks",
"python-modules": [
"airflow.providers.databricks.sensors.databricks",
"airflow.providers.databricks.sensors.databricks_sql",
"airflow.providers.databricks.sensors.databricks_partition",
],
}
],
"connection-types": [
{
"hook-class-name": "airflow.providers.databricks.hooks.databricks.DatabricksHook",
"hook-name": "Databricks",
"connection-type": "databricks",
},
{
"hook-class-name": "airflow.providers.databricks.hooks.model_serving.PydanticAIDatabricksHook",
"hook-name": "Pydantic AI (Databricks Model Serving)",
"connection-type": "pydanticai_databricks",
"external-services": ["Databricks Model Serving"],
"ui-field-behaviour": {
"hidden-fields": ["schema", "port", "login", "host", "password"],
"relabeling": {},
"placeholders": {
"extra": '{"model": "my-serving-endpoint", "databricks_conn_id": "databricks_default"}'
},
},
"conn-fields": {
"model": {
"label": "Model",
"description": "Serving endpoint name (e.g. my-serving-endpoint)",
"schema": {"type": ["string", "null"]},
},
"fallback_conn_ids": {
"label": "Fallback Connections",
"description": "Connection IDs to fail over to, in order, while this provider is unavailable.",
"schema": {"type": ["array", "null"], "items": {"type": "string"}},
},
"databricks_conn_id": {
"label": "Databricks Connection ID",
"description": "Connection ID of an existing Databricks connection to source credentials from.",
"schema": {"type": ["string", "null"]},
},
},
},
],
"plugins": [
{
"name": "databricks_workflow",
"plugin-class": "airflow.providers.databricks.plugins.databricks_workflow.DatabricksWorkflowPlugin",
}
],
"extra-links": ["airflow.providers.databricks.operators.databricks.DatabricksJobRunLink"],
}