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

Function set_session

tests/test_basic.py:376–378  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

374def test_session_secret_key_fallbacks(app, client) -> None:
375 @app.post("/")
376 def set_session() -> str:
377 flask.session["a"] = 1
378 return ""
379
380 @app.get("/")
381 def get_session() -> dict[str, t.Any]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected