mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-07 14:00:57 +00:00
fix(trezorlib): fix style
This commit is contained in:
parent
4d6cf0d22f
commit
c27e3d63b7
@ -53,8 +53,8 @@ from . import (
|
|||||||
stellar,
|
stellar,
|
||||||
tezos,
|
tezos,
|
||||||
with_client,
|
with_client,
|
||||||
with_session,
|
|
||||||
with_default_session,
|
with_default_session,
|
||||||
|
with_session,
|
||||||
)
|
)
|
||||||
|
|
||||||
F = TypeVar("F", bound=Callable)
|
F = TypeVar("F", bound=Callable)
|
||||||
|
@ -52,6 +52,7 @@ UNKNOWN = -1
|
|||||||
PROTOCOL_V1 = 1
|
PROTOCOL_V1 = 1
|
||||||
PROTOCOL_V2 = 2
|
PROTOCOL_V2 = 2
|
||||||
|
|
||||||
|
|
||||||
class TrezorClient:
|
class TrezorClient:
|
||||||
button_callback: t.Callable[[Session, t.Any], t.Any] | None = None
|
button_callback: t.Callable[[Session, t.Any], t.Any] | None = None
|
||||||
passphrase_callback: t.Callable[[Session, t.Any], t.Any] | None = None
|
passphrase_callback: t.Callable[[Session, t.Any], t.Any] | None = None
|
||||||
@ -60,6 +61,7 @@ class TrezorClient:
|
|||||||
_management_session: Session | None = None
|
_management_session: Session | None = None
|
||||||
_features: messages.Features | None = None
|
_features: messages.Features | None = None
|
||||||
_protocol_version: int
|
_protocol_version: int
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
transport: Transport,
|
transport: Transport,
|
||||||
|
Loading…
Reference in New Issue
Block a user