kaxil commented on a change in pull request #6718: [AIRFLOW-6162] Add back 
serialization as a module
URL: https://github.com/apache/airflow/pull/6718#discussion_r353163820
 
 

 ##########
 File path: airflow/serialization/base_serialization.py
 ##########
 @@ -207,8 +207,8 @@ def _serialize(cls, var):  # pylint: 
disable=too-many-return-statements
     @classmethod
     def _deserialize(cls, encoded_var):  # pylint: 
disable=too-many-return-statements
         """Helper function of depth first search for deserialization."""
-        from airflow.serialization.serialized_dag import SerializedDAG
-        from airflow.serialization.serialized_baseoperator import 
SerializedBaseOperator
+        from airflow.serialization.serialized_objects import SerializedDAG
+        from airflow.serialization.serialized_objects import 
SerializedBaseOperator
 
 Review comment:
   ```suggestion
           from airflow.serialization.serialized_objects import SerializedDAG, 
SerializedBaseOperator
   ```

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


With regards,
Apache Git Services

Reply via email to