Skip to content

Commit 2af39b3

Browse files
authored
Add when field to inherited fields of all plugins (#3439)
Added recently, this field is accepted for all phases, and sice we do not detect inherited fields but use a static list, the list needs to be extended to avoid showing the field in every plugin's docs.
1 parent 7501a7b commit 2af39b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/scripts/generate-plugins.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def _is_inherited(
5757

5858
# TODO: for now, it's a list, but inspecting the actual tree of classes
5959
# would be more generic. It's good enough for now.
60-
return field.name in ('name', 'where', 'order', 'summary', 'enabled', 'result')
60+
return field.name in ('name', 'where', 'when', 'order', 'summary', 'enabled', 'result')
6161

6262

6363
def container_ignored_fields(container: ContainerClass) -> list[str]:

0 commit comments

Comments
 (0)