fix: add type annotations to untyped query parameters (#73)
All checks were successful
Build Docker Image / build (pull_request) Successful in 2m11s

Closes #73

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Cal Corum 2026-03-27 00:02:57 -05:00
parent da679b6d1a
commit dcaf184ad3
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ async def get_team_standings(team_id: int):
@router.patch("/{stan_id}", include_in_schema=PRIVATE_IN_SCHEMA)
@handle_db_errors
async def patch_standings(
stan_id,
stan_id: int,
wins: Optional[int] = None,
losses: Optional[int] = None,
token: str = Depends(oauth2_scheme),

View File

@ -36,7 +36,7 @@ class TransactionList(pydantic.BaseModel):
@router.get("")
@handle_db_errors
async def get_transactions(
season,
season: int,
team_abbrev: list = Query(default=None),
week_start: Optional[int] = 0,
week_end: Optional[int] = None,