Example #1
0
class EnumRecord(Record):
    e = Enum(["FOO", "BAR"])
Example #2
0
class EnumRecord(Record):
    gamma = Enum(['foo', 'bar', 'baz'])
class EnumRecord(Record):
    e = Enum(["HELLO", "GOODBYE"])
Example #4
0
class NamedEnumRecord(Record):
    e = Enum(["FOO", "BAR"], name="EType")