Skip to content

add next_kwargs to StartTriggerArgs#40376

Merged
uranusjr merged 2 commits into
apache:mainfrom
astronomer:fix-start-from-trigger-kwargs
Jun 24, 2024
Merged

add next_kwargs to StartTriggerArgs#40376
uranusjr merged 2 commits into
apache:mainfrom
astronomer:fix-start-from-trigger-kwargs

Conversation

@Lee-W

@Lee-W Lee-W commented Jun 21, 2024

Copy link
Copy Markdown
Member

Why

In https://github.com/apache/airflow/pull/39585/files#diff-62f7d8a52fefdb8e05d4f040c6d3459b4a56fe46976c24f68843dbaeb5a98487R1615, I accidentally assign the trigger_kwargs (for the trigger class initialization) to the next_kwargs (for the next_method) which will cause error.

What

This PR introduce a new arg next_kwargs to StartTriggerArgs as this is missed in the previous PR


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@Lee-W Lee-W force-pushed the fix-start-from-trigger-kwargs branch from b222b9a to 9f92b36 Compare June 22, 2024 02:11
@Lee-W Lee-W marked this pull request as ready for review June 22, 2024 03:15
@Lee-W Lee-W requested review from XD-DENG, ashb and kaxil as code owners June 22, 2024 03:15
@Lee-W Lee-W changed the title fix(trigger): add next_kwargs to StartTriggerArgs add next_kwargs to StartTriggerArgs Jun 22, 2024
@Lee-W Lee-W force-pushed the fix-start-from-trigger-kwargs branch from 9f92b36 to 3a3202b Compare June 24, 2024 01:10
@Lee-W Lee-W requested a review from potiuk as a code owner June 24, 2024 01:10
@uranusjr uranusjr merged commit 9901a06 into apache:main Jun 24, 2024
@uranusjr uranusjr deleted the fix-start-from-trigger-kwargs branch June 24, 2024 05:09
@utkarsharma2 utkarsharma2 added the type:improvement Changelog: Improvements label Jul 1, 2024
@utkarsharma2 utkarsharma2 added this to the Airflow 2.10.0 milestone Jul 1, 2024
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Triggerer type:improvement Changelog: Improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants