Skip to content

Commit

Permalink
Remove redundant method.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver committed Apr 29, 2024
1 parent 9cbb901 commit 1d1d08a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cylc/flow/task_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
TaskState,
TASK_STATUS_WAITING,
TASK_STATUS_EXPIRED,
TASK_STATUSES_FINAL,
)
from cylc.flow.taskdef import generate_graph_children
from cylc.flow.wallclock import get_unix_time_from_time_string as str2time
Expand Down Expand Up @@ -568,10 +567,6 @@ def clock_expire(self) -> bool:
return False
return True

def is_finished(self) -> bool:
"""Return True if a final state achieved."""
return self.state(*TASK_STATUSES_FINAL)

def is_complete(self) -> bool:
"""Return True if complete or expired."""
return self.state.outputs.is_complete()

0 comments on commit 1d1d08a

Please sign in to comment.