OpenQuizz
Une application de gestion des contenus pédagogiques
click.types Namespace Reference

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()
 

Function Documentation

◆ convert_type()

def click.types.convert_type (   ty,
  default = None 
)
Converts a callable or python type into the most appropriate
param type.

Variable Documentation

◆ BOOL

BOOL = BoolParamType()

◆ FLOAT

FLOAT = FloatParamType()

◆ INT

INT = IntParamType()

◆ STRING

STRING = StringParamType()

◆ UNPROCESSED

UNPROCESSED = UnprocessedParamType()

◆ UUID