From 20b34cbb0058a3ccfa0a8d1cc03d9324909ab56b Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Fri, 9 Aug 2024 17:54:40 -0700 Subject: [PATCH] more typing --- selfdrive/car/car_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/car_helpers.py b/selfdrive/car/car_helpers.py index c2b4237779..45db20065f 100644 --- a/selfdrive/car/car_helpers.py +++ b/selfdrive/car/car_helpers.py @@ -147,7 +147,7 @@ def fingerprint(can_recv: CanRecvCallable, can_send: CanSendCallable, set_obd_mu return car_fingerprint, finger, vin, car_fw, source, exact_match -def get_car_interface(CP): +def get_car_interface(CP: CarParams): CarInterface, CarController, CarState = interfaces[CP.carFingerprint] return CarInterface(CP, CarController, CarState)