wait_for_ready#

Instance.wait_for_ready(polling_interval: float = 0.5, timeout_per_request: float | None = None)#

Wait for the instance to be ready.

After calling this method, the instance services are filled and ready to be used.

Parameters:
polling_intervalfloat, optional

Time in seconds to wait between each request. The default is 0.5.

timeout_per_requestfloat, optional

Timeout in seconds for each request. The default is None.

Raises:
InstanceNotFoundError

The instance was deleted.

RemoteError

Unexpected server error.