mirror of
https://github.com/vale981/ray
synced 2025-03-06 18:41:40 -05:00
doc fix (#2696)
This commit is contained in:
parent
89d4a6df93
commit
880ef1bd21
1 changed files with 2 additions and 4 deletions
|
@ -578,7 +578,7 @@ class Worker(object):
|
||||||
function_id: The ID of the function to execute.
|
function_id: The ID of the function to execute.
|
||||||
args: The arguments to pass into the function. Arguments can be
|
args: The arguments to pass into the function. Arguments can be
|
||||||
object IDs or they can be values. If they are values, they must
|
object IDs or they can be values. If they are values, they must
|
||||||
be serializable objecs.
|
be serializable objects.
|
||||||
actor_id: The ID of the actor that this task is for.
|
actor_id: The ID of the actor that this task is for.
|
||||||
actor_counter: The counter of the actor task.
|
actor_counter: The counter of the actor task.
|
||||||
is_actor_checkpoint_method: True if this is an actor checkpoint
|
is_actor_checkpoint_method: True if this is an actor checkpoint
|
||||||
|
@ -782,8 +782,6 @@ class Worker(object):
|
||||||
been defined.
|
been defined.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
is_actor (bool): True if this worker is an actor, and false
|
|
||||||
otherwise.
|
|
||||||
function_id (str): The ID of the function that we want to execute.
|
function_id (str): The ID of the function that we want to execute.
|
||||||
driver_id (str): The ID of the driver to push the error message to
|
driver_id (str): The ID of the driver to push the error message to
|
||||||
if this times out.
|
if this times out.
|
||||||
|
@ -818,7 +816,7 @@ class Worker(object):
|
||||||
"""Retrieve the arguments for the remote function.
|
"""Retrieve the arguments for the remote function.
|
||||||
|
|
||||||
This retrieves the values for the arguments to the remote function that
|
This retrieves the values for the arguments to the remote function that
|
||||||
were passed in as object IDs. Argumens that were passed by value are
|
were passed in as object IDs. Arguments that were passed by value are
|
||||||
not changed. This is called by the worker that is executing the remote
|
not changed. This is called by the worker that is executing the remote
|
||||||
function.
|
function.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue