Commit fcc763c
committed
fix(repository): match v2 baseline filter source in _handlers
The cherry-picked _handlers.py imported filter classes directly from
the local _filters fallback to avoid self-triggering the deprecation
warning. But v2 baseline behavior was to prefer advanced_alchemy.filters
classes (with _filters as the AA-not-installed fallback). The change
broke test_app_repository_signature_namespace which asserts the
signature_namespace_values dict contains advanced_alchemy.filters
classes.
Restore the try/except pattern from upstream/v2:litestar/repository/
filters.py to keep the public class identity stable while still
avoiding the deprecation warning trigger inside the internal handler.1 parent b388831 commit fcc763c
1 file changed
Lines changed: 24 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
14 | 27 | | |
15 | 28 | | |
16 | 29 | | |
| |||
0 commit comments