class documentation

class ScriptInfo: (source)

View In Hierarchy

Helper object to deal with Flask applications. This is usually not necessary to interface with as it's used internally in the dispatching to click. In future versions of Flask this object will most likely play a bigger role. Typically it's created automatically by the :class:`FlaskGroup` but you can also manually create it and pass it onwards as click object.

Method __init__ Undocumented
Method load_app Loads the Flask app (if not yet loaded) and returns it. Calling this multiple times will just result in the already loaded app to be returned.
Instance Variable app_import_path Undocumented
Instance Variable create_app Undocumented
Instance Variable data Undocumented
Instance Variable set_debug_flag Undocumented
Instance Variable _loaded_app Undocumented
def __init__(self, app_import_path: str|None = None, create_app: t.Callable[..., Flask]|None = None, set_debug_flag: bool = True): (source)

Undocumented

def load_app(self) -> Flask: (source)

Loads the Flask app (if not yet loaded) and returns it. Calling this multiple times will just result in the already loaded app to be returned.

app_import_path = (source)

Undocumented

create_app = (source)

Undocumented

Undocumented

set_debug_flag = (source)

Undocumented

_loaded_app = (source)

Undocumented