OpenQuizz
Une application de gestion des contenus pédagogiques
ScriptInfo Class Reference
Inheritance diagram for ScriptInfo:
Collaboration diagram for ScriptInfo:

Public Member Functions

def __init__ (self, app_import_path=None, create_app=None, set_debug_flag=True)
 
def load_app (self)
 

Data Fields

 app_import_path
 
 create_app
 
 data
 
 set_debug_flag
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  app_import_path = None,
  create_app = None,
  set_debug_flag = True 
)

Member Function Documentation

◆ load_app()

def load_app (   self)
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.

Field Documentation

◆ app_import_path

app_import_path

◆ create_app

create_app

◆ data

data

◆ set_debug_flag

set_debug_flag

The documentation for this class was generated from the following file: