Closed robin-nitrokey closed 2 years ago
That's a good point, we can return the exact type from all of the scan_*
functions to make it a little more user-friendly. As long as they inherit from Interface
everything should be fine.
As of version 1.6.1, return type hits for all scan_*
functions now point to concrete derived class instead of base Interface
class.
Could the type annotation for
RawHid.enumerate
be changed toSequence[RawHid]
?