fix: remove stray syntax error in teams.py db_engine import
All checks were successful
Build Docker Image / build (push) Successful in 8m56s
Build Docker Image / build (pull_request) Successful in 1m1s

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
parent 7295e77c96
commit 5c342b6956

View File

@ -8,7 +8,7 @@ import logging
import pydantic
from pandas import DataFrame
from ..db_engine import (, DoesNotExist
from ..db_engine import (
db,
Team,
model_to_dict,
@ -39,7 +39,6 @@ from ..dependencies import (
PRIVATE_IN_SCHEMA,
)
router = APIRouter(prefix="/api/v2/teams", tags=["teams"])
@ -168,7 +167,9 @@ async def get_teams(
@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:
this_team = Team.get_by_id(team_id)
except DoesNotExist: