paper-dynasty-database/app
Cal Corum d26bc0dc7b
All checks were successful
Build Docker Image / build (pull_request) Successful in 3m10s
fix: use Field(default_factory) for offense_col random default (#24)
Pydantic evaluates bare `random.randint(1, 3)` once at class definition
time, so every PlayerModel instance shared the same value. Replaced with
`pydantic.Field(default_factory=...)` so a new random value is generated
per instance.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 14:05:21 -06:00
..
routers_v2 fix: use Field(default_factory) for offense_col random default (#24) 2026-03-03 14:05:21 -06:00
__init__.py Initial Commit with /current 2023-09-13 14:44:26 -05:00
card_creation.py Update card_creation.py 2024-02-24 21:36:44 -06:00
db_engine.py Fix KeyError: 'human' in gauntlet-9 CARDSETS 2026-02-04 08:47:21 -06:00
db_helpers.py Fix PostgreSQL upsert column names and CSV null handling 2026-01-30 17:28:40 -06:00
dependencies.py Support for Exhibition games & Swagger updates 2024-07-11 15:07:23 -05:00
main.py Clean up root_validators 2024-11-03 01:46:40 -05:00
player_scouting.py Update player_scouting.py 2023-09-24 19:00:21 -05:00