1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-05 21:10:57 +00:00

fix(trezorlib): fix style

This commit is contained in:
M1nd3r 2024-11-26 16:25:27 +01:00
parent 4d6cf0d22f
commit c27e3d63b7
2 changed files with 3 additions and 1 deletions

View File

@ -53,8 +53,8 @@ from . import (
stellar,
tezos,
with_client,
with_session,
with_default_session,
with_session,
)
F = TypeVar("F", bound=Callable)

View File

@ -52,6 +52,7 @@ UNKNOWN = -1
PROTOCOL_V1 = 1
PROTOCOL_V2 = 2
class TrezorClient:
button_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
_features: messages.Features | None = None
_protocol_version: int
def __init__(
self,
transport: Transport,