make_null_session() — flask Function Reference
Architecture documentation for the make_null_session() function in sessions.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD a3a36a1e_dcc4_1f61_b5f5_bce1cf9ca5df["make_null_session()"] bbf56873_bd71_6e70_f44c_ca8a85b0a007["SessionInterface"] a3a36a1e_dcc4_1f61_b5f5_bce1cf9ca5df -->|defined in| bbf56873_bd71_6e70_f44c_ca8a85b0a007 91a99133_b1f0_35e9_438c_7ae6016b40a9["session()"] 91a99133_b1f0_35e9_438c_7ae6016b40a9 -->|calls| a3a36a1e_dcc4_1f61_b5f5_bce1cf9ca5df style a3a36a1e_dcc4_1f61_b5f5_bce1cf9ca5df fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/flask/sessions.py lines 164–174
def make_null_session(self, app: Flask) -> NullSession:
"""Creates a null session which acts as a replacement object if the
real session support could not be loaded due to a configuration
error. This mainly aids the user experience because the job of the
null session is to still support lookup without complaining but
modifications are answered with a helpful error message of what
failed.
This creates an instance of :attr:`null_session_class` by default.
"""
return self.null_session_class()
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does make_null_session() do?
make_null_session() is a function in the flask codebase, defined in src/flask/sessions.py.
Where is make_null_session() defined?
make_null_session() is defined in src/flask/sessions.py at line 164.
What calls make_null_session()?
make_null_session() is called by 1 function(s): session.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free