PathAwareSessionInterface Class — flask Architecture
Architecture documentation for the PathAwareSessionInterface class in test_reqctx.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD e2e89849_2f31_6608_807e_aed65dba4a57["PathAwareSessionInterface"] 6e107b72_bfbc_d580_f6b3_676e4292673a["SecureCookieSessionInterface"] e2e89849_2f31_6608_807e_aed65dba4a57 -->|extends| 6e107b72_bfbc_d580_f6b3_676e4292673a aea65cbf_db83_bd4f_d83f_1a35ae104254["test_reqctx.py"] e2e89849_2f31_6608_807e_aed65dba4a57 -->|defined in| aea65cbf_db83_bd4f_d83f_1a35ae104254 c232e1d3_f26b_5887_467b_a0cb9123960e["get_cookie_name()"] e2e89849_2f31_6608_807e_aed65dba4a57 -->|method| c232e1d3_f26b_5887_467b_a0cb9123960e
Relationship Graph
Source Code
tests/test_reqctx.py lines 232–237
class PathAwareSessionInterface(SecureCookieSessionInterface):
def get_cookie_name(self, app):
if flask.request.url.endswith("dynamic_cookie"):
return "dynamic_cookie_name"
else:
return super().get_cookie_name(app)
Defined In
Extends
Source
Frequently Asked Questions
What is the PathAwareSessionInterface class?
PathAwareSessionInterface is a class in the flask codebase, defined in tests/test_reqctx.py.
Where is PathAwareSessionInterface defined?
PathAwareSessionInterface is defined in tests/test_reqctx.py at line 232.
What does PathAwareSessionInterface extend?
PathAwareSessionInterface extends SecureCookieSessionInterface.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free