Home / Function/ get_cookie_partitioned() — flask Function Reference

get_cookie_partitioned() — flask Function Reference

Architecture documentation for the get_cookie_partitioned() function in sessions.py from the flask codebase.

Entity Profile

Dependency Diagram

graph TD
  8664806b_8ac2_5d8d_7c97_c0f8d164f24e["get_cookie_partitioned()"]
  bbf56873_bd71_6e70_f44c_ca8a85b0a007["SessionInterface"]
  8664806b_8ac2_5d8d_7c97_c0f8d164f24e -->|defined in| bbf56873_bd71_6e70_f44c_ca8a85b0a007
  58643c3f_4184_c18b_8361_a7d628d93359["save_session()"]
  58643c3f_4184_c18b_8361_a7d628d93359 -->|calls| 8664806b_8ac2_5d8d_7c97_c0f8d164f24e
  style 8664806b_8ac2_5d8d_7c97_c0f8d164f24e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/flask/sessions.py lines 229–235

    def get_cookie_partitioned(self, app: Flask) -> bool:
        """Returns True if the cookie should be partitioned. By default, uses
        the value of :data:`SESSION_COOKIE_PARTITIONED`.

        .. versionadded:: 3.1
        """
        return app.config["SESSION_COOKIE_PARTITIONED"]  # type: ignore[no-any-return]

Subdomains

Called By

Frequently Asked Questions

What does get_cookie_partitioned() do?
get_cookie_partitioned() is a function in the flask codebase, defined in src/flask/sessions.py.
Where is get_cookie_partitioned() defined?
get_cookie_partitioned() is defined in src/flask/sessions.py at line 229.
What calls get_cookie_partitioned()?
get_cookie_partitioned() is called by 1 function(s): save_session.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free