python icon indicating copy to clipboard operation
python copied to clipboard

feature: Filter shown base classes

Open lars-reimann opened this issue 9 months ago • 1 comments

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 avatar May 11 '24 13:05 lars-reimann

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

pawamoy avatar May 12 '24 13:05 pawamoy