# 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


def get_provider_info():
    return {
        "package-name": "apache-airflow-providers-common-sql",
        "name": "Common SQL",
        "description": "`Common SQL Provider <https://en.wikipedia.org/wiki/SQL>`__\n",
        "integrations": [
            {
                "integration-name": "Common SQL",
                "external-doc-url": "https://en.wikipedia.org/wiki/SQL",
                "how-to-guide": ["/docs/apache-airflow-providers-common-sql/operators.rst"],
                "logo": "/docs/integration-logos/sql.png",
                "tags": ["software"],
            }
        ],
        "operators": [
            {
                "integration-name": "Common SQL",
                "python-modules": [
                    "airflow.providers.common.sql.operators.sql",
                    "airflow.providers.common.sql.operators.generic_transfer",
                    "airflow.providers.common.sql.operators.analytics",
                ],
            }
        ],
        "dialects": [
            {
                "dialect-type": "default",
                "dialect-class-name": "airflow.providers.common.sql.dialects.dialect.Dialect",
            }
        ],
        "hooks": [
            {
                "integration-name": "Common SQL",
                "python-modules": [
                    "airflow.providers.common.sql.hooks.handlers",
                    "airflow.providers.common.sql.hooks.lineage",
                    "airflow.providers.common.sql.hooks.sql",
                ],
            }
        ],
        "triggers": [
            {
                "integration-name": "Common SQL",
                "python-modules": ["airflow.providers.common.sql.triggers.sql"],
            }
        ],
        "sensors": [
            {"integration-name": "Common SQL", "python-modules": ["airflow.providers.common.sql.sensors.sql"]}
        ],
        "task-decorators": [
            {"class-name": "airflow.providers.common.sql.decorators.sql.sql_task", "name": "sql"},
            {
                "class-name": "airflow.providers.common.sql.decorators.analytics.analytics_task",
                "name": "analytics",
            },
        ],
    }
