keyword(name,
valid_type,
default,
description,
choices=[ ] ,
subtype=None)
|
|
Convenience function to create a ReactiqKeyword instance.
- Parameters:
name (string) - unique name for keyword
valid_type (python type) - keyword type e.g. bool, int
default (<valid_type>) - default keyword value
description (string) - short description of what the keyword does
choices (list of <valid_type>'s) - allowed values for the keyword value
subtype (python type) - if valid_type is list then this is type of list members
|