MCPcopy
hub / github.com/pallets/flask / setdefault

Function setdefault

tests/test_basic.py:556–557  ·  tests/test_basic.py::setdefault
()

Source from the content-addressed store, hash-verified

554
555 @app.route(class="st">"/setdefault")
556 def setdefault():
557 return flask.session.setdefault(class="st">"test", class="st">"default")
558
559 @app.route(class="st">"/clear")
560 def clear():

Callers

nothing calls this directly

Calls 1

setdefaultMethod · 0.80

Tested by

no test coverage detected