Commit 6edc256
committed
ratchet(types): promote unknown-argument to error
fulltext_filter() in database_arango.py called cls.load(document, strict=True),
but no load() implementation accepts a `strict` kwarg — it would raise
TypeError if the method were ever invoked (it has no callers anywhere in the
repo, so the bug never surfaced). Drop the stray kwarg to match the sibling
cls.load(doc) call in filter(), and promote unknown-argument to error.
ty check exits 0; ruff clean; tests/schemas (184), tests/apiv2 (197),
tests/core_tests (29) all pass.1 parent 80f16bb commit 6edc256
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1336 | 1336 | | |
1337 | 1337 | | |
1338 | 1338 | | |
1339 | | - | |
| 1339 | + | |
1340 | 1340 | | |
1341 | 1341 | | |
1342 | 1342 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
0 commit comments