Commit 1396fce
authored
Fix some pydantic 2.0
**Description:**
The test suite is throwing many `DeprecationWarning`s and
`UserWarning`s.
This PR addresses only one class: a pydantic 2.0 `DeprecationWarning`
caused by `.dict()` calls in the test suite itself.
**PR Checklist:**
- [x] Code is formatted and linted (run `pre-commit run --all-files`)
- [x] Tests pass (run `make test`)
- [ ] Documentation has been updated to reflect changes, if applicable
- [ ] Changes are added to the changelogDeprecationWarnings (#289)1 parent 6fb8278 commit 1396fce
File tree
2 files changed
+5
-3
lines changed- stac_fastapi/tests
- clients
- resources
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
206 | 208 | | |
207 | 209 | | |
208 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
807 | | - | |
| 807 | + | |
808 | 808 | | |
809 | 809 | | |
810 | 810 | | |
| |||
0 commit comments