mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
Fix copy-paste error in queue.empty (#9757)
This commit is contained in:
parent
c741d1cf9c
commit
323bc23c21
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class Queue:
|
|||
|
||||
def empty(self):
|
||||
"""Whether the queue is empty."""
|
||||
return ray.get(self.actor.qsize.remote())
|
||||
return ray.get(self.actor.empty.remote())
|
||||
|
||||
def full(self):
|
||||
"""Whether the queue is full."""
|
||||
|
|
Loading…
Add table
Reference in a new issue