RayInterface.get#

RayInterface.get(obj)[source]

Get the result of a Ray task or a list of Ray tasks.

Ignores any output to stderr.

Parameters:

obj (ObjectRef) – The Ray task or list of Ray tasks.

Returns:

The result of the Ray task or list of Ray tasks.

Return type:

Any | list[Any]