MCPcopy Create free account
hub / github.com/Mercury7353/PyBench / __init__

Method __init__

llms/api_key_pool.py:271–273  ·  view source on GitHub ↗
(self, client_args: ClientArgs)

Source from the content-addressed store, hash-verified

269# class SpinPool(metaclass=Singleton):
270class 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."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected