-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
Description
Even with document_enum() decorator, :meta hide-value: is not respected. I think this should be supported. I do not have a reason to show the enumeration values 99% of the time.
@document_enum()
class SomeEnum(Enum):
"""
Document this enum.
:meta hide-value:
"""
X = 1
"""Value for something."""Could also be done at the enum value level, but most of the time I would want this at the top level comment and therefore not requiring @document_enum.
Version
- Operating System: Linux
- Python: 3.12
- enum_tools: 0.12.0