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

Class MySessionInterface

tests/test_session_interface.py:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 """
11
12 class MySessionInterface(SessionInterface):
13 def save_session(self, app, session, response):
14 pass
15
16 def open_session(self, app, request):
17 request_ctx.match_request()
18 assert request.endpoint is not None
19
20 app = flask.Flask(__name__)
21 app.session_interface = MySessionInterface()

Callers 1

Calls

no outgoing calls

Tested by 1