mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-05-10 19:08:46 +00:00
fixup! feat(python): implement session based trezorlib
This commit is contained in:
parent
03320e6b83
commit
1bfcdf1525
@ -32,10 +32,7 @@ from pathlib import Path
|
||||
from mnemonic import Mnemonic
|
||||
|
||||
from . import btc, mapping, messages, models, protobuf
|
||||
from .client import (
|
||||
ProtocolVersion,
|
||||
TrezorClient,
|
||||
)
|
||||
from .client import ProtocolVersion, TrezorClient
|
||||
from .exceptions import Cancelled, TrezorFailure, UnexpectedMessageError
|
||||
from .log import DUMP_BYTES
|
||||
from .messages import DebugWaitType
|
||||
|
@ -14,6 +14,8 @@
|
||||
# You should have received a copy of the License along with this library.
|
||||
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
import typing as t
|
||||
|
||||
@ -23,8 +25,7 @@ from mnemonic import Mnemonic
|
||||
from . import device, messages
|
||||
from .client import MAX_PIN_LENGTH, PASSPHRASE_ON_DEVICE
|
||||
from .exceptions import Cancelled
|
||||
from .messages import Capability, PinMatrixRequestType, WordRequestType
|
||||
from .transport.session import Session
|
||||
from .messages import PinMatrixRequestType, WordRequestType
|
||||
|
||||
PIN_MATRIX_DESCRIPTION = """
|
||||
Use the numeric keypad or lowercase letters to describe number positions.
|
||||
|
Loading…
Reference in New Issue
Block a user