fix: respect is_ai=False in get_teams filter (#22) #41

Merged
cal merged 1 commits from ai/paper-dynasty-database#22 into next-release 2026-03-03 21:42:01 +00:00

1 Commits

Author SHA1 Message Date
Cal Corum
3e15acbb9d fix: respect is_ai=False in get_teams filter (#22)
`all_teams.where(Team.is_ai)` always filtered for AI teams regardless
of the caller's intent. Match the existing has_guide pattern and use
explicit boolean comparison so False is handled correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 21:38:50 +00:00