device: Remove hard dependency on base
This commit is contained in:
parent
37e2ac80ba
commit
4e50e605a6
|
@ -23,11 +23,9 @@ from typing import Any
|
|||
from typing import Callable
|
||||
from typing import Optional
|
||||
from typing import Protocol
|
||||
from typing import cast
|
||||
|
||||
from solaar import configuration
|
||||
|
||||
from . import base
|
||||
from . import descriptors
|
||||
from . import exceptions
|
||||
from . import hidpp10
|
||||
|
@ -62,9 +60,6 @@ class LowLevelInterface(Protocol):
|
|||
...
|
||||
|
||||
|
||||
low_level_interface = cast(LowLevelInterface, base)
|
||||
|
||||
|
||||
class DeviceFactory:
|
||||
@staticmethod
|
||||
def create_device(low_level: LowLevelInterface, device_info, setting_callback=None):
|
||||
|
|
Loading…
Reference in New Issue