Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support :meta hide-value: #99

Copy link
Copy link
@Tatsh

Description

@Tatsh
Issue body actions

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
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.