Commit 342b5a8
committed
fix(_models): add polymorphic_serialization parameter to model_dump overrides
Pydantic 2.13 added polymorphic_serialization (bool | None) to
model_dump and model_dump_json. The pydantic v1 compat overrides
in _models.py need to match the new signature to satisfy pyright.1 parent f342310 commit 342b5a8
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
284 | 285 | | |
285 | 286 | | |
286 | 287 | | |
| |||
353 | 354 | | |
354 | 355 | | |
355 | 356 | | |
| 357 | + | |
356 | 358 | | |
357 | 359 | | |
358 | 360 | | |
| |||
0 commit comments