Source code for plynx.constants.parameter_types

"""Parameter enums"""


[docs]class ParameterTypes: """Standard parameter types"""
[docs] STR: str = 'str'
[docs] INT: str = 'int'
[docs] FLOAT: str = 'float'
[docs] BOOL: str = 'bool'
[docs] TEXT: str = 'text'
[docs] ENUM: str = 'enum'
[docs] LIST_STR: str = 'list_str'
[docs] LIST_INT: str = 'list_int'
[docs] LIST_NODE: str = 'list_node'
[docs] CODE: str = 'code'
[docs] COLOR: str = 'color'
[docs]PRIMITIVE_TYPES = { ParameterTypes.BOOL, ParameterTypes.FLOAT, ParameterTypes.INT, ParameterTypes.STR, ParameterTypes.COLOR,
}