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

View File

@@ -372,7 +372,7 @@ class FeetechMotorsBus(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 scservo_sdk as scs
motor_ids = []