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

Method open_session

tests/test_reqctx.py:210–211  ·  view source on GitHub ↗
(self, app, request)

Source from the content-addressed store, hash-verified

208
209 class FailingSessionInterface(SessionInterface):
210 def open_session(self, app, request):
211 raise SessionError()
212
213 class CustomFlask(flask.Flask):
214 session_interface = FailingSessionInterface()

Callers

nothing calls this directly

Calls 1

SessionErrorClass · 0.85

Tested by

no test coverage detected