ckljohn commented on a change in pull request #4153: [AIRFLOW-3308] Fix plugins import URL: https://github.com/apache/incubator-airflow/pull/4153#discussion_r234604230
########## File path: airflow/__init__.py ########## @@ -79,3 +79,16 @@ class AirflowViewPlugin(BaseView): class AirflowMacroPlugin(object): def __init__(self, namespace): self.namespace = namespace + + +from airflow import operators # noqa: E402 +from airflow import sensors # noqa: E402 +from airflow import hooks # noqa: E402 +from airflow import executors # noqa: E402 +from airflow import macros # noqa: E402 + +operators._integrate_plugins() +sensors._integrate_plugins() # noqa: E402 Review comment: I just follow the original code. https://github.com/apache/incubator-airflow/pull/3906/files ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services