fix: test_batting_sbaplayer_career_totals returns 422 instead of 200 #110
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/major-domo-database#110
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Integration test test_batting_sbaplayer_career_totals (test_stratplay_routes.py:575) expects 200 but gets 422. Likely caused by PR #86 (type annotations) or PR #68 (Literal validation on sort) tightening validation. Request params may no longer match endpoint expectations.
PR #112 fixes this: #112
Root cause:
limit=999exceedsMAX_LIMIT=500independencies.py, so FastAPI'sQuery(..., le=MAX_LIMIT)validation returned 422. Changed test tolimit=500.