class documentation

class BlueprintSetupState: (source)

View In Hierarchy

Temporary holder object for registering a blueprint with the application. An instance of this class is created by the :meth:`~flask.Blueprint.make_setup_state` method and later passed to all register callback functions.

Method __init__ Undocumented
Method add_url_rule A helper method to register a rule (and optionally a view function) to the application. The endpoint is automatically prefixed with the blueprint's name.
Instance Variable app Undocumented
Instance Variable blueprint Undocumented
Instance Variable first_registration Undocumented
Instance Variable name Undocumented
Instance Variable name_prefix Undocumented
Instance Variable options Undocumented
Instance Variable subdomain Undocumented
Instance Variable url_defaults Undocumented
Instance Variable url_prefix Undocumented
def __init__(self, blueprint: Blueprint, app: Flask, options: t.Any, first_registration: bool): (source)

Undocumented

def add_url_rule(self, rule: str, endpoint: t.Optional[str] = None, view_func: t.Optional[t.Callable] = None, **options: t.Any): (source)

A helper method to register a rule (and optionally a view function) to the application. The endpoint is automatically prefixed with the blueprint's name.

Undocumented

blueprint = (source)

Undocumented

first_registration = (source)

Undocumented

Undocumented

name_prefix = (source)

Undocumented

Undocumented

subdomain = (source)

Undocumented

url_defaults = (source)

Undocumented

url_prefix = (source)

Undocumented