python-elgato-streamdeck
python-elgato-streamdeck copied to clipboard
DeviceManager.enumerate lacks type hint
Describe the bug DeviceManager.enumerate doesn't have a type hint, this being the first step in using this library then means it entirely lacks type hints when.
To Reproduce Use any modern IDE: from StreamDeck.DeviceManager import DeviceManager streamdecks = DeviceManager().enumerate()
streamdecks has no type hint, and methods on it and its children cannot be autocompleted
Suggested Fix Update DeviceManager.py: Add: from typing import List from .Devices.StreamDeck import StreamDeck Update: def enumerate(self): def enumerate(self) -> List[StreamDeck]: