airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joy...@apache.org
Subject [1/2] incubator-airflow git commit: [AIRFLOW-2131] Remove confusing AirflowImport docs
Date Fri, 23 Feb 2018 03:39:45 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master f30253cb3 -> 2143ccc67


[AIRFLOW-2131] Remove confusing AirflowImport docs


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/331a1dc0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/331a1dc0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/331a1dc0

Branch: refs/heads/master
Commit: 331a1dc0fcfc75ff5a132b1fb9a1d817b47de974
Parents: 6c93460
Author: Reid Beels <reid@thedyrt.com>
Authored: Tue Feb 20 17:01:13 2018 -0800
Committer: Reid Beels <reid@thedyrt.com>
Committed: Tue Feb 20 17:19:58 2018 -0800

----------------------------------------------------------------------
 docs/code.rst | 22 +++-------------------
 1 file changed, 3 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/331a1dc0/docs/code.rst
----------------------------------------------------------------------
diff --git a/docs/code.rst b/docs/code.rst
index 597e35d..180e8da 100644
--- a/docs/code.rst
+++ b/docs/code.rst
@@ -43,11 +43,6 @@ attributes.
 Operator API
 ''''''''''''
 
-.. automodule:: airflow.operators
-    :no-members:
-.. deprecated:: 1.8
- Use :code:`from airflow.operators.bash_operator import BashOperator` instead.
-
 .. autoclass:: airflow.operators.bash_operator.BashOperator
 .. autoclass:: airflow.operators.python_operator.BranchPythonOperator
 .. autoclass:: airflow.operators.dagrun_operator.TriggerDagRunOperator
@@ -89,11 +84,6 @@ Operator API
 Community-contributed Operators
 '''''''''''''''''''''''''''''''
 
-.. automodule:: airflow.contrib.operators
-    :no-members:
-.. deprecated:: 1.8
- Use :code:`from airflow.operators.bash_operator import BashOperator` instead.
-
 .. autoclass:: airflow.contrib.operators.bigquery_check_operator.BigQueryCheckOperator
 .. autoclass:: airflow.contrib.operators.bigquery_check_operator.BigQueryValueCheckOperator
 .. autoclass:: airflow.contrib.operators.bigquery_check_operator.BigQueryIntervalCheckOperator
@@ -263,10 +253,9 @@ persisted in the database.
 
 Hooks
 -----
-.. automodule:: airflow.hooks
-    :no-members:
-.. deprecated:: 1.8
- Use :code:`from airflow.operators.bash_operator import BashOperator` instead.
+
+Hooks are interfaces to external platforms and databases, implementing a common
+interface when possible and acting as building blocks for operators.
 
 .. autoclass:: airflow.hooks.dbapi_hook.DbApiHook
 .. autoclass:: airflow.hooks.docker_hook.DockerHook
@@ -288,11 +277,6 @@ Hooks
 Community contributed hooks
 '''''''''''''''''''''''''''
 
-.. automodule:: airflow.contrib.hooks
-    :no-members:
-.. deprecated:: 1.8
- Use :code:`from airflow.operators.bash_operator import BashOperator` instead.
-
 .. autoclass:: airflow.contrib.hooks.redshift_hook.RedshiftHook
 .. autoclass:: airflow.contrib.hooks.bigquery_hook.BigQueryHook
 .. autoclass:: airflow.contrib.hooks.vertica_hook.VerticaHook


Mime
View raw message