kaxil commented on a change in pull request #7217: [AIRFLOW-5946] Store source 
code in db
URL: https://github.com/apache/airflow/pull/7217#discussion_r383225298
 
 

 ##########
 File path: airflow/api/common/experimental/__init__.py
 ##########
 @@ -29,12 +29,10 @@ def check_and_get_dag(dag_id: str, task_id: Optional[str] 
= None) -> DagModel:
     if dag_model is None:
         raise DagNotFound("Dag id {} not found in DagModel".format(dag_id))
 
-    def read_store_serialized_dags():
-        from airflow.configuration import conf
-        return conf.getboolean('core', 'store_serialized_dags')
+    from airflow.configuration import conf
 
 Review comment:
   Any reason this import is inside the function?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to