summaryrefslogtreecommitdiff
path: root/taskflow/states.py
diff options
context:
space:
mode:
Diffstat (limited to 'taskflow/states.py')
-rw-r--r--taskflow/states.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/taskflow/states.py b/taskflow/states.py
index 0ec3d5c..d35b48f 100644
--- a/taskflow/states.py
+++ b/taskflow/states.py
@@ -26,24 +26,19 @@ UNCLAIMED = 'UNCLAIMED'
# Flow states.
FAILURE = FAILURE
-INTERRUPTED = 'INTERRUPTED'
PENDING = 'PENDING'
-RESUMING = 'RESUMING'
REVERTING = 'REVERTING'
REVERTED = 'REVERTED'
RUNNING = RUNNING
-STARTED = 'STARTED'
SUCCESS = SUCCESS
-CANCELLED = 'CANCELLED'
-INCOMPLETE = 'INCOMPLETE'
SUSPENDING = 'SUSPENDING'
SUSPENDED = 'SUSPENDED'
# Task states.
FAILURE = FAILURE
-STARTED = STARTED
SUCCESS = SUCCESS
-TIMED_OUT = 'TIMED_OUT'
-CANCELLED = CANCELLED
REVERTED = REVERTED
REVERTING = REVERTING
+
+# TODO(harlowja): use when we can timeout tasks??
+TIMED_OUT = 'TIMED_OUT'