MCPcopy Create free account
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

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected