Raise exception in Python if wait is called with duplicate object IDs. (#262)

This commit is contained in:
Robert Nishihara
2017-02-09 23:32:19 -08:00
committed by Philipp Moritz
parent 0aa234fb9c
commit 249b667b0e
3 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -1421,7 +1421,7 @@ def wait(object_ids, num_returns=1, timeout=None, worker=global_worker):
Args:
object_ids (List[ObjectID]): List of object IDs for objects that may
or may not be ready.
or may not be ready. Note that these IDs must be unique.
num_returns (int): The number of object IDs that should be returned.
timeout (int): The maximum amount of time in milliseconds to wait before
returning.