haseebmalik18 opened a new pull request, #70310:
URL: https://github.com/apache/airflow/pull/70310
Fixes `DateTimeSensorAsync` crashing Dag parsing when `target_time` is a
Jinja template and `start_from_trigger=True`.
With `start_from_trigger=True`, `target_time` gets parsed in `__init__` at
Dag-parse time, before Jinja renders it. So passing a template (which is the
field's documented use) blew up with a `pendulum` `ParserError` and took down
the whole Dag file. Now a static `target_time` still works, and a templated one
raises a clear `ValueError` instead.
closes: #70284
--
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]