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

Method is_null_session

src/quart/sessions.py:45–47  ·  view source on GitHub ↗

Returns True is the instance is a null session.

(self, instance: object)

Source from the content-addressed store, hash-verified

43 return self.null_session_class()
44
45 def is_null_session(self, instance: object) -> bool:
46 """Returns True is the instance is a null session."""
47 return isinstance(instance, self.null_session_class)
48
49 def get_cookie_name(self, app: Quart) -> str:
50 """Helper method to return the Cookie Name for the App."""

Callers 3

process_responseMethod · 0.80
postprocess_websocketMethod · 0.80
session_transactionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected