OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
class | BoolParamType |
class | Choice |
class | CompositeParamType |
class | DateTime |
class | File |
class | FloatParamType |
class | FloatRange |
class | FuncParamType |
class | IntParamType |
class | IntRange |
class | ParamType |
class | Path |
class | StringParamType |
class | Tuple |
class | UnprocessedParamType |
class | UUIDParameterType |
Functions | |
def | convert_type (ty, default=None) |
Variables | |
UNPROCESSED = UnprocessedParamType() | |
STRING = StringParamType() | |
INT = IntParamType() | |
FLOAT = FloatParamType() | |
BOOL = BoolParamType() | |
UUID = UUIDParameterType() | |
def click.types.convert_type | ( | ty, | |
default = None |
|||
) |
Converts a callable or python type into the most appropriate param type.
BOOL = BoolParamType() |
FLOAT = FloatParamType() |
INT = IntParamType() |
STRING = StringParamType() |
UNPROCESSED = UnprocessedParamType() |
UUID = UUIDParameterType() |