Skip to content

Commit

Permalink
refactor(trigger_rule): remove deprecated NONE_FAILED_OR_SKIPPED
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee-W committed Nov 30, 2024
1 parent 84907f1 commit 8bd8f04
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion airflow/utils/trigger_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class TriggerRule(str, Enum):
ONE_FAILED = "one_failed"
ONE_DONE = "one_done"
NONE_FAILED = "none_failed"
NONE_FAILED_OR_SKIPPED = "none_failed_or_skipped"
NONE_SKIPPED = "none_skipped"
ALWAYS = "always"
NONE_FAILED_MIN_ONE_SUCCESS = "none_failed_min_one_success"
Expand Down
1 change: 0 additions & 1 deletion tests/utils/test_trigger_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def test_valid_trigger_rules(self):
assert TriggerRule.is_valid(TriggerRule.ONE_FAILED)
assert TriggerRule.is_valid(TriggerRule.ONE_DONE)
assert TriggerRule.is_valid(TriggerRule.NONE_FAILED)
assert TriggerRule.is_valid(TriggerRule.NONE_FAILED_OR_SKIPPED)
assert TriggerRule.is_valid(TriggerRule.NONE_SKIPPED)
assert TriggerRule.is_valid(TriggerRule.ALWAYS)
assert TriggerRule.is_valid(TriggerRule.NONE_FAILED_MIN_ONE_SUCCESS)
Expand Down

0 comments on commit 8bd8f04

Please sign in to comment.