8000 feature: Allow filtering objects in templates thanks to labels · Issue #164 · mkdocstrings/python · GitHub
[go: up one dir, main page]

Skip to content
feature: Allow filtering objects in templates thanks to labels #164
Open
@pawamoy

Description

@pawamoy

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

I'm working on a custom template for another project and I find myself in need to filter functions of a class based on their labels. Since I can't, and since I have to iterate twice on the functions, I have to use a condition on the labels twice.

Describe the solution you'd like

Probably add a parameter to filter_objects to accept labels. They should all be present, just like Griffe's Object.has_labels.

Describe alternatives you've considered

Checking labels in conditions.

Additional context

qtile/qtile#4612

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0