[
https://issues.apache.org/jira/browse/AIRFLOW-1922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16379160#comment-16379160
]
Andy Hadjigeorgiou commented on AIRFLOW-1922:
---------------------------------------------
Note - PR for documentation portion here completed in ticket
(https://issues.apache.org/jira/browse/AIRFLOW-1942). This ticket can now move
forward with removing deprecated import structure behavior.
> 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
> Priority: Major
>
> 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
(v7.6.3#76005)