Lee-W commented on code in PR #67717:
URL: https://github.com/apache/airflow/pull/67717#discussion_r3367831685
##########
airflow-core/src/airflow/cli/commands/dag_command.py:
##########
@@ -157,10 +188,13 @@ def dag_clear(args, *, session: Session = NEW_SESSION) ->
None:
query = query.where(DagRun.partition_key == args.partition_key)
else:
query = query.where(DagRun.partition_date.is_not(None))
+ tt_tz = dag.timetable.timezone if isinstance(dag.timetable, CronMixin)
else None
Review Comment:
Created a `resolve_day_bound` in Timetable and is overridden in CronMixin
for its timezone
--
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]