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

Method __init__

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

Source from the content-addressed store, hash-verified

205
206class PQPool(Pool):
207 def __init__(self, client_args: ClientArgs) -> None:
208 super().__init__(client_args) # unlimited size
209
210 # Initialize the heap with resources
211 heapify(self.queue)
212
213 def __enter__(self, **kwargs) -> ClientArgs:
214 """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