MCPcopy
hub / github.com/mitmproxy/mitmproxy / wrapper

Function wrapper

mitmproxy/command.py:320–322  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

318 def decorator(function):
319 @functools.wraps(function)
320 def wrapper(*args, **kwargs):
321 verify_arg_signature(function, args, kwargs)
322 return function(*args, **kwargs)
323
324 wrapper.__dict__["command_name"] = name or function.__name__.replace("_", ".")
325 return wrapper

Callers

nothing calls this directly

Calls 1

verify_arg_signatureFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…