uranusjr commented on code in PR #58025:
URL: https://github.com/apache/airflow/pull/58025#discussion_r2536635639
##########
airflow-core/src/airflow/models/dagrun.py:
##########
@@ -351,7 +352,7 @@ def __init__(
if queued_at is NOTSET:
self.queued_at = timezone.utcnow() if state == DagRunState.QUEUED
else None
elif queued_at is not None:
- self.queued_at = queued_at
+ self.queued_at = cast("datetime", queued_at)
Review Comment:
Forgot to mention, my improvement to this has been merged, please use the
`is_arg_set` helper.
--
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]