MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT-LLM / wrapper

Function wrapper

tests/integration/defs/utils/timeout_manager.py:172–182  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

170
171 @functools.wraps(func)
172 def wrapper(*args, **kwargs):
173 # Extract timeout_from_marker from kwargs
174 timeout_from_marker = kwargs.get('timeout_from_marker')
175
176 # Create timeout manager
177 timeout_manager = create_timeout_manager(timeout_from_marker)
178
179 # Add timeout_manager to kwargs
180 kwargs['timeout_manager'] = timeout_manager
181
182 return func(*args, **kwargs)
183
184 return wrapper

Callers

nothing calls this directly

Calls 3

create_timeout_managerFunction · 0.85
funcFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected