Commit df1be9f
committed
Ignore extra options in engine plugin configs
Forbidding extra options in the engine plugin configs (executor, filter,
and transformer) meant that trying to override the plugin type defined
in a config file from a CLI argument would raise an "extra options
forbidden" error by the pydantic validators because of the options for
the not used plugin variant in the config.
This change should support that use case. Note that the run Config and
AppConfig still forbid extra options as a sanity check, and those don't
have the same issue of wanting to frequently switch the plugin type.1 parent 8abf756 commit df1be9f
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments