Skip to content
Myr

Improve docstring for PoolLimits (#712)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* Improve docstring for PoolLimits * Linting for docstring

authored by Tom Christie · committed by GitHub · parent ee37a76 · Browse files · 1 file+7 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−0 removed

  • other:+7 added−0 removed

1 file+7 added−0 removed

modified:httpx/config.py+7 added
282 unmodified lines
283284class PoolLimits:285 """286 Limits on the number of connections in a connection pool.287288 **Parameters:**289290 * **soft_limit** - Allow the connection pool to maintain keep-alive connections291 below this point.292 * **hard_limit** - The maximum number of concurrenct connections that may be293 established.294 """295296 def __init__(297 self, *, soft_limit: int = None, hard_limit: int = None,
45 unmodified lines