Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nat/openplayground
/ before_request
Function
before_request
server/app.py:54–56 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
52
53
@app.before_request
54
def
before_request():
55
g.global_state = app.config[
'GLOBAL_STATE'
]
56
g.storage = g.global_state.get_storage()
57
58
app.register_blueprint(api_bp)
59
Callers
nothing calls this directly
Calls
1
get_storage
Method · 0.80
Tested by
no test coverage detected