-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Prework
- Read and abide by the Pointblank code of conduct and contributing guidelines.
- Search for duplicates among the existing issues (both open and closed).
Proposal
Describe the new feature clearly and concisely. If applicable, write a minimal example in Python or in pseudo-code to show input, usage, and desired output.
To help us read any code you include (optional) please try to follow the Style Guide for Python Code.
Is there any chance we'd be able to have Enum support for either/both the
Schema
&col_vals_in_set()
. It is currently partially supported in theSchema
by checking if a column is of typeEnum
, but nothing more. Similarly withincol_vals_in_set()
you can hack your way around it by usingset=[e.name for e in CustomEnum]
.
I feel that for data validation it is common to need to check if elements are in a set of values (hence the current function), and Enums are a clean way of storing this information.