1
0

add some type hints

mostly related to hw wallets
This commit is contained in:
SomberNight
2019-11-22 22:59:33 +01:00
parent 770ae6d878
commit 88307357ec
5 changed files with 39 additions and 26 deletions

View File

@@ -352,7 +352,7 @@ class DeviceMgr(ThreadJob):
ThreadJob.__init__(self)
# Keyed by xpub. The value is the device id
# has been paired, and None otherwise.
self.xpub_ids = {}
self.xpub_ids = {} # type: Dict[str, str]
# A list of clients. The key is the client, the value is
# a (path, id_) pair.
self.clients = {} # type: Dict[HardwareClientBase, Tuple[Union[str, bytes], str]]