yggdrasil.http_.timeout¶
timeout ¶
Per-call timeout config — :class:Timeout + :func:_resolve_timeout.
connect / read / total map onto http.client connect
and read deadlines. None means "no timeout"; a number means
"seconds". The full urllib3 DEFAULT-sentinel machinery is intentionally
not reproduced — every yggdrasil call site treats None and bare
numbers the same way.
Timeout ¶
Timeout(
total: Optional[float] = None,
connect: Optional[float] = None,
read: Optional[float] = None,
)
Per-call timeout config — urllib3.Timeout shaped subset.