OpenQuizz
Une application de gestion des contenus pédagogiques
flask_restplus.api Namespace Reference

Data Structures

class  Api
 
class  SwaggerView
 

Functions

def mask_parse_error_handler (error)
 
def mask_error_handler (error)
 

Variables

 RE_RULES = re.compile('(<.*>)')
 
tuple HEADERS_BLACKLIST = ('Content-Length',)
 
list DEFAULT_REPRESENTATIONS = [('application/json', output_json)]
 
 log = logging.getLogger(__name__)
 

Function Documentation

◆ mask_error_handler()

def flask_restplus.api.mask_error_handler (   error)
When any error occurs on mask

◆ mask_parse_error_handler()

def flask_restplus.api.mask_parse_error_handler (   error)
When a mask can't be parsed

Variable Documentation

◆ DEFAULT_REPRESENTATIONS

list DEFAULT_REPRESENTATIONS = [('application/json', output_json)]

◆ HEADERS_BLACKLIST

tuple HEADERS_BLACKLIST = ('Content-Length',)

◆ log

log = logging.getLogger(__name__)

◆ RE_RULES

RE_RULES = re.compile('(<.*>)')