mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Add explicit types where they aren't needed.
I have no idea why mypy is whining about this.
This commit is contained in:
parent
4f73c47dcb
commit
4e030c4a3a
@ -7,7 +7,7 @@ from game.ato import Flight
|
||||
from game.server import GameContext
|
||||
from .models import HoldZonesJs, IpZonesJs, JoinZonesJs
|
||||
|
||||
router = APIRouter(prefix="/debug/waypoint-geometries")
|
||||
router: APIRouter = APIRouter(prefix="/debug/waypoint-geometries")
|
||||
|
||||
|
||||
# TODO: Maintain map of UUID -> Flight in Game.
|
||||
|
||||
@ -6,7 +6,7 @@ from .eventstream import EventStream
|
||||
from .models import GameUpdateEventsJs
|
||||
from .. import GameContext
|
||||
|
||||
router = APIRouter()
|
||||
router: APIRouter = APIRouter()
|
||||
|
||||
|
||||
@router.websocket("/eventstream")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user