Add explicit types where they aren't needed.

I have no idea why mypy is whining about this.
This commit is contained in:
Dan Albert 2022-02-16 17:04:25 -08:00
parent 4f73c47dcb
commit 4e030c4a3a
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -6,7 +6,7 @@ from .eventstream import EventStream
from .models import GameUpdateEventsJs
from .. import GameContext
router = APIRouter()
router: APIRouter = APIRouter()
@router.websocket("/eventstream")