MCPcopy Create free account
hub / github.com/pallets/flask / modify_session

Function modify_session

tests/test_basic.py:429–431  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

427def test_session_stored_last(app, client):
428 @app.after_request
429 def modify_session(response):
430 flask.session["foo"] = 42
431 return response
432
433 @app.route("/")
434 def dump_session_contents():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected