MCPcopy Create free account
hub / github.com/dianping/cat / wraps

Function wraps

lib/python/src/cat/transaction.py:105–107  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

103 def wrapper(func):
104 @functools.wraps(func)
105 def wraps(*args, **kwargs):
106 with Transaction(mtype, mname):
107 return func(*args, **kwargs)
108 return wraps
109 return wrapper

Callers

nothing calls this directly

Calls 2

TransactionClass · 0.70
funcFunction · 0.50

Tested by

no test coverage detected