From 323bc23c21ce01d29323d4ab786718a8b85a3534 Mon Sep 17 00:00:00 2001 From: sanderland <48946947+sanderland@users.noreply.github.com> Date: Mon, 3 Aug 2020 21:14:18 +0200 Subject: [PATCH] Fix copy-paste error in queue.empty (#9757) --- python/ray/experimental/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ray/experimental/queue.py b/python/ray/experimental/queue.py index 01f4fda3e..d0adcd6c7 100644 --- a/python/ray/experimental/queue.py +++ b/python/ray/experimental/queue.py @@ -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."""