Skip to content

Commit 4ca98b5

Browse files
committed
Add when field to inherited fields of all plugins
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 4ca98b5

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)