fix: remove stray syntax error in teams.py db_engine import
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7295e77c96
commit
5c342b6956
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user