Commit 5f64d64
committed
chore: ruff clean, validate created_after query param
- tests/test_rbac.py: remove unused args variable in test_manage_py_accepts_viewer_role,
clean up redundant parse_known_args call
- app.py: validate created_after ISO datetime before passing to SQL; returns 400 on
malformed input instead of propagating a database error1 parent fb6e38e commit 5f64d64
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
273 | 277 | | |
274 | 278 | | |
275 | 279 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | 342 | | |
| 343 | + | |
348 | 344 | | |
349 | 345 | | |
350 | 346 | | |
| |||
0 commit comments