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
A list of filters applied to filter objects based on their name.
1539
+
A list of filters, or `"public"`.
1540
+
1541
+
**List of filters**
1540
1542
1541
1543
A filter starting with `!` will exclude matching objects instead of including them. The `members` option takes precedence over `filters` (filters will still be applied recursively to lower members in the hierarchy).
The `public` method will include only public objects: those added to `__all__` or not starting with an underscore (except for special methods/attributes).
(`Sequence[tuple[Pattern, bool]] | None`, default: `None` ) – Filters to apply, based on members' names. Each element is a tuple: a pattern, and a boolean indicating whether to reject the object if the pattern matches.
3005
+
(`Sequence[tuple[Pattern, bool]] | Literal['public'] | None`, default: `None` ) – Filters to apply, based on members' names, or "public". Each element is a tuple: a pattern, and a boolean indicating whether to reject the object if the pattern matches.
Copy file name to clipboardExpand all lines: schema.json
+15-7Lines changed: 15 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -380,13 +380,21 @@
380
380
"type": "array"
381
381
},
382
382
"filters": {
383
-
"description": "A list of filters applied to filter objects based on their name.\n\nA filter starting with `!` will exclude matching objects instead of including them.\nThe `members` option takes precedence over `filters` (filters will still be applied recursively\nto lower members in the hierarchy).",
384
-
"items": {
385
-
"type": "string"
386
-
},
387
-
"markdownDescription": "[DOCUMENTATION](https://mkdocstrings.github.io/python/usage/configuration/members/#filters)\n\nA list of filters applied to filter objects based on their name.\n\nA filter starting with `!` will exclude matching objects instead of including them.\nThe `members` option takes precedence over `filters` (filters will still be applied recursively\nto lower members in the hierarchy).",
388
-
"title": "filters",
389
-
"type": "array"
383
+
"anyOf": [
384
+
{
385
+
"items": {
386
+
"type": "string"
387
+
},
388
+
"type": "array"
389
+
},
390
+
{
391
+
"const": "public",
392
+
"type": "string"
393
+
}
394
+
],
395
+
"description": "A list of filters, or `\"public\"`.\n\n**List of filters**\n\nA filter starting with `!` will exclude matching objects instead of including them.\nThe `members` option takes precedence over `filters` (filters will still be applied recursively\nto lower members in the hierarchy).\n\n**Filtering methods**\n\n[:octicons-heart-fill-24:{ .pulse } Sponsors only](../insiders/index.md){ .insiders } —\n[:octicons-tag-24: Insiders 1.11.0](../insiders/changelog.md#1.11.0)\n\nThe `public` method will include only public objects:\nthose added to `__all__` or not starting with an underscore (except for special methods/attributes).",
396
+
"markdownDescription": "[DOCUMENTATION](https://mkdocstrings.github.io/python/usage/configuration/members/#filters)\n\nA list of filters, or `\"public\"`.\n\n**List of filters**\n\nA filter starting with `!` will exclude matching objects instead of including them.\nThe `members` option takes precedence over `filters` (filters will still be applied recursively\nto lower members in the hierarchy).\n\n**Filtering methods**\n\n[:octicons-heart-fill-24:{ .pulse } Sponsors only](../insiders/index.md){ .insiders } —\n[:octicons-tag-24: Insiders 1.11.0](../insiders/changelog.md#1.11.0)\n\nThe `public` method will include only public objects:\nthose added to `__all__` or not starting with an underscore (except for special methods/attributes).",
0 commit comments