-
-
Notifications
You must be signed in to change notification settings - Fork 52
Closed as not planned
Labels
featureNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
I have a Enum subclass that behaves identically to a StrEnum and that's all users need to know:
# Category behaves just like a `StrEnum`
>>> cat = Category.ANIME_ENGLISH_TRANSLATED
>>> f"{cat}"
'Anime - English-translated'
>>> cat.value
'Anime - English-translated'
>>> cat.name
'ANIME_ENGLISH_TRANSLATED'
>>>The fact that internally the value is a tuple is an implementation detail that I don't want showing up in docs:
Describe the solution you'd like
I would love to have an option to not show enum values.
Describe alternatives you've considered
Disable enum members all together.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request