We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c194d0 commit 6697ef3Copy full SHA for 6697ef3
durabletask/client.py
@@ -32,6 +32,7 @@ class OrchestrationStatus(Enum):
32
CONTINUED_AS_NEW = pb.ORCHESTRATION_STATUS_CONTINUED_AS_NEW
33
PENDING = pb.ORCHESTRATION_STATUS_PENDING
34
SUSPENDED = pb.ORCHESTRATION_STATUS_SUSPENDED
35
+ CANCELED = pb.ORCHESTRATION_STATUS_CANCELED
36
37
def __str__(self):
38
return helpers.get_orchestration_status_str(self.value)
tests/durabletask/test_orchestration_e2e.py
@@ -36,6 +36,7 @@ def _wait_until_terminal(
client.OrchestrationStatus.COMPLETED,
client.OrchestrationStatus.FAILED,
client.OrchestrationStatus.TERMINATED,
39
+ client.OrchestrationStatus.CANCELED,
40
):
41
return st
42
time.sleep(delay)
0 commit comments