You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Andy Hadjigeorgiou (JIRA)" <ji...@apache.org> on 2017/12/18 17:16:00 UTC

[jira] [Commented] (AIRFLOW-1922) Remove the deprecated legacy import style

    [ https://issues.apache.org/jira/browse/AIRFLOW-1922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16295274#comment-16295274 ] 

Andy Hadjigeorgiou commented on AIRFLOW-1922:
---------------------------------------------

Updating ticket to reflect some additional research - our documentation currently relies on Sphinx automodules that use the old import structure, so these will have to be updated as well to avoid breaking them.

> 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]`.



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