get_timeout#

abstract OslServer.get_timeout() float | None#

Get current timeout value for execution of commands.

Returns:
timeout: Union[float, None]

Timeout in seconds to perform commands, it must be greater than zero or None. Another functions will raise a timeout exception if the timeout period value has elapsed before the operation has completed. If None is given, functions will wait until they’re finished (no timeout exception is raised). Defaults to None.

Raises:
OslCommunicationError

Raised when an error occurs while communicating with server.

OslCommandError

Raised when the command or query fails.

TimeoutError

Raised when the timeout float value expires.