Commit e9fe139
committed
Restrict Pydantic dependency to version 1.x or 2.x
The `json()` method was renamed to `model_dump_json()` in Pydantic 2.0.
The old name is still supported in Pydantic 2.x, but is scheduled for
removal in Pydantic 3.0.
https://docs.pydantic.dev/2.5/migration/#changes-to-pydanticbasemodel
Closes #1131 parent 4a95b35 commit e9fe139
2 files changed
+2
-2
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments