paper-dynasty-database/app
Cal Corum 6f10c8775c fix: prevent paperdex timeout on unfiltered requests (#102)
- Remove premature all_dex.count() before filters are applied (was a
  full-table COUNT(*) before any WHERE clauses)
- Add limit parameter (default 500) to cap unbounded result sets
- Materialize queryset into list once and use len() for count, avoiding
  a second COUNT(*) query
- Remove unused all_sets variable (blocked pre-commit ruff check)

Closes #102

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 16:33:57 -05:00
..
routers_v2 fix: prevent paperdex timeout on unfiltered requests (#102) 2026-03-17 16:33:57 -05: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: refactor Roster from 26 FK columns to RosterSlot junction table (#29) 2026-03-05 15:34:39 -06:00
db_helpers.py Fix PostgreSQL upsert column names and CSV null handling 2026-01-30 17:28:40 -06:00
dependencies.py fix: use constant-time comparison for bearer token validation (#8) 2026-03-05 03:43:59 +00:00
main.py feat: render pipeline optimization (Phase 0) 2026-03-13 00:06:58 -05:00
player_scouting.py Update player_scouting.py 2023-09-24 19:00:21 -05:00