Enumerated¶
-
class
Cauldron.types.Enumerated[source] [edit on github]¶ Bases:
Cauldron.types.IntegerAn enumerated keyword, which uses an integer as the underlying datatype.
Attributes Summary
KTL_TYPEkeysThe keys available. Methods Summary
prewrite(value)translate(value)Translate to the enumerated value Attributes Documentation
-
KTL_TYPE= 'enumerated'¶
-
keys¶ The keys available.
Methods Documentation
-
prewrite(value)[source] [edit on github]¶
-
translate(value)[source] [edit on github]¶ Translate to the enumerated value
-