MCPcopy Create free account
hub / github.com/Standard-Intelligence/hertz-dev / inner

Function inner

utils/blocks.py:88–91  ·  view source on GitHub ↗
(x, *args, **kwargs)

Source from the content-addressed store, hash-verified

86def maybe(fn):
87 @wraps(fn)
88 def inner(x, *args, **kwargs):
89 if not exists(x):
90 return x
91 return fn(x, *args, **kwargs)
92 return inner

Callers

nothing calls this directly

Calls 1

existsFunction · 0.85

Tested by

no test coverage detected