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

Function set

tests/test_reqctx.py:246–248  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

244
245 @app.route("/set", methods=["POST"])
246 def set():
247 flask.session["value"] = flask.request.form["value"]
248 return "value set"
249
250 @app.route("/get")
251 def get():

Callers 6

list_commandsMethod · 0.85
routes_commandFunction · 0.85
list_templatesMethod · 0.85
__init_subclass__Method · 0.85
add_url_ruleMethod · 0.85
test_appsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected