MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/openevolve / wrapper

Function wrapper

openevolve/utils/async_utils.py:28–30  ·  view source on GitHub ↗
(*args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

26
27 @functools.wraps(f)
28 async def wrapper(*args: Any, **kwargs: Any) -> Any:
29 loop = asyncio.get_event_loop()
30 return await loop.run_in_executor(None, functools.partial(f, *args, **kwargs))
31
32 return wrapper
33

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected