Update app/routers_v3/stratgame.py
All checks were successful
Build Docker Image / build (pull_request) Successful in 4m51s
All checks were successful
Build Docker Image / build (pull_request) Successful in 4m51s
This commit is contained in:
parent
d809590f0e
commit
c95459fa5d
@ -13,7 +13,6 @@ from ..dependencies import (
|
|||||||
PRIVATE_IN_SCHEMA,
|
PRIVATE_IN_SCHEMA,
|
||||||
handle_db_errors,
|
handle_db_errors,
|
||||||
update_season_batting_stats,
|
update_season_batting_stats,
|
||||||
MAX_LIMIT,
|
|
||||||
DEFAULT_LIMIT,
|
DEFAULT_LIMIT,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -61,7 +60,7 @@ async def get_games(
|
|||||||
division_id: Optional[int] = None,
|
division_id: Optional[int] = None,
|
||||||
short_output: Optional[bool] = False,
|
short_output: Optional[bool] = False,
|
||||||
sort: Optional[str] = None,
|
sort: Optional[str] = None,
|
||||||
limit: int = Query(default=DEFAULT_LIMIT, ge=1, le=MAX_LIMIT),
|
limit: int = Query(default=DEFAULT_LIMIT, ge=1, le=1000),
|
||||||
offset: int = Query(default=0, ge=0),
|
offset: int = Query(default=0, ge=0),
|
||||||
) -> Any:
|
) -> Any:
|
||||||
all_games = StratGame.select()
|
all_games = StratGame.select()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user