Commit 11f21cd
docs: clarify routing function docstring and strengthen TTL test assertions
- Remove misleading reference to 'key patterns' in routing wrapper docstring
since the routing function only receives the collection name, not keys
- Add explicit TTL validation in ttl_many test to ensure returned values
are not None and are positive
- Split compound assertions to comply with PT018 lint rule
Co-authored-by: William Easton <[email protected]>1 parent f1281f6 commit 11f21cd
File tree
2 files changed
+5
-1
lines changed- key-value/key-value-aio
- src/key_value/aio/wrappers/routing
- tests/stores/wrappers
2 files changed
+5
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
154 | 158 | | |
155 | 159 | | |
156 | 160 | | |
| |||
0 commit comments