ashb commented on code in PR #28067:
URL: https://github.com/apache/airflow/pull/28067#discussion_r1039008837


##########
airflow/models/serialized_dag.py:
##########
@@ -35,6 +35,7 @@
 from airflow.serialization.serialized_objects import DagDependency, 
SerializedDAG
 from airflow.settings import COMPRESS_SERIALIZED_DAGS, 
MIN_SERIALIZED_DAG_UPDATE_INTERVAL, json
 from airflow.utils import timezone
+from airflow.utils.serialization import serialize

Review Comment:
   Can we avoid adding new things in to utils namespace? It's already a 
"dumping ground"
   
   How about
   
   
   ```suggestion
   from airflow.serialization import serialize
   ```
   
   instead?



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to