class Timeout:
Timeout configuration.
Usage:
Timeout(None) # No timeouts. Timeout(5.0) # 5s timeout on all operations. Timeout(None, connect=5.0) # 5s timeout on connect, no other timeouts. Timeout(5.0, connect=10.0) # 10s timeout on connect. 5s timeout elsewhere. Timeout(5.0, pool=None) # No timeout on acquiring connection from pool.
# 5s timeout elsewhere.
Method | __eq__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | as​_dict |
Undocumented |
Instance Variable | connect |
Undocumented |
Instance Variable | pool |
Undocumented |
Instance Variable | read |
Undocumented |
Instance Variable | write |
Undocumented |
Undocumented
Parameters | |
timeout:typing.Union[ | Undocumented |
connect:typing.Union[ | Undocumented |
read:typing.Union[ | Undocumented |
write:typing.Union[ | Undocumented |
pool:typing.Union[ | Undocumented |