Commit a155e42
Fix mypy: remove ParameterBaseKWArgs inheritance from ParameterKWArgs
ParameterKWArgs redeclares all ParameterBaseKWArgs fields so that
Sphinx can discover and document them. Mypy does not allow overwriting
TypedDict fields when extending, so the fix is to remove the
inheritance and have ParameterKWArgs be a standalone TypedDict that
includes all fields directly.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 64753b9 commit a155e42
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
36 | | - | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
49 | | - | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
0 commit comments