[ 
https://issues.apache.org/jira/browse/AIRFLOW-1922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Hadjigeorgiou updated AIRFLOW-1922:
----------------------------------------
    Description: 
Currently, we support imports of the structure `from airflow.hooks import 
[Hook]`. We want to move away from this deprecated structure for version 2.0, 
in favor of imports of the form `from airflow.hooks.[hook] import [Hook]`.

Additionally, we have to update the automodule import structure in our Sphinx 
docs to correctly display all the class documentation for affected imports.

  was:Currently, we support imports of the structure `from airflow.hooks import 
[Hook]`. We want to move away from this deprecated structure for version 2.0, 
in favor of imports of the form `from airflow.hooks.[hook] import [Hook]`.


> Remove the deprecated legacy import style
> -----------------------------------------
>
>                 Key: AIRFLOW-1922
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1922
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Andy Hadjigeorgiou
>            Assignee: Andy Hadjigeorgiou
>
> Currently, we support imports of the structure `from airflow.hooks import 
> [Hook]`. We want to move away from this deprecated structure for version 2.0, 
> in favor of imports of the form `from airflow.hooks.[hook] import [Hook]`.
> Additionally, we have to update the automodule import structure in our Sphinx 
> docs to correctly display all the class documentation for affected imports.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to