major-domo-database/app
Cal Corum a21bb2a380
All checks were successful
Build Docker Image / build (pull_request) Successful in 2m17s
fix: add combined_season classmethod to PitchingStat (#65)
Closes #65

`PitchingStat.combined_season()` was referenced in the `get_pitstats`
handler but never defined, causing a 500 on `s_type=combined/total/all`.

Added `combined_season` as a `@staticmethod` matching the pattern of
`BattingStat.combined_season` — returns all rows for the given season
with no week filter (both regular and postseason).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 17:33:47 -05:00
..
routers_v3 fix: validate sort_by parameter with Literal type in views.py (#36) 2026-03-17 16:29:58 -05:00
services fix: invalidate cache after PlayerService write operations (#32) 2026-03-17 16:28:07 -05:00
__init__.py Initial commit 2023-03-21 16:09:46 -05:00
db_engine.py fix: add combined_season classmethod to PitchingStat (#65) 2026-03-17 17:33:47 -05:00
dependencies.py fix: calculate lob_2outs and rbipercent in SeasonPitchingStats (#28) 2026-03-17 16:28:07 -05:00
main.py fix: replace print(req.scope) with logger.debug in /api/docs (#21) 2026-03-17 16:29:58 -05:00