All checks were successful
Build Docker Image / build (pull_request) Successful in 2m32s
Enables career-total aggregation by real-world player identity (SbaPlayer) across all seasons. JOINs StratPlay → Player to access Player.sbaplayer FK, groups by that FK, and excludes players with null sbaplayer. Also refactors stratplay router from single file into package and adds integration tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
503 B
Python
16 lines
503 B
Python
from fastapi import APIRouter
|
|
|
|
from .plays import router as plays_router
|
|
from .batting import router as batting_router
|
|
from .pitching import router as pitching_router
|
|
from .fielding import router as fielding_router
|
|
from .crud import router as crud_router
|
|
|
|
router = APIRouter(prefix="/api/v3/plays", tags=["plays"])
|
|
|
|
router.include_router(plays_router)
|
|
router.include_router(batting_router)
|
|
router.include_router(pitching_router)
|
|
router.include_router(fielding_router)
|
|
router.include_router(crud_router)
|