From 1cb1883d9e2fb3026cc71a181300d44096620e2e Mon Sep 17 00:00:00 2001 From: M1nd3r Date: Mon, 24 Mar 2025 13:48:57 +0100 Subject: [PATCH] fixup! feat(python): implement session based trezorlib --- python/src/trezorlib/client.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/python/src/trezorlib/client.py b/python/src/trezorlib/client.py index d612610294..7ba953fcd4 100644 --- a/python/src/trezorlib/client.py +++ b/python/src/trezorlib/client.py @@ -92,17 +92,6 @@ class TrezorClient: else: raise Exception("Unknown protocol version") - @classmethod - def resume( - cls, - transport: Transport, - protobuf_mapping: ProtobufMapping | None = None, - ) -> TrezorClient: - if protobuf_mapping is None: - protobuf_mapping = mapping.DEFAULT_MAPPING - protocol = ProtocolV1Channel(transport, protobuf_mapping) - return TrezorClient(transport, protobuf_mapping, protocol) - def get_session( self, passphrase: str | object | None = None,