From 8769b8ac3278f652620eea9fe24f8c75b17a9aaa Mon Sep 17 00:00:00 2001 From: Mitar Date: Mon, 13 Aug 2018 16:19:32 -0700 Subject: [PATCH] Fixing docstring. (#2638) --- python/ray/worker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/ray/worker.py b/python/ray/worker.py index 2e3ca09a5..91bd9ed7c 100644 --- a/python/ray/worker.py +++ b/python/ray/worker.py @@ -724,8 +724,8 @@ class Worker(object): Args: function (Callable): The function to run on all of the workers. It - should not take any arguments. If it returns anything, its - return values will not be used. + takes only one argument, a worker info dict. If it returns + anything, its return values will not be used. run_on_other_drivers: The boolean that indicates whether we want to run this funtion on other drivers. One case is we may need to share objects across drivers.