yr.object_ref.ObjectRef.get#
- ObjectRef.get(timeout: int = 300) Any[source]#
This function is used to retrieve an object.
- Parameters:
timeout (int, optional) – The maximum time in seconds to wait for the interface object to be retrieved. Defaults to
300.- Returns:
The retrieved object. Data type is Any.
- Raises:
ValueError – If the timeout parameter is less than or equal to the 0 and is not -1.
YRInvokeError – If the retrieved result is an instance of YRInvokeError.