You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/02/29 20:35:05 UTC

[GitHub] [airflow] nuclearpinguin commented on a change in pull request #7596: [AIRFLOW-6870] remove imports from models/__init__.py

nuclearpinguin commented on a change in pull request #7596: [AIRFLOW-6870] remove imports from models/__init__.py
URL: https://github.com/apache/airflow/pull/7596#discussion_r386053639
 
 

 ##########
 File path: airflow/models/__init__.py
 ##########
 @@ -16,25 +16,36 @@
 # specific language governing permissions and limitations
 # under the License.
 """Airflow models"""
-from airflow.models.base import ID_LEN, Base
-from airflow.models.baseoperator import BaseOperator, BaseOperatorLink
-from airflow.models.connection import Connection
-from airflow.models.dag import DAG, DagModel, DagTag
 
 Review comment:
   I think we have to preserve the possibility of `from airflow.models import DAG`. The concern is that many users can use this import in their DAGs...

----------------------------------------------------------------
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