Commit 1e95abf
chore(deps): Update Python dependencies with PDM (#270)
* chore(deps): Update pdm.lock
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix(api): resolve mypy errors in CreatableSlugRelatedField
Fix type errors caused by updated DRF stubs where get_queryset()
returns QuerySet | None. Also fix unreachable code: ObjectDoesNotExist
was caught on a dict creation (which can never raise it) instead of
on queryset.get().
---------
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nicolas LAFITTE <nicolas.lafitte@manomano.com>1 parent b3e9448 commit 1e95abf
3 files changed
Lines changed: 576 additions & 572 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments