Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename none_failed_or_skipped by none_failed_min_one_success trigger rule #17683

Merged
merged 3 commits into from
Aug 20, 2021
Merged

Rename none_failed_or_skipped by none_failed_min_one_success trigger rule #17683

merged 3 commits into from
Aug 20, 2021

Conversation

raphaelauv
Copy link
Contributor

@raphaelauv raphaelauv commented Aug 18, 2021

following this discussion -> #17012

I propose to rename the trigger rule to make it more explicit.

I would also like in future to work on a programmatic way to custom or self define a trigger rule -> #17010 (comment)

@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:core-operators Operators, Sensors and hooks within Core Airflow kind:documentation labels Aug 18, 2021
@raphaelauv
Copy link
Contributor Author

thanks for the review @kaxil , I updated the code

@raphaelauv raphaelauv changed the title rename none_failed_or_skipped by none_failed_and_at_least_one_succeed rename none_failed_or_skipped by none_failed_min_one_success Aug 19, 2021
Copy link
Member

@kaxil kaxil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor suggestions, LGTM

UPDATING.md Outdated Show resolved Hide resolved
airflow/models/baseoperator.py Outdated Show resolved Hide resolved
@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Aug 19, 2021
@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@kaxil kaxil changed the title rename none_failed_or_skipped by none_failed_min_one_success Rename none_failed_or_skipped by none_failed_min_one_success trigger rule Aug 19, 2021
UPDATING.md Show resolved Hide resolved
tests/utils/test_trigger_rule.py Outdated Show resolved Hide resolved
@kaxil kaxil removed the full tests needed We need to run full set of tests for this PR to merge label Aug 19, 2021
@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Aug 19, 2021
@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:API Airflow's REST/HTTP API area:core-operators Operators, Sensors and hooks within Core Airflow full tests needed We need to run full set of tests for this PR to merge kind:documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants