MCPcopy Create free account
hub / github.com/pallets/quart / save_session

Method save_session

src/quart/sessions.py:108–124  ·  view source on GitHub ↗

Save the session argument to the response. Arguments: response: Can be None if the session is being saved after a websocket connection closes. Returns: The modified response, with the session stored.

(
        self,
        app: Quart,
        session: SessionMixin,
        response: Response | WerkzeugResponse | None,
    )

Source from the content-addressed store, hash-verified

106 raise NotImplementedError()
107
108 async def save_session(
109 self,
110 app: Quart,
111 session: SessionMixin,
112 response: Response | WerkzeugResponse | None,
113 ) -> None:
114 """Save the session argument to the response.
115
116 Arguments:
117 response: Can be None if the session is being saved after
118 a websocket connection closes.
119
120 Returns:
121 The modified response, with the session stored.
122
123 """
124 raise NotImplementedError()
125
126
127class SecureCookieSessionInterface(SessionInterface):

Callers 2

postprocess_websocketMethod · 0.45
session_transactionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected