You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/08/28 16:11:58 UTC

[airflow] 01/06: Improve cross-links to operators and hooks references (#17622)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 4d63c0ffe80ad60bae59a958fcbd37227d444661
Author: Kamil BreguĊ‚a <mi...@users.noreply.github.com>
AuthorDate: Sun Aug 15 17:19:13 2021 +0200

    Improve cross-links to operators and hooks references (#17622)
    
    * Improve cross-links to operators and hooks references
    
    * fixup! Improve cross-links to operators and hooks references
    
    * Update docs/apache-airflow/concepts/operators.rst
    
    (cherry picked from commit cff5f18a8e86aee057975e82d2bec0de6c5cbe19)
---
 .../operators-and-hooks-ref/index.rst                         |  2 ++
 docs/apache-airflow/concepts/operators.rst                    | 11 ++++++-----
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/docs/apache-airflow-providers/operators-and-hooks-ref/index.rst b/docs/apache-airflow-providers/operators-and-hooks-ref/index.rst
index 2ec3571..ceb8cc4 100644
--- a/docs/apache-airflow-providers/operators-and-hooks-ref/index.rst
+++ b/docs/apache-airflow-providers/operators-and-hooks-ref/index.rst
@@ -19,6 +19,8 @@
 Operators and Hooks Reference
 =============================
 
+Here is a list of operators and hooks that are released independently of the Airflow core. A list of core operators is available in the documentation for ``apache-airflow``: :doc:`Core Operators and Hooks Reference <operators-and-hooks-ref>`.
+
 .. toctree::
     :maxdepth: 2
     :glob:
diff --git a/docs/apache-airflow/concepts/operators.rst b/docs/apache-airflow/concepts/operators.rst
index 6c339e9..9ca7905 100644
--- a/docs/apache-airflow/concepts/operators.rst
+++ b/docs/apache-airflow/concepts/operators.rst
@@ -26,16 +26,17 @@ An Operator is conceptually a template for a predefined :doc:`Task <tasks>`, tha
 
         ping >> email
 
-Airflow has a very extensive set of operators available, with some built-in to the core or pre-installed providers, like:
+Airflow has a very extensive set of operators available, with some built-in to the core or pre-installed providers. Some popular operators from core include:
 
 - :class:`~airflow.operators.bash.BashOperator` - executes a bash command
 - :class:`~airflow.operators.python.PythonOperator` - calls an arbitrary Python function
 - :class:`~airflow.operators.email.EmailOperator` - sends an email
-- :class:`~airflow.providers.http.operators.http.SimpleHttpOperator` - sends an HTTP request
-- :class:`~airflow.providers.sqlite.operators.sqlite.SqliteOperator` - SQLite DB operator
 
-If the operator you need isn't installed with Airflow by default, you can probably find it as part of our huge set of community :doc:`apache-airflow-providers:index`. Some popular operators from here include:
+For a list of all core operators, see: :doc:`Core Operators and Hooks Reference </operators-and-hooks-ref>`.
 
+If the operator you need isn't installed with Airflow by default, you can probably find it as part of our huge set of community :doc:`provider packages <apache-airflow-providers:index>`. Some popular operators from here include:
+
+- :class:`~airflow.providers.http.operators.http.SimpleHttpOperator`
 - :class:`~airflow.providers.mysql.operators.mysql.MySqlOperator`
 - :class:`~airflow.providers.postgres.operators.postgres.PostgresOperator`
 - :class:`~airflow.providers.microsoft.mssql.operators.mssql.MsSqlOperator`
@@ -47,7 +48,7 @@ If the operator you need isn't installed with Airflow by default, you can probab
 - :class:`~airflow.providers.mysql.transfers.presto_to_mysql.PrestoToMySqlOperator`
 - :class:`~airflow.providers.slack.operators.slack.SlackAPIOperator`
 
-But there are many, many more - you can see the list of those in our :doc:`apache-airflow-providers:index` documentation.
+But there are many, many more - you can see the list of those in our :doc:`providers packages <apache-airflow-providers:operators-and-hooks-ref/index>` documentation.
 
 .. note::