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

Method __enter__

llms/api_key_pool.py:190–192  ·  view source on GitHub ↗

Get a client from the pool and return it as a context manager.

(self, **kwargs)

Source from the content-addressed store, hash-verified

188
189 @abstractmethod
190 def __enter__(self, **kwargs) -> ClientArgs:
191 """Get a client from the pool and return it as a context manager."""
192 raise NotImplementedError
193
194 @abstractmethod
195 def __exit__(self, exc_type, exc_value, exc_traceback) -> bool:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected