Repository navigation
fix: DateTimeSensorAsync.__init__ called - #70459
Closed
singlaamitesh wants to merge 1 commit into
Closed
singlaamitesh wants to merge 1 commit into
singlaamitesh wants to merge 1 commit into
Conversation
Contributor
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #70284
Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.DateTimeSensorAsync.init called timezone.parse(self.target_time) eagerly at Dag-parse time whenever start_from_trigger=True, crashing the whole Dag file if target_time was a Jinja template (the documented, normal usage of this templated field) since there's no rendering step before the trigger-kwargs are computed. Wrapped the parse in a try/except ParserError and raise a clear ValueError explaining that target_time must be a static datetime when start_from_trigger=True, leaving normal templated usage without start_from_trigger unaffected; added a changelog entry per the verification gate.
How this was tested:
airflow dags testImportant
🛠️ Maintainer triage note for @singlaamitesh · by
@potiuk· 2026-08-13 12:55 UTCHelpful heads-up from the maintainers — please address before this PR can be reviewed:
Full list of what we check: Pull Request quality criteria.
The ball is in your court — you've been assigned to this PR. Fix the above, then mark it Ready for review.
Automated triage — may be imperfect; a maintainer takes the next look.