Fix is_ai filter to respect False value in get_teams #22
Labels
No Label
ai-changes-requested
ai-failed
ai-merged
ai-pr-opened
ai-reviewed
ai-reviewing
ai-reviewing
ai-working
bug
enhancement
evolution
performance
phase-0
phase-1a
phase-1b
phase-1c
phase-1d
security
tech-debt
todo
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/paper-dynasty-database#22
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
`app/routers_v2/teams.py:152-153`. `all_teams.where(Team.is_ai)` always filters for AI teams regardless of whether caller passed `is_ai=False`.
Priority: medium
Fixed in PR #41: #41
The
is_aifilter now uses explicit boolean comparison (Team.is_ai == False/Team.is_ai == True), matching the existinghas_guidepattern. Previouslyall_teams.where(Team.is_ai)always filtered for AI teams regardless of the passed value.