Empty our store of pools and direct them all to close. This will not affect in-flight connections, but they will not be re-used after completion.
(self)
| 279 | return pool_cls(host, port, **request_context) |
| 280 | |
| 281 | def clear(self) -> None: |
| 282 | """ |
| 283 | Empty our store of pools and direct them all to close. |
| 284 | |
| 285 | This will not affect in-flight connections, but they will not be |
| 286 | re-used after completion. |
| 287 | """ |
| 288 | self.pools.clear() |
| 289 | |
| 290 | def connection_from_host( |
| 291 | self, |
no outgoing calls