Version 1.1.0
Version 1.1.0 - Enum Extras
[1.1.0] - 2024-04-08
Added
- a new
enum_eval
method that turns any reasonable value into an instance
of the supplied Enum class (i.e. string names or ints or whatever). - a new enum base class,
EnumEx
that extendsenum.Enum
by adding a
from_any
class method that usesenum_eval
to initialize a new instance
of whatever class extendsEnumEx
from any sensible value - the new
EnumEx
class to the baseccptools.structs
import