Home / Function/ make_setup_state() — flask Function Reference

make_setup_state() — flask Function Reference

Architecture documentation for the make_setup_state() function in blueprints.py from the flask codebase.

Entity Profile

Dependency Diagram

graph TD
  332767b5_f33c_7d07_a9d2_9d9efe7f8c22["make_setup_state()"]
  0c59fa87_9a90_f011_4207_98ae96479921["Blueprint"]
  332767b5_f33c_7d07_a9d2_9d9efe7f8c22 -->|defined in| 0c59fa87_9a90_f011_4207_98ae96479921
  ab08d213_c111_86c1_e5b9_dd3fd7770d86["register()"]
  ab08d213_c111_86c1_e5b9_dd3fd7770d86 -->|calls| 332767b5_f33c_7d07_a9d2_9d9efe7f8c22
  style 332767b5_f33c_7d07_a9d2_9d9efe7f8c22 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/flask/sansio/blueprints.py lines 246–253

    def make_setup_state(
        self, app: App, options: dict[str, t.Any], first_registration: bool = False
    ) -> BlueprintSetupState:
        """Creates an instance of :meth:`~flask.blueprints.BlueprintSetupState`
        object that is later passed to the register callback functions.
        Subclasses can override this to return a subclass of the setup state.
        """
        return BlueprintSetupState(self, app, options, first_registration)

Subdomains

Called By

Frequently Asked Questions

What does make_setup_state() do?
make_setup_state() is a function in the flask codebase, defined in src/flask/sansio/blueprints.py.
Where is make_setup_state() defined?
make_setup_state() is defined in src/flask/sansio/blueprints.py at line 246.
What calls make_setup_state()?
make_setup_state() is called by 1 function(s): register.

Analyze Your Own Codebase

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

Try Supermodel Free