You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Not really, it's rather a refactoring issue. Currently the templates use filter_objects first, then do a second pass with {% if members_list is not none or attribute.is_public %}. The next version will use Griffe 0.47's is_imported (negated) instead, but that makes it hard to follow. We should move this logic into the filter_objects filter, with a config option like show_imported_objects or similar name.
Describe the solution you'd like
New config option passed to filter_objects to decide whether to filter out imported objects or not.
Is your feature request related to a problem? Please describe.
Not really, it's rather a refactoring issue. Currently the templates use
filter_objects
first, then do a second pass with{% if members_list is not none or attribute.is_public %}
. The next version will use Griffe 0.47'sis_imported
(negated) instead, but that makes it hard to follow. We should move this logic into thefilter_objects
filter, with a config option likeshow_imported_objects
or similar name.Describe the solution you'd like
New config option passed to
filter_objects
to decide whether to filter out imported objects or not.Describe alternatives you've considered
/
Additional context
mkdocstrings/griffe#294
Boost priority
The text was updated successfully, but these errors were encountered: