Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Standard-Intelligence/hertz-dev
/ maybe
Function
maybe
utils/blocks.py:86–92 ·
view source on GitHub ↗
(fn)
Source
from the content-addressed store, hash-verified
84
return
None
85
86
def
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
1
forward
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected