uranusjr commented on code in PR #32366:
URL: https://github.com/apache/airflow/pull/32366#discussion_r1255248464


##########
airflow/serialization/pydantic/dag_run.py:
##########
@@ -30,7 +29,7 @@ class DagRunPydantic(BaseModelPydantic):
     id: int
     dag_id: str
     queued_at: Optional[datetime]
-    execution_date: DateTime
+    execution_date: datetime

Review Comment:
   Yeah I think they basically switch from `isinstance` to type identity check, 
probably for performance concerns (we have similar designs in our own 
serialisation code). The old behaviour can be brought back with a flag, but 
this doesn’t need that.



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