Improve type hints

This commit is contained in:
Simon Alibert
2025-03-15 21:33:45 +01:00
parent 858678786a
commit bd5b181dfd
3 changed files with 18 additions and 15 deletions
+1 -1
View File
@@ -518,7 +518,7 @@ class DynamixelMotorsBus(MotorsBus):
else:
return values[0]
def _read(self, data_name, motor_names: str | list[str] | None = None):
def _read(self, data_name: str, motor_names: list[str]):
import dynamixel_sdk as dxl
motor_ids = []