MCPcopy Create free account
hub / github.com/StackStorm/st2 / wrapper

Method wrapper

st2common/st2common/metrics/base.py:164–166  ·  view source on GitHub ↗
(*args, **kw)

Source from the content-addressed store, hash-verified

162 def __call__(self, func):
163 @wraps(func)
164 def wrapper(*args, **kw):
165 with self:
166 return func(*args, **kw)
167
168 return wrapper
169

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected