OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, message=None, ctx=None, param=None, param_hint=None, param_type=None) |
def | format_message (self) |
def | __str__ (self) |
def | __str__ (self) |
![]() | |
def | __init__ (self, message, ctx=None, param=None, param_hint=None) |
![]() | |
def | __init__ (self, message, ctx=None) |
def | show (self, file=None) |
![]() | |
def | __init__ (self, message) |
Data Fields | |
param_type | |
![]() | |
param | |
param_hint | |
![]() | |
ctx | |
cmd | |
![]() | |
message | |
Additional Inherited Members | |
![]() | |
int | exit_code = 2 |
![]() | |
int | exit_code = 1 |
Raised if click required an option or argument but it was not provided when invoking the script. .. versionadded:: 4.0 :param param_type: a string that indicates the type of the parameter. The default is to inherit the parameter type from the given `param`. Valid values are ``'parameter'``, ``'option'`` or ``'argument'``.
def __init__ | ( | self, | |
message = None , |
|||
ctx = None , |
|||
param = None , |
|||
param_hint = None , |
|||
param_type = None |
|||
) |
def __str__ | ( | self | ) |
Reimplemented from ClickException.
def __str__ | ( | self | ) |
Reimplemented from ClickException.
def format_message | ( | self | ) |
Reimplemented from BadParameter.
param_type |