class documentation

class BlueprintSetupState:

View In Hierarchy

Temporary holder object for registering a blueprint with the application. An instance of this class is created by the ~flask.Blueprint.make_setup_state method and later passed to all register callback functions.
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 options Undocumented
Instance Variable subdomain Undocumented
Instance Variable url​_defaults Undocumented
Instance Variable url​_prefix Undocumented
Method __init__ Undocumented
Instance Variable name Undocumented
Instance Variable name​_prefix Undocumented
def add_url_rule(self, rule, endpoint=None, view_func=None, **options):
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.
Parameters
rule:strUndocumented
endpoint:t.Optional[str]Undocumented
view​_func:t.Optional[t.Callable]Undocumented
**options:t.AnyUndocumented
app =

Undocumented

blueprint =

Undocumented

first_registration =

Undocumented

options =

Undocumented

subdomain =

Undocumented

url_defaults =

Undocumented

url_prefix =

Undocumented

def __init__(self, blueprint, app, options, first_registration):

Undocumented

Parameters
blueprint:BlueprintUndocumented
app:FlaskUndocumented
options:t.AnyUndocumented
first​_registration:boolUndocumented
name =

Undocumented

name_prefix =

Undocumented