jedcunningham commented on code in PR #30302:
URL: https://github.com/apache/airflow/pull/30302#discussion_r1162028811


##########
airflow/serialization/serialized_objects.py:
##########
@@ -554,13 +554,13 @@ def deserialize(cls, encoded_var: Any, 
use_pydantic_models=False) -> Any:
             return SimpleTaskInstance(**cls.deserialize(var))
         elif use_pydantic_models and _ENABLE_AIP_44:
             if type_ == DAT.BASE_JOB:
-                return BaseJobPydantic.parse_obj(var)
+                return JobPydantic.parse_obj(var)
             elif type_ == DAT.TASK_INSTANCE:
                 return TaskInstancePydantic.parse_obj(var)
             elif type_ == DAT.DAG_RUN:
                 return DagRunPydantic.parse_obj(var)
             elif type_ == DAT.DATA_SET:
-                return DatasetPydantic.parse_obj(var)
+                return DatasetPydantic.parse_obj(var) you 

Review Comment:
   ```suggestion
                   return DatasetPydantic.parse_obj(var)
   ```



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