betty.assertions.enum module¶ Enum data assertions. betty.assertions.enum.assert_enum(options: type[EnumT]) → Pipeline[Any, EnumT]¶ Assert that a value is allowed by an enum, and return the enum value.