| 126 | gather(*workers, timeout=5.0, timeout_hint=hint) |
| 127 | |
| 128 | def _check_open_getconn(self) -> None: |
| 129 | super()._check_open_getconn() |
| 130 | |
| 131 | if self._open_implicit: |
| 132 | self._open_implicit = False |
| 133 | |
| 134 | warnings.warn( |
| 135 | f"the default for the {type(self).__name__} 'open' parameter will become 'False' in a future release. Please use open={{True|False}} explicitly, or use the pool as context manager using: `with {type(self).__name__}(...) as pool: ...`", |
| 136 | DeprecationWarning, |
| 137 | ) |
| 138 | |
| 139 | def wait(self, timeout: float = 30.0) -> None: |
| 140 | """ |