8000 Support :meta hide-value: · Issue #99 · domdfcoding/enum_tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Support :meta hide-value: #99
Open
@Tatsh

Description

@Tatsh

Description

Reference

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0