quantum_serverless.core.get#

get(object_refs, *, timeout=None)[source]#

Get results from distributed tasks.

Parameters:
  • object_refs (Union[ObjectRef, Sequence[ObjectRef]]) – Object ref of the object to get or a list of object refs to get.

  • timeout (Optional[float]) – The maximum amount of time in seconds to wait before returning.

Return type:

Any

Returns:

A object or a list of objects.