major-domo-database/app/services
Cal Corum d620dfc33d
Some checks failed
Build Docker Image / build (pull_request) Has been cancelled
fix: Exclude deprecated pitcher_injury field from player responses
The pitcher_injury column is no longer used but was being included in all
player responses after the service layer refactor. This change restores the
previous behavior of filtering it out.

Changes:
- Add EXCLUDED_FIELDS class constant to PlayerService
- Filter excluded fields in _player_to_dict() method
- Update _query_to_player_dicts() to use _player_to_dict() for all conversions
- Applies to both JSON and CSV responses

Version bump: 2.4.1 -> 2.4.2

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-04 13:55:00 -06:00
..
__init__.py refactor: Extract services layer for testability 2026-02-03 15:38:34 +00:00
base.py Fix linting and formatting issues 2026-02-04 08:44:12 -06:00
interfaces.py fix: Complete dependency injection for PlayerService 2026-02-03 16:49:50 +00:00
mocks.py fix: Complete dependency injection refactor and restore caching 2026-02-04 01:13:46 -06:00
player_service.py fix: Exclude deprecated pitcher_injury field from player responses 2026-02-04 13:55:00 -06:00
team_service.py Fix linting and formatting issues 2026-02-04 08:44:12 -06:00