Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Filter shown base classes #161

Open
lars-reimann opened this issue May 11, 2024 · 1 comment
Open

feature: Filter shown base classes #161

lars-reimann opened this issue May 11, 2024 · 1 comment
Assignees
Labels
feature New feature or request

Comments

@lars-reimann
Copy link

lars-reimann commented May 11, 2024

Is your feature request related to a problem? Please describe.

There is already an option show_bases to fully enable or disable whether base classes are shown. I'd like to be able to hide only internal base classes (name starts with an underscore) but still show the others.

Describe the solution you'd like

An option to filter which base classes are displayed. Maybe the existing filters option could be applied to base classes as well.

Describe alternatives you've considered

  • Add a new value to show_bases like filtered to apply the filters.
  • Separate filter_bases options.

Additional context

This is especially useful when inherited_members is set to true.

Also thanks for the awesome tool, it's a joy to use.

@lars-reimann lars-reimann added the feature New feature or request label May 11, 2024
@lars-reimann lars-reimann changed the title feature: filter base classes feature: filter shown base classes May 11, 2024
@lars-reimann lars-reimann changed the title feature: filter shown base classes feature: Filter shown base classes May 11, 2024
@pawamoy
Copy link
Member

pawamoy commented May 12, 2024

Hello, thanks for the feature request! I agree that it would make sense to filter shown bases in accordance with filters 🤔 Let me think about it a bit more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants