Fix copy-paste error in queue.empty (#9757)

This commit is contained in:
sanderland 2020-08-03 21:14:18 +02:00 committed by GitHub
parent c741d1cf9c
commit 323bc23c21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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."""