Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine committed Aug 24, 2024
1 parent 55522e9 commit bab2576
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions airflow_ha/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,13 @@ def check(self) -> Operator:

@property
def failed(self) -> Operator:
return self._end_fail
# NOTE: use loop_fail as this will pass, but self._end_fail will fail to mark the DAG failed
return self._loop_fail

Check warning on line 140 in airflow_ha/operator.py

View check run for this annotation

Codecov / codecov/patch

airflow_ha/operator.py#L140

Added line #L140 was not covered by tests

@property
def passed(self) -> Operator:
return self._end_pass
# NOTE: use loop_pass here to match failed()
return self._loop_pass

Check warning on line 145 in airflow_ha/operator.py

View check run for this annotation

Codecov / codecov/patch

airflow_ha/operator.py#L145

Added line #L145 was not covered by tests

@property
def done(self) -> Operator:
Expand Down

0 comments on commit bab2576

Please sign in to comment.