mhenc commented on code in PR #29355:
URL: https://github.com/apache/airflow/pull/29355#discussion_r1112983708


##########
airflow/serialization/serialized_objects.py:
##########
@@ -502,6 +504,8 @@ def deserialize(cls, encoded_var: Any) -> Any:
             return Dataset(**var)
         elif type_ == DAT.SIMPLE_TASK_INSTANCE:
             return SimpleTaskInstance(**cls.deserialize(var))
+        elif type_ == DAT.TASK_INSTANCE:

Review Comment:
   But this if for client -> Internal API side .
   What about Internal API -> client, e.g. worker. We need to have TaskInstance 
object in worker to run the tasks. 
   
https://github.com/apache/airflow/blob/main/airflow/cli/commands/task_command.py#L187



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