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 2019/12/03 11:23:53 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #6718: [AIRFLOW-6162] Add back serialization as a module

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_r353122655
 
 

 ##########
 File path: airflow/serialization/serialized_dag.py
 ##########
 @@ -101,7 +102,7 @@ def deserialize_dag(cls, encoded_dag: dict) -> "SerializedDAG":
         setattr(dag, 'full_filepath', dag.fileloc)
         for task in dag.task_dict.values():
             task.dag = dag
-            serializable_task: SerializedBaseOperator = task
+            serializable_task: SerializedBaseOperator = cast(SerializedBaseOperator, task)
 
 Review comment:
   Is this required?

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