wait_for_session()
Blocks until a session is running and ready for computation.
wait_for_session(session_id=None, ...)
Description
This function blocks until a starting session is running and ready for computation. Returns when the session is running and fails if session creation fails or the session does not exist. The session will get deleted if session creation fails.
Required Parameters
session_id
(str
)
Session ID of the session to wait for.