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 2018/08/27 16:59:18 UTC

[GitHub] andscoop commented on a change in pull request #3796: [AIRFLOW-2824] - Add config to disable default conn creation

andscoop commented on a change in pull request #3796: [AIRFLOW-2824] - Add config to disable default conn creation
URL: https://github.com/apache/incubator-airflow/pull/3796#discussion_r213043144
 
 

 ##########
 File path: airflow/utils/db.py
 ##########
 @@ -286,6 +284,16 @@ def initdb(rbac=False):
             conn_id='cassandra_default', conn_type='cassandra',
             host='cassandra', port=9042))
 
+
+def initdb(rbac=False):
+    session = settings.Session()
+
+    from airflow import models
 
 Review comment:
   @feng-tao It is to prevent a circular import

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services