MCPcopy Index your code
hub / github.com/scikit-learn/scikit-learn / wrapper

Function wrapper

sklearn/utils/parallel.py:207–210  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

205 def decorator(func):
206 @functools.wraps(func)
207 def wrapper(*args, **kwargs):
208 controller = _get_threadpool_controller()
209 with controller.limit(limits=limits, user_api=user_api):
210 return func(*args, **kwargs)
211
212 return wrapper
213

Callers

nothing calls this directly

Calls 2

funcFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…