client.py (528B)
1 from keepkeylib.client import proto, BaseClient, ProtocolMixin 2 from .clientbase import KeepKeyClientBase 3 4 class KeepKeyClient(KeepKeyClientBase, ProtocolMixin, BaseClient): 5 def __init__(self, transport, handler, plugin): 6 BaseClient.__init__(self, transport) 7 ProtocolMixin.__init__(self, transport) 8 KeepKeyClientBase.__init__(self, handler, plugin, proto) 9 10 def recovery_device(self, *args): 11 ProtocolMixin.recovery_device(self, False, *args) 12 13 14 KeepKeyClientBase.wrap_methods(KeepKeyClient)