Tm1Timeouts.Builder
from skipcheck_tm1 import Tm1Timeouts.Builder Builds Tm1Timeouts. Written by hand rather than with Lombok's
@Builder, so its methods can carry Javadoc.
Members
__init__ constructor | |
connect | Sets the connect timeout. |
login | Sets the login timeout. |
request | Sets the request idle timeout. |
close | Sets the close timeout. |
refused_login | Sets how long a refused login is remembered. |
build | The timeouts, with unset values at the defaults. |
__init__
constructor__init__(start: Tm1Timeouts)connect
connect(value: float | timedelta) -> Tm1Timeouts.BuilderSets the connect timeout: how long to wait for a connection, including TLS.
login
login(value: float | timedelta) -> Tm1Timeouts.BuilderSets the login timeout: how long to wait for a login response, and, before that, for the authenticator to supply the credentials.
request
request(value: float | timedelta) -> Tm1Timeouts.BuilderSets the request idle timeout: how long a request may go without receiving any data.
close
close(value: float | timedelta) -> Tm1Timeouts.BuilderSets the close timeout: how long to wait for TM1 to close the session.
refused_login
refused_login(value: float | timedelta) -> Tm1Timeouts.BuilderSets how long a refused login is remembered: how long requests fail at once after TM1 refused a login; zero to log in again straight away.
build
build() -> Tm1TimeoutsThe timeouts, with unset values at the defaults.