(self, client_args: ClientArgs)
| 269 | # class SpinPool(metaclass=Singleton): |
| 270 | class SpinPool(Pool): |
| 271 | def __init__(self, client_args: ClientArgs) -> None: |
| 272 | super().__init__(client_args) |
| 273 | random.shuffle(self.queue) |
| 274 | |
| 275 | def __enter__(self, *arg, **kwargs) -> ClientArgs: |
| 276 | """Get a client from the pool and return it as a context manager.""" |