MCPcopy Create free account
hub / github.com/dask/dask / wrapper

Function wrapper

dask/order.py:288–294  ·  view source on GitHub ↗
(*args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

286 # indentations that make things harder to read
287
288 def wrapper(*args: Any, **kwargs: Any) -> None:
289 nonlocal _crit_path_counter_offset
290 _crit_path_counter_offset = 0.5
291 try:
292 func(*args, **kwargs)
293 finally:
294 _crit_path_counter_offset = 0
295
296 return wrapper
297

Callers

nothing calls this directly

Calls 1

funcFunction · 0.50

Tested by

no test coverage detected