Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pallets/flask
/ setdefault
Function
setdefault
tests/test_basic.py:556–557 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
554
555
@app.route(
"/setdefault"
)
556
def
setdefault():
557
return
flask.session.setdefault(
"test"
,
"default"
)
558
559
@app.route(
"/clear"
)
560
def
clear():
Callers
nothing calls this directly
Calls
1
setdefault
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…