From commits-return-79171-archive-asf-public=cust-asf.ponee.io@airflow.apache.org Tue Dec 3 13:41:47 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id A82FF180629 for ; Tue, 3 Dec 2019 14:41:46 +0100 (CET) Received: (qmail 93470 invoked by uid 500); 3 Dec 2019 13:41:46 -0000 Mailing-List: contact commits-help@airflow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.apache.org Delivered-To: mailing list commits@airflow.apache.org Received: (qmail 93461 invoked by uid 99); 3 Dec 2019 13:41:46 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Dec 2019 13:41:46 +0000 From: GitBox To: commits@airflow.apache.org Subject: [GitHub] [airflow] potiuk commented on a change in pull request #6596: [AIRFLOW-6004] Untangle Executors class to avoid cyclic imports Message-ID: <157538050585.2016.7874066730234594512.gitbox@gitbox.apache.org> Date: Tue, 03 Dec 2019 13:41:45 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit potiuk commented on a change in pull request #6596: [AIRFLOW-6004] Untangle Executors class to avoid cyclic imports URL: https://github.com/apache/airflow/pull/6596#discussion_r353183617 ########## File path: UPDATING.md ########## @@ -41,6 +41,30 @@ assists users migrating to a new version. ## Airflow Master +### Changes to airflow package imports + +Importing `executor`, `hooks`, `macros`, `operators`, `sensors` packages no +longer works indirectly via airflow package. For example this will not work: + +```python +import airflow + +operator = airflow.operators.BashOperator(...) Review comment: Ah yeah. Indeed. Removed it. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services