fix: remove stray syntax error in teams.py db_engine import
All checks were successful
Build Docker Image / build (push) Successful in 49s
Build Docker Image / build (pull_request) Successful in 46s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Cal Corum 2026-03-09 09:21:43 -05:00 committed by cal
parent 7b8b7b9c01
commit 3b7bb2b6b5

View File

@ -8,7 +8,7 @@ import logging
import pydantic import pydantic
from pandas import DataFrame from pandas import DataFrame
from ..db_engine import (, DoesNotExist from ..db_engine import (
db, db,
Team, Team,
model_to_dict, model_to_dict,
@ -39,7 +39,6 @@ from ..dependencies import (
PRIVATE_IN_SCHEMA, PRIVATE_IN_SCHEMA,
) )
router = APIRouter(prefix="/api/v2/teams", tags=["teams"]) router = APIRouter(prefix="/api/v2/teams", tags=["teams"])
@ -168,7 +167,9 @@ async def get_teams(
@router.get("/{team_id}") @router.get("/{team_id}")
async def get_one_team(team_id: int, inc_packs: bool = True, csv: Optional[bool] = False): async def get_one_team(
team_id: int, inc_packs: bool = True, csv: Optional[bool] = False
):
try: try:
this_team = Team.get_by_id(team_id) this_team = Team.get_by_id(team_id)
except DoesNotExist: except DoesNotExist: