MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / wrapper

Function wrapper

tests/test_code/py/nested_calls/nested_calls.py:4–6  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

2
3def trace(fn: Callable) -> Callable:
4 def wrapper(*args, **kwargs):
5 print('traced call')
6 return fn(*args, **kwargs)
7 return wrapper
8
9def do_something(msg):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected