Skip to content

Commit 0733ebb

Browse files
committed
Removing "cancelled" response
1 parent adf29ae commit 0733ebb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

arango/job.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ def status(self) -> str:
6060
fail.
6161
6262
:return: Async job status. Possible values are "pending" (job is still
63-
in queue), "done" (job finished or raised an error), or "cancelled"
64-
(job was cancelled before completion).
63+
in queue), "done" (job finished or raised an error).
6564
:rtype: str
6665
:raise arango.exceptions.AsyncJobStatusError: If retrieval fails.
6766
"""

docs/async.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ the results can be retrieved once available via :ref:`AsyncJob` objects.
4545

4646
# Retrieve the status of each async job.
4747
for job in [job1, job2, job3, job4]:
48-
# Job status can be "pending", "done" or "cancelled".
49-
assert job.status() in {'pending', 'done', 'cancelled'}
48+
# Job status can be "pending" or "done".
49+
assert job.status() in {'pending', 'done'}
5050

5151
# Let's wait until the jobs are finished.
5252
while job.status() != 'done':

0 commit comments

Comments
 (0)