From b5cb9cb0356893452f4e6c13c60d0b898ce99441 Mon Sep 17 00:00:00 2001 From: Andrew Kozlik Date: Fri, 19 Aug 2022 10:29:48 +0200 Subject: [PATCH] feat(core): Allow Any type in is_type_of(). [no changelog] --- core/src/trezor/_proto_messages.mako | 2 +- core/src/trezor/messages.py | 628 +++++++++++++-------------- 2 files changed, 315 insertions(+), 315 deletions(-) diff --git a/core/src/trezor/_proto_messages.mako b/core/src/trezor/_proto_messages.mako index 097363276..9a5f63155 100644 --- a/core/src/trezor/_proto_messages.mako +++ b/core/src/trezor/_proto_messages.mako @@ -59,6 +59,6 @@ def member_type(field): % endif # if fields @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["${message.name}"]: + def is_type_of(cls, msg: Any) -> TypeGuard["${message.name}"]: return isinstance(msg, cls) % endfor diff --git a/core/src/trezor/messages.py b/core/src/trezor/messages.py index ec20cabf4..484c17c09 100644 --- a/core/src/trezor/messages.py +++ b/core/src/trezor/messages.py @@ -71,7 +71,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["BinanceGetAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["BinanceGetAddress"]: return isinstance(msg, cls) class BinanceAddress(protobuf.MessageType): @@ -85,7 +85,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["BinanceAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["BinanceAddress"]: return isinstance(msg, cls) class BinanceGetPublicKey(protobuf.MessageType): @@ -101,7 +101,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["BinanceGetPublicKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["BinanceGetPublicKey"]: return isinstance(msg, cls) class BinancePublicKey(protobuf.MessageType): @@ -115,7 +115,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["BinancePublicKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["BinancePublicKey"]: return isinstance(msg, cls) class BinanceSignTx(protobuf.MessageType): @@ -141,13 +141,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["BinanceSignTx"]: + def is_type_of(cls, msg: Any) -> TypeGuard["BinanceSignTx"]: return isinstance(msg, cls) class BinanceTxRequest(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["BinanceTxRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["BinanceTxRequest"]: return isinstance(msg, cls) class BinanceTransferMsg(protobuf.MessageType): @@ -163,7 +163,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["BinanceTransferMsg"]: + def is_type_of(cls, msg: Any) -> TypeGuard["BinanceTransferMsg"]: return isinstance(msg, cls) class BinanceOrderMsg(protobuf.MessageType): @@ -191,7 +191,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["BinanceOrderMsg"]: + def is_type_of(cls, msg: Any) -> TypeGuard["BinanceOrderMsg"]: return isinstance(msg, cls) class BinanceCancelMsg(protobuf.MessageType): @@ -209,7 +209,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["BinanceCancelMsg"]: + def is_type_of(cls, msg: Any) -> TypeGuard["BinanceCancelMsg"]: return isinstance(msg, cls) class BinanceSignedTx(protobuf.MessageType): @@ -225,7 +225,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["BinanceSignedTx"]: + def is_type_of(cls, msg: Any) -> TypeGuard["BinanceSignedTx"]: return isinstance(msg, cls) class BinanceInputOutput(protobuf.MessageType): @@ -241,7 +241,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["BinanceInputOutput"]: + def is_type_of(cls, msg: Any) -> TypeGuard["BinanceInputOutput"]: return isinstance(msg, cls) class BinanceCoin(protobuf.MessageType): @@ -257,7 +257,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["BinanceCoin"]: + def is_type_of(cls, msg: Any) -> TypeGuard["BinanceCoin"]: return isinstance(msg, cls) class Success(protobuf.MessageType): @@ -271,7 +271,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["Success"]: + def is_type_of(cls, msg: Any) -> TypeGuard["Success"]: return isinstance(msg, cls) class Failure(protobuf.MessageType): @@ -287,7 +287,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["Failure"]: + def is_type_of(cls, msg: Any) -> TypeGuard["Failure"]: return isinstance(msg, cls) class ButtonRequest(protobuf.MessageType): @@ -303,13 +303,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["ButtonRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["ButtonRequest"]: return isinstance(msg, cls) class ButtonAck(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["ButtonAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["ButtonAck"]: return isinstance(msg, cls) class PinMatrixRequest(protobuf.MessageType): @@ -323,7 +323,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["PinMatrixRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["PinMatrixRequest"]: return isinstance(msg, cls) class PinMatrixAck(protobuf.MessageType): @@ -337,13 +337,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["PinMatrixAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["PinMatrixAck"]: return isinstance(msg, cls) class PassphraseRequest(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["PassphraseRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["PassphraseRequest"]: return isinstance(msg, cls) class PassphraseAck(protobuf.MessageType): @@ -359,7 +359,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["PassphraseAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["PassphraseAck"]: return isinstance(msg, cls) class HDNodeType(protobuf.MessageType): @@ -383,7 +383,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["HDNodeType"]: + def is_type_of(cls, msg: Any) -> TypeGuard["HDNodeType"]: return isinstance(msg, cls) class MultisigRedeemScriptType(protobuf.MessageType): @@ -405,7 +405,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MultisigRedeemScriptType"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MultisigRedeemScriptType"]: return isinstance(msg, cls) class GetPublicKey(protobuf.MessageType): @@ -429,7 +429,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["GetPublicKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["GetPublicKey"]: return isinstance(msg, cls) class PublicKey(protobuf.MessageType): @@ -447,7 +447,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["PublicKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["PublicKey"]: return isinstance(msg, cls) class GetAddress(protobuf.MessageType): @@ -471,7 +471,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["GetAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["GetAddress"]: return isinstance(msg, cls) class Address(protobuf.MessageType): @@ -487,7 +487,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["Address"]: + def is_type_of(cls, msg: Any) -> TypeGuard["Address"]: return isinstance(msg, cls) class GetOwnershipId(protobuf.MessageType): @@ -507,7 +507,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["GetOwnershipId"]: + def is_type_of(cls, msg: Any) -> TypeGuard["GetOwnershipId"]: return isinstance(msg, cls) class OwnershipId(protobuf.MessageType): @@ -521,7 +521,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["OwnershipId"]: + def is_type_of(cls, msg: Any) -> TypeGuard["OwnershipId"]: return isinstance(msg, cls) class SignMessage(protobuf.MessageType): @@ -543,7 +543,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["SignMessage"]: + def is_type_of(cls, msg: Any) -> TypeGuard["SignMessage"]: return isinstance(msg, cls) class MessageSignature(protobuf.MessageType): @@ -559,7 +559,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MessageSignature"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MessageSignature"]: return isinstance(msg, cls) class VerifyMessage(protobuf.MessageType): @@ -579,7 +579,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["VerifyMessage"]: + def is_type_of(cls, msg: Any) -> TypeGuard["VerifyMessage"]: return isinstance(msg, cls) class SignTx(protobuf.MessageType): @@ -613,7 +613,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["SignTx"]: + def is_type_of(cls, msg: Any) -> TypeGuard["SignTx"]: return isinstance(msg, cls) class TxRequest(protobuf.MessageType): @@ -631,7 +631,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxRequest"]: return isinstance(msg, cls) class TxInput(protobuf.MessageType): @@ -675,7 +675,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxInput"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxInput"]: return isinstance(msg, cls) class TxOutput(protobuf.MessageType): @@ -705,7 +705,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxOutput"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxOutput"]: return isinstance(msg, cls) class PrevTx(protobuf.MessageType): @@ -735,7 +735,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["PrevTx"]: + def is_type_of(cls, msg: Any) -> TypeGuard["PrevTx"]: return isinstance(msg, cls) class PrevInput(protobuf.MessageType): @@ -757,7 +757,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["PrevInput"]: + def is_type_of(cls, msg: Any) -> TypeGuard["PrevInput"]: return isinstance(msg, cls) class PrevOutput(protobuf.MessageType): @@ -775,7 +775,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["PrevOutput"]: + def is_type_of(cls, msg: Any) -> TypeGuard["PrevOutput"]: return isinstance(msg, cls) class TxAckPaymentRequest(protobuf.MessageType): @@ -797,7 +797,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxAckPaymentRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxAckPaymentRequest"]: return isinstance(msg, cls) class TxAckInput(protobuf.MessageType): @@ -811,7 +811,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxAckInput"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxAckInput"]: return isinstance(msg, cls) class TxAckOutput(protobuf.MessageType): @@ -825,7 +825,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxAckOutput"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxAckOutput"]: return isinstance(msg, cls) class TxAckPrevMeta(protobuf.MessageType): @@ -839,7 +839,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxAckPrevMeta"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxAckPrevMeta"]: return isinstance(msg, cls) class TxAckPrevInput(protobuf.MessageType): @@ -853,7 +853,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxAckPrevInput"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxAckPrevInput"]: return isinstance(msg, cls) class TxAckPrevOutput(protobuf.MessageType): @@ -867,7 +867,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxAckPrevOutput"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxAckPrevOutput"]: return isinstance(msg, cls) class TxAckPrevExtraData(protobuf.MessageType): @@ -881,7 +881,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxAckPrevExtraData"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxAckPrevExtraData"]: return isinstance(msg, cls) class GetOwnershipProof(protobuf.MessageType): @@ -907,7 +907,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["GetOwnershipProof"]: + def is_type_of(cls, msg: Any) -> TypeGuard["GetOwnershipProof"]: return isinstance(msg, cls) class OwnershipProof(protobuf.MessageType): @@ -923,7 +923,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["OwnershipProof"]: + def is_type_of(cls, msg: Any) -> TypeGuard["OwnershipProof"]: return isinstance(msg, cls) class AuthorizeCoinJoin(protobuf.MessageType): @@ -951,7 +951,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["AuthorizeCoinJoin"]: + def is_type_of(cls, msg: Any) -> TypeGuard["AuthorizeCoinJoin"]: return isinstance(msg, cls) class HDNodePathType(protobuf.MessageType): @@ -967,7 +967,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["HDNodePathType"]: + def is_type_of(cls, msg: Any) -> TypeGuard["HDNodePathType"]: return isinstance(msg, cls) class TxRequestDetailsType(protobuf.MessageType): @@ -987,7 +987,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxRequestDetailsType"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxRequestDetailsType"]: return isinstance(msg, cls) class TxRequestSerializedType(protobuf.MessageType): @@ -1005,7 +1005,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxRequestSerializedType"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxRequestSerializedType"]: return isinstance(msg, cls) class PaymentRequestMemo(protobuf.MessageType): @@ -1023,7 +1023,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["PaymentRequestMemo"]: + def is_type_of(cls, msg: Any) -> TypeGuard["PaymentRequestMemo"]: return isinstance(msg, cls) class TextMemo(protobuf.MessageType): @@ -1037,7 +1037,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TextMemo"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TextMemo"]: return isinstance(msg, cls) class RefundMemo(protobuf.MessageType): @@ -1053,7 +1053,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["RefundMemo"]: + def is_type_of(cls, msg: Any) -> TypeGuard["RefundMemo"]: return isinstance(msg, cls) class CoinPurchaseMemo(protobuf.MessageType): @@ -1073,7 +1073,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CoinPurchaseMemo"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CoinPurchaseMemo"]: return isinstance(msg, cls) class TxAckInputWrapper(protobuf.MessageType): @@ -1087,7 +1087,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxAckInputWrapper"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxAckInputWrapper"]: return isinstance(msg, cls) class TxAckOutputWrapper(protobuf.MessageType): @@ -1101,7 +1101,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxAckOutputWrapper"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxAckOutputWrapper"]: return isinstance(msg, cls) class TxAckPrevInputWrapper(protobuf.MessageType): @@ -1115,7 +1115,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxAckPrevInputWrapper"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxAckPrevInputWrapper"]: return isinstance(msg, cls) class TxAckPrevOutputWrapper(protobuf.MessageType): @@ -1129,7 +1129,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxAckPrevOutputWrapper"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxAckPrevOutputWrapper"]: return isinstance(msg, cls) class TxAckPrevExtraDataWrapper(protobuf.MessageType): @@ -1143,7 +1143,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TxAckPrevExtraDataWrapper"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TxAckPrevExtraDataWrapper"]: return isinstance(msg, cls) class CardanoBlockchainPointerType(protobuf.MessageType): @@ -1161,7 +1161,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoBlockchainPointerType"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoBlockchainPointerType"]: return isinstance(msg, cls) class CardanoNativeScript(protobuf.MessageType): @@ -1187,7 +1187,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoNativeScript"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoNativeScript"]: return isinstance(msg, cls) class CardanoGetNativeScriptHash(protobuf.MessageType): @@ -1205,7 +1205,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoGetNativeScriptHash"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoGetNativeScriptHash"]: return isinstance(msg, cls) class CardanoNativeScriptHash(protobuf.MessageType): @@ -1219,7 +1219,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoNativeScriptHash"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoNativeScriptHash"]: return isinstance(msg, cls) class CardanoAddressParametersType(protobuf.MessageType): @@ -1245,7 +1245,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoAddressParametersType"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoAddressParametersType"]: return isinstance(msg, cls) class CardanoGetAddress(protobuf.MessageType): @@ -1267,7 +1267,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoGetAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoGetAddress"]: return isinstance(msg, cls) class CardanoAddress(protobuf.MessageType): @@ -1281,7 +1281,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoAddress"]: return isinstance(msg, cls) class CardanoGetPublicKey(protobuf.MessageType): @@ -1299,7 +1299,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoGetPublicKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoGetPublicKey"]: return isinstance(msg, cls) class CardanoPublicKey(protobuf.MessageType): @@ -1315,7 +1315,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoPublicKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoPublicKey"]: return isinstance(msg, cls) class CardanoSignTxInit(protobuf.MessageType): @@ -1369,7 +1369,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoSignTxInit"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoSignTxInit"]: return isinstance(msg, cls) class CardanoTxInput(protobuf.MessageType): @@ -1385,7 +1385,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxInput"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxInput"]: return isinstance(msg, cls) class CardanoTxOutput(protobuf.MessageType): @@ -1413,7 +1413,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxOutput"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxOutput"]: return isinstance(msg, cls) class CardanoAssetGroup(protobuf.MessageType): @@ -1429,7 +1429,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoAssetGroup"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoAssetGroup"]: return isinstance(msg, cls) class CardanoToken(protobuf.MessageType): @@ -1447,7 +1447,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoToken"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoToken"]: return isinstance(msg, cls) class CardanoTxInlineDatumChunk(protobuf.MessageType): @@ -1461,7 +1461,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxInlineDatumChunk"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxInlineDatumChunk"]: return isinstance(msg, cls) class CardanoTxReferenceScriptChunk(protobuf.MessageType): @@ -1475,7 +1475,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxReferenceScriptChunk"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxReferenceScriptChunk"]: return isinstance(msg, cls) class CardanoPoolOwner(protobuf.MessageType): @@ -1491,7 +1491,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoPoolOwner"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoPoolOwner"]: return isinstance(msg, cls) class CardanoPoolRelayParameters(protobuf.MessageType): @@ -1513,7 +1513,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoPoolRelayParameters"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoPoolRelayParameters"]: return isinstance(msg, cls) class CardanoPoolMetadataType(protobuf.MessageType): @@ -1529,7 +1529,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoPoolMetadataType"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoPoolMetadataType"]: return isinstance(msg, cls) class CardanoPoolParametersType(protobuf.MessageType): @@ -1561,7 +1561,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoPoolParametersType"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoPoolParametersType"]: return isinstance(msg, cls) class CardanoTxCertificate(protobuf.MessageType): @@ -1585,7 +1585,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxCertificate"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxCertificate"]: return isinstance(msg, cls) class CardanoTxWithdrawal(protobuf.MessageType): @@ -1605,7 +1605,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxWithdrawal"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxWithdrawal"]: return isinstance(msg, cls) class CardanoCatalystRegistrationParametersType(protobuf.MessageType): @@ -1625,7 +1625,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoCatalystRegistrationParametersType"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoCatalystRegistrationParametersType"]: return isinstance(msg, cls) class CardanoTxAuxiliaryData(protobuf.MessageType): @@ -1641,7 +1641,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxAuxiliaryData"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxAuxiliaryData"]: return isinstance(msg, cls) class CardanoTxMint(protobuf.MessageType): @@ -1655,7 +1655,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxMint"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxMint"]: return isinstance(msg, cls) class CardanoTxCollateralInput(protobuf.MessageType): @@ -1671,7 +1671,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxCollateralInput"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxCollateralInput"]: return isinstance(msg, cls) class CardanoTxRequiredSigner(protobuf.MessageType): @@ -1687,7 +1687,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxRequiredSigner"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxRequiredSigner"]: return isinstance(msg, cls) class CardanoTxReferenceInput(protobuf.MessageType): @@ -1703,13 +1703,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxReferenceInput"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxReferenceInput"]: return isinstance(msg, cls) class CardanoTxItemAck(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxItemAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxItemAck"]: return isinstance(msg, cls) class CardanoTxAuxiliaryDataSupplement(protobuf.MessageType): @@ -1727,7 +1727,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxAuxiliaryDataSupplement"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxAuxiliaryDataSupplement"]: return isinstance(msg, cls) class CardanoTxWitnessRequest(protobuf.MessageType): @@ -1741,7 +1741,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxWitnessRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxWitnessRequest"]: return isinstance(msg, cls) class CardanoTxWitnessResponse(protobuf.MessageType): @@ -1761,13 +1761,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxWitnessResponse"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxWitnessResponse"]: return isinstance(msg, cls) class CardanoTxHostAck(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxHostAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxHostAck"]: return isinstance(msg, cls) class CardanoTxBodyHash(protobuf.MessageType): @@ -1781,13 +1781,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoTxBodyHash"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoTxBodyHash"]: return isinstance(msg, cls) class CardanoSignTxFinished(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CardanoSignTxFinished"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CardanoSignTxFinished"]: return isinstance(msg, cls) class CipherKeyValue(protobuf.MessageType): @@ -1813,7 +1813,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CipherKeyValue"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CipherKeyValue"]: return isinstance(msg, cls) class CipheredKeyValue(protobuf.MessageType): @@ -1827,7 +1827,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CipheredKeyValue"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CipheredKeyValue"]: return isinstance(msg, cls) class IdentityType(protobuf.MessageType): @@ -1851,7 +1851,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["IdentityType"]: + def is_type_of(cls, msg: Any) -> TypeGuard["IdentityType"]: return isinstance(msg, cls) class SignIdentity(protobuf.MessageType): @@ -1871,7 +1871,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["SignIdentity"]: + def is_type_of(cls, msg: Any) -> TypeGuard["SignIdentity"]: return isinstance(msg, cls) class SignedIdentity(protobuf.MessageType): @@ -1889,7 +1889,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["SignedIdentity"]: + def is_type_of(cls, msg: Any) -> TypeGuard["SignedIdentity"]: return isinstance(msg, cls) class GetECDHSessionKey(protobuf.MessageType): @@ -1907,7 +1907,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["GetECDHSessionKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["GetECDHSessionKey"]: return isinstance(msg, cls) class ECDHSessionKey(protobuf.MessageType): @@ -1923,7 +1923,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["ECDHSessionKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["ECDHSessionKey"]: return isinstance(msg, cls) class CosiCommit(protobuf.MessageType): @@ -1937,7 +1937,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CosiCommit"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CosiCommit"]: return isinstance(msg, cls) class CosiCommitment(protobuf.MessageType): @@ -1953,7 +1953,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CosiCommitment"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CosiCommitment"]: return isinstance(msg, cls) class CosiSign(protobuf.MessageType): @@ -1973,7 +1973,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CosiSign"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CosiSign"]: return isinstance(msg, cls) class CosiSignature(protobuf.MessageType): @@ -1987,7 +1987,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CosiSignature"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CosiSignature"]: return isinstance(msg, cls) class Initialize(protobuf.MessageType): @@ -2003,13 +2003,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["Initialize"]: + def is_type_of(cls, msg: Any) -> TypeGuard["Initialize"]: return isinstance(msg, cls) class GetFeatures(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["GetFeatures"]: + def is_type_of(cls, msg: Any) -> TypeGuard["GetFeatures"]: return isinstance(msg, cls) class Features(protobuf.MessageType): @@ -2097,13 +2097,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["Features"]: + def is_type_of(cls, msg: Any) -> TypeGuard["Features"]: return isinstance(msg, cls) class LockDevice(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["LockDevice"]: + def is_type_of(cls, msg: Any) -> TypeGuard["LockDevice"]: return isinstance(msg, cls) class SetBusy(protobuf.MessageType): @@ -2117,13 +2117,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["SetBusy"]: + def is_type_of(cls, msg: Any) -> TypeGuard["SetBusy"]: return isinstance(msg, cls) class EndSession(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EndSession"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EndSession"]: return isinstance(msg, cls) class ApplySettings(protobuf.MessageType): @@ -2153,7 +2153,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["ApplySettings"]: + def is_type_of(cls, msg: Any) -> TypeGuard["ApplySettings"]: return isinstance(msg, cls) class ApplyFlags(protobuf.MessageType): @@ -2167,7 +2167,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["ApplyFlags"]: + def is_type_of(cls, msg: Any) -> TypeGuard["ApplyFlags"]: return isinstance(msg, cls) class ChangePin(protobuf.MessageType): @@ -2181,7 +2181,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["ChangePin"]: + def is_type_of(cls, msg: Any) -> TypeGuard["ChangePin"]: return isinstance(msg, cls) class ChangeWipeCode(protobuf.MessageType): @@ -2195,7 +2195,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["ChangeWipeCode"]: + def is_type_of(cls, msg: Any) -> TypeGuard["ChangeWipeCode"]: return isinstance(msg, cls) class SdProtect(protobuf.MessageType): @@ -2209,7 +2209,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["SdProtect"]: + def is_type_of(cls, msg: Any) -> TypeGuard["SdProtect"]: return isinstance(msg, cls) class Ping(protobuf.MessageType): @@ -2225,13 +2225,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["Ping"]: + def is_type_of(cls, msg: Any) -> TypeGuard["Ping"]: return isinstance(msg, cls) class Cancel(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["Cancel"]: + def is_type_of(cls, msg: Any) -> TypeGuard["Cancel"]: return isinstance(msg, cls) class GetEntropy(protobuf.MessageType): @@ -2245,7 +2245,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["GetEntropy"]: + def is_type_of(cls, msg: Any) -> TypeGuard["GetEntropy"]: return isinstance(msg, cls) class Entropy(protobuf.MessageType): @@ -2259,7 +2259,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["Entropy"]: + def is_type_of(cls, msg: Any) -> TypeGuard["Entropy"]: return isinstance(msg, cls) class GetFirmwareHash(protobuf.MessageType): @@ -2273,7 +2273,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["GetFirmwareHash"]: + def is_type_of(cls, msg: Any) -> TypeGuard["GetFirmwareHash"]: return isinstance(msg, cls) class FirmwareHash(protobuf.MessageType): @@ -2287,13 +2287,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["FirmwareHash"]: + def is_type_of(cls, msg: Any) -> TypeGuard["FirmwareHash"]: return isinstance(msg, cls) class WipeDevice(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["WipeDevice"]: + def is_type_of(cls, msg: Any) -> TypeGuard["WipeDevice"]: return isinstance(msg, cls) class LoadDevice(protobuf.MessageType): @@ -2323,7 +2323,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["LoadDevice"]: + def is_type_of(cls, msg: Any) -> TypeGuard["LoadDevice"]: return isinstance(msg, cls) class ResetDevice(protobuf.MessageType): @@ -2355,19 +2355,19 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["ResetDevice"]: + def is_type_of(cls, msg: Any) -> TypeGuard["ResetDevice"]: return isinstance(msg, cls) class BackupDevice(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["BackupDevice"]: + def is_type_of(cls, msg: Any) -> TypeGuard["BackupDevice"]: return isinstance(msg, cls) class EntropyRequest(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EntropyRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EntropyRequest"]: return isinstance(msg, cls) class EntropyAck(protobuf.MessageType): @@ -2381,7 +2381,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EntropyAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EntropyAck"]: return isinstance(msg, cls) class RecoveryDevice(protobuf.MessageType): @@ -2411,7 +2411,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["RecoveryDevice"]: + def is_type_of(cls, msg: Any) -> TypeGuard["RecoveryDevice"]: return isinstance(msg, cls) class WordRequest(protobuf.MessageType): @@ -2425,7 +2425,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["WordRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["WordRequest"]: return isinstance(msg, cls) class WordAck(protobuf.MessageType): @@ -2439,7 +2439,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["WordAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["WordAck"]: return isinstance(msg, cls) class SetU2FCounter(protobuf.MessageType): @@ -2453,13 +2453,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["SetU2FCounter"]: + def is_type_of(cls, msg: Any) -> TypeGuard["SetU2FCounter"]: return isinstance(msg, cls) class GetNextU2FCounter(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["GetNextU2FCounter"]: + def is_type_of(cls, msg: Any) -> TypeGuard["GetNextU2FCounter"]: return isinstance(msg, cls) class NextU2FCounter(protobuf.MessageType): @@ -2473,37 +2473,37 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NextU2FCounter"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NextU2FCounter"]: return isinstance(msg, cls) class DoPreauthorized(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DoPreauthorized"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DoPreauthorized"]: return isinstance(msg, cls) class PreauthorizedRequest(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["PreauthorizedRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["PreauthorizedRequest"]: return isinstance(msg, cls) class CancelAuthorization(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["CancelAuthorization"]: + def is_type_of(cls, msg: Any) -> TypeGuard["CancelAuthorization"]: return isinstance(msg, cls) class RebootToBootloader(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["RebootToBootloader"]: + def is_type_of(cls, msg: Any) -> TypeGuard["RebootToBootloader"]: return isinstance(msg, cls) class GetNonce(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["GetNonce"]: + def is_type_of(cls, msg: Any) -> TypeGuard["GetNonce"]: return isinstance(msg, cls) class Nonce(protobuf.MessageType): @@ -2517,7 +2517,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["Nonce"]: + def is_type_of(cls, msg: Any) -> TypeGuard["Nonce"]: return isinstance(msg, cls) class UnlockPath(protobuf.MessageType): @@ -2533,7 +2533,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["UnlockPath"]: + def is_type_of(cls, msg: Any) -> TypeGuard["UnlockPath"]: return isinstance(msg, cls) class UnlockedPathRequest(protobuf.MessageType): @@ -2547,7 +2547,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["UnlockedPathRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["UnlockedPathRequest"]: return isinstance(msg, cls) class DebugLinkDecision(protobuf.MessageType): @@ -2573,7 +2573,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DebugLinkDecision"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DebugLinkDecision"]: return isinstance(msg, cls) class DebugLinkLayout(protobuf.MessageType): @@ -2587,7 +2587,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DebugLinkLayout"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DebugLinkLayout"]: return isinstance(msg, cls) class DebugLinkReseedRandom(protobuf.MessageType): @@ -2601,7 +2601,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DebugLinkReseedRandom"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DebugLinkReseedRandom"]: return isinstance(msg, cls) class DebugLinkRecordScreen(protobuf.MessageType): @@ -2615,7 +2615,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DebugLinkRecordScreen"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DebugLinkRecordScreen"]: return isinstance(msg, cls) class DebugLinkGetState(protobuf.MessageType): @@ -2633,7 +2633,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DebugLinkGetState"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DebugLinkGetState"]: return isinstance(msg, cls) class DebugLinkState(protobuf.MessageType): @@ -2671,13 +2671,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DebugLinkState"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DebugLinkState"]: return isinstance(msg, cls) class DebugLinkStop(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DebugLinkStop"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DebugLinkStop"]: return isinstance(msg, cls) class DebugLinkLog(protobuf.MessageType): @@ -2695,7 +2695,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DebugLinkLog"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DebugLinkLog"]: return isinstance(msg, cls) class DebugLinkMemoryRead(protobuf.MessageType): @@ -2711,7 +2711,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DebugLinkMemoryRead"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DebugLinkMemoryRead"]: return isinstance(msg, cls) class DebugLinkMemory(protobuf.MessageType): @@ -2725,7 +2725,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DebugLinkMemory"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DebugLinkMemory"]: return isinstance(msg, cls) class DebugLinkMemoryWrite(protobuf.MessageType): @@ -2743,7 +2743,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DebugLinkMemoryWrite"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DebugLinkMemoryWrite"]: return isinstance(msg, cls) class DebugLinkFlashErase(protobuf.MessageType): @@ -2757,7 +2757,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DebugLinkFlashErase"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DebugLinkFlashErase"]: return isinstance(msg, cls) class DebugLinkEraseSdCard(protobuf.MessageType): @@ -2771,7 +2771,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DebugLinkEraseSdCard"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DebugLinkEraseSdCard"]: return isinstance(msg, cls) class DebugLinkWatchLayout(protobuf.MessageType): @@ -2785,7 +2785,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DebugLinkWatchLayout"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DebugLinkWatchLayout"]: return isinstance(msg, cls) class EosGetPublicKey(protobuf.MessageType): @@ -2801,7 +2801,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosGetPublicKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosGetPublicKey"]: return isinstance(msg, cls) class EosPublicKey(protobuf.MessageType): @@ -2817,7 +2817,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosPublicKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosPublicKey"]: return isinstance(msg, cls) class EosSignTx(protobuf.MessageType): @@ -2837,7 +2837,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosSignTx"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosSignTx"]: return isinstance(msg, cls) class EosTxActionRequest(protobuf.MessageType): @@ -2851,7 +2851,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosTxActionRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosTxActionRequest"]: return isinstance(msg, cls) class EosTxActionAck(protobuf.MessageType): @@ -2893,7 +2893,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosTxActionAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosTxActionAck"]: return isinstance(msg, cls) class EosSignedTx(protobuf.MessageType): @@ -2907,7 +2907,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosSignedTx"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosSignedTx"]: return isinstance(msg, cls) class EosTxHeader(protobuf.MessageType): @@ -2931,7 +2931,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosTxHeader"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosTxHeader"]: return isinstance(msg, cls) class EosAsset(protobuf.MessageType): @@ -2947,7 +2947,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosAsset"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosAsset"]: return isinstance(msg, cls) class EosPermissionLevel(protobuf.MessageType): @@ -2963,7 +2963,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosPermissionLevel"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosPermissionLevel"]: return isinstance(msg, cls) class EosAuthorizationKey(protobuf.MessageType): @@ -2983,7 +2983,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosAuthorizationKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosAuthorizationKey"]: return isinstance(msg, cls) class EosAuthorizationAccount(protobuf.MessageType): @@ -2999,7 +2999,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosAuthorizationAccount"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosAuthorizationAccount"]: return isinstance(msg, cls) class EosAuthorizationWait(protobuf.MessageType): @@ -3015,7 +3015,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosAuthorizationWait"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosAuthorizationWait"]: return isinstance(msg, cls) class EosAuthorization(protobuf.MessageType): @@ -3035,7 +3035,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosAuthorization"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosAuthorization"]: return isinstance(msg, cls) class EosActionCommon(protobuf.MessageType): @@ -3053,7 +3053,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosActionCommon"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosActionCommon"]: return isinstance(msg, cls) class EosActionTransfer(protobuf.MessageType): @@ -3073,7 +3073,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosActionTransfer"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosActionTransfer"]: return isinstance(msg, cls) class EosActionDelegate(protobuf.MessageType): @@ -3095,7 +3095,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosActionDelegate"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosActionDelegate"]: return isinstance(msg, cls) class EosActionUndelegate(protobuf.MessageType): @@ -3115,7 +3115,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosActionUndelegate"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosActionUndelegate"]: return isinstance(msg, cls) class EosActionRefund(protobuf.MessageType): @@ -3129,7 +3129,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosActionRefund"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosActionRefund"]: return isinstance(msg, cls) class EosActionBuyRam(protobuf.MessageType): @@ -3147,7 +3147,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosActionBuyRam"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosActionBuyRam"]: return isinstance(msg, cls) class EosActionBuyRamBytes(protobuf.MessageType): @@ -3165,7 +3165,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosActionBuyRamBytes"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosActionBuyRamBytes"]: return isinstance(msg, cls) class EosActionSellRam(protobuf.MessageType): @@ -3181,7 +3181,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosActionSellRam"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosActionSellRam"]: return isinstance(msg, cls) class EosActionVoteProducer(protobuf.MessageType): @@ -3199,7 +3199,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosActionVoteProducer"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosActionVoteProducer"]: return isinstance(msg, cls) class EosActionUpdateAuth(protobuf.MessageType): @@ -3219,7 +3219,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosActionUpdateAuth"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosActionUpdateAuth"]: return isinstance(msg, cls) class EosActionDeleteAuth(protobuf.MessageType): @@ -3235,7 +3235,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosActionDeleteAuth"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosActionDeleteAuth"]: return isinstance(msg, cls) class EosActionLinkAuth(protobuf.MessageType): @@ -3255,7 +3255,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosActionLinkAuth"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosActionLinkAuth"]: return isinstance(msg, cls) class EosActionUnlinkAuth(protobuf.MessageType): @@ -3273,7 +3273,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosActionUnlinkAuth"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosActionUnlinkAuth"]: return isinstance(msg, cls) class EosActionNewAccount(protobuf.MessageType): @@ -3293,7 +3293,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosActionNewAccount"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosActionNewAccount"]: return isinstance(msg, cls) class EosActionUnknown(protobuf.MessageType): @@ -3309,7 +3309,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EosActionUnknown"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EosActionUnknown"]: return isinstance(msg, cls) class EthereumSignTypedData(protobuf.MessageType): @@ -3327,7 +3327,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumSignTypedData"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumSignTypedData"]: return isinstance(msg, cls) class EthereumTypedDataStructRequest(protobuf.MessageType): @@ -3341,7 +3341,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumTypedDataStructRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumTypedDataStructRequest"]: return isinstance(msg, cls) class EthereumTypedDataStructAck(protobuf.MessageType): @@ -3355,7 +3355,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumTypedDataStructAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumTypedDataStructAck"]: return isinstance(msg, cls) class EthereumTypedDataValueRequest(protobuf.MessageType): @@ -3369,7 +3369,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumTypedDataValueRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumTypedDataValueRequest"]: return isinstance(msg, cls) class EthereumTypedDataValueAck(protobuf.MessageType): @@ -3383,7 +3383,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumTypedDataValueAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumTypedDataValueAck"]: return isinstance(msg, cls) class EthereumStructMember(protobuf.MessageType): @@ -3399,7 +3399,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumStructMember"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumStructMember"]: return isinstance(msg, cls) class EthereumFieldType(protobuf.MessageType): @@ -3419,7 +3419,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumFieldType"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumFieldType"]: return isinstance(msg, cls) class EthereumGetPublicKey(protobuf.MessageType): @@ -3435,7 +3435,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumGetPublicKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumGetPublicKey"]: return isinstance(msg, cls) class EthereumPublicKey(protobuf.MessageType): @@ -3451,7 +3451,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumPublicKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumPublicKey"]: return isinstance(msg, cls) class EthereumGetAddress(protobuf.MessageType): @@ -3467,7 +3467,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumGetAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumGetAddress"]: return isinstance(msg, cls) class EthereumAddress(protobuf.MessageType): @@ -3481,7 +3481,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumAddress"]: return isinstance(msg, cls) class EthereumSignTx(protobuf.MessageType): @@ -3513,7 +3513,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumSignTx"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumSignTx"]: return isinstance(msg, cls) class EthereumSignTxEIP1559(protobuf.MessageType): @@ -3547,7 +3547,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumSignTxEIP1559"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumSignTxEIP1559"]: return isinstance(msg, cls) class EthereumTxRequest(protobuf.MessageType): @@ -3567,7 +3567,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumTxRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumTxRequest"]: return isinstance(msg, cls) class EthereumTxAck(protobuf.MessageType): @@ -3581,7 +3581,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumTxAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumTxAck"]: return isinstance(msg, cls) class EthereumSignMessage(protobuf.MessageType): @@ -3597,7 +3597,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumSignMessage"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumSignMessage"]: return isinstance(msg, cls) class EthereumMessageSignature(protobuf.MessageType): @@ -3613,7 +3613,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumMessageSignature"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumMessageSignature"]: return isinstance(msg, cls) class EthereumVerifyMessage(protobuf.MessageType): @@ -3631,7 +3631,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumVerifyMessage"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumVerifyMessage"]: return isinstance(msg, cls) class EthereumSignTypedHash(protobuf.MessageType): @@ -3649,7 +3649,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumSignTypedHash"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumSignTypedHash"]: return isinstance(msg, cls) class EthereumTypedDataSignature(protobuf.MessageType): @@ -3665,7 +3665,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumTypedDataSignature"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumTypedDataSignature"]: return isinstance(msg, cls) class EthereumAccessList(protobuf.MessageType): @@ -3681,7 +3681,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["EthereumAccessList"]: + def is_type_of(cls, msg: Any) -> TypeGuard["EthereumAccessList"]: return isinstance(msg, cls) class MoneroTransactionSourceEntry(protobuf.MessageType): @@ -3713,7 +3713,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionSourceEntry"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionSourceEntry"]: return isinstance(msg, cls) class MoneroTransactionDestinationEntry(protobuf.MessageType): @@ -3735,7 +3735,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionDestinationEntry"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionDestinationEntry"]: return isinstance(msg, cls) class MoneroTransactionRsigData(protobuf.MessageType): @@ -3761,7 +3761,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionRsigData"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionRsigData"]: return isinstance(msg, cls) class MoneroGetAddress(protobuf.MessageType): @@ -3785,7 +3785,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroGetAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroGetAddress"]: return isinstance(msg, cls) class MoneroAddress(protobuf.MessageType): @@ -3799,7 +3799,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroAddress"]: return isinstance(msg, cls) class MoneroGetWatchKey(protobuf.MessageType): @@ -3815,7 +3815,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroGetWatchKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroGetWatchKey"]: return isinstance(msg, cls) class MoneroWatchKey(protobuf.MessageType): @@ -3831,7 +3831,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroWatchKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroWatchKey"]: return isinstance(msg, cls) class MoneroTransactionInitRequest(protobuf.MessageType): @@ -3851,7 +3851,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionInitRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionInitRequest"]: return isinstance(msg, cls) class MoneroTransactionInitAck(protobuf.MessageType): @@ -3867,7 +3867,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionInitAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionInitAck"]: return isinstance(msg, cls) class MoneroTransactionSetInputRequest(protobuf.MessageType): @@ -3881,7 +3881,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionSetInputRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionSetInputRequest"]: return isinstance(msg, cls) class MoneroTransactionSetInputAck(protobuf.MessageType): @@ -3905,7 +3905,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionSetInputAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionSetInputAck"]: return isinstance(msg, cls) class MoneroTransactionInputViniRequest(protobuf.MessageType): @@ -3929,19 +3929,19 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionInputViniRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionInputViniRequest"]: return isinstance(msg, cls) class MoneroTransactionInputViniAck(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionInputViniAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionInputViniAck"]: return isinstance(msg, cls) class MoneroTransactionAllInputsSetRequest(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionAllInputsSetRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionAllInputsSetRequest"]: return isinstance(msg, cls) class MoneroTransactionAllInputsSetAck(protobuf.MessageType): @@ -3955,7 +3955,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionAllInputsSetAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionAllInputsSetAck"]: return isinstance(msg, cls) class MoneroTransactionSetOutputRequest(protobuf.MessageType): @@ -3975,7 +3975,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionSetOutputRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionSetOutputRequest"]: return isinstance(msg, cls) class MoneroTransactionSetOutputAck(protobuf.MessageType): @@ -3997,7 +3997,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionSetOutputAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionSetOutputAck"]: return isinstance(msg, cls) class MoneroTransactionAllOutSetRequest(protobuf.MessageType): @@ -4011,7 +4011,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionAllOutSetRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionAllOutSetRequest"]: return isinstance(msg, cls) class MoneroTransactionAllOutSetAck(protobuf.MessageType): @@ -4031,7 +4031,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionAllOutSetAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionAllOutSetAck"]: return isinstance(msg, cls) class MoneroTransactionSignInputRequest(protobuf.MessageType): @@ -4059,7 +4059,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionSignInputRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionSignInputRequest"]: return isinstance(msg, cls) class MoneroTransactionSignInputAck(protobuf.MessageType): @@ -4075,13 +4075,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionSignInputAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionSignInputAck"]: return isinstance(msg, cls) class MoneroTransactionFinalRequest(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionFinalRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionFinalRequest"]: return isinstance(msg, cls) class MoneroTransactionFinalAck(protobuf.MessageType): @@ -4103,7 +4103,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionFinalAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionFinalAck"]: return isinstance(msg, cls) class MoneroKeyImageExportInitRequest(protobuf.MessageType): @@ -4125,13 +4125,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroKeyImageExportInitRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroKeyImageExportInitRequest"]: return isinstance(msg, cls) class MoneroKeyImageExportInitAck(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroKeyImageExportInitAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroKeyImageExportInitAck"]: return isinstance(msg, cls) class MoneroKeyImageSyncStepRequest(protobuf.MessageType): @@ -4145,7 +4145,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroKeyImageSyncStepRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroKeyImageSyncStepRequest"]: return isinstance(msg, cls) class MoneroKeyImageSyncStepAck(protobuf.MessageType): @@ -4159,13 +4159,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroKeyImageSyncStepAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroKeyImageSyncStepAck"]: return isinstance(msg, cls) class MoneroKeyImageSyncFinalRequest(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroKeyImageSyncFinalRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroKeyImageSyncFinalRequest"]: return isinstance(msg, cls) class MoneroKeyImageSyncFinalAck(protobuf.MessageType): @@ -4179,7 +4179,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroKeyImageSyncFinalAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroKeyImageSyncFinalAck"]: return isinstance(msg, cls) class MoneroGetTxKeyRequest(protobuf.MessageType): @@ -4207,7 +4207,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroGetTxKeyRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroGetTxKeyRequest"]: return isinstance(msg, cls) class MoneroGetTxKeyAck(protobuf.MessageType): @@ -4225,7 +4225,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroGetTxKeyAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroGetTxKeyAck"]: return isinstance(msg, cls) class MoneroLiveRefreshStartRequest(protobuf.MessageType): @@ -4241,13 +4241,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroLiveRefreshStartRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroLiveRefreshStartRequest"]: return isinstance(msg, cls) class MoneroLiveRefreshStartAck(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroLiveRefreshStartAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroLiveRefreshStartAck"]: return isinstance(msg, cls) class MoneroLiveRefreshStepRequest(protobuf.MessageType): @@ -4269,7 +4269,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroLiveRefreshStepRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroLiveRefreshStepRequest"]: return isinstance(msg, cls) class MoneroLiveRefreshStepAck(protobuf.MessageType): @@ -4285,19 +4285,19 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroLiveRefreshStepAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroLiveRefreshStepAck"]: return isinstance(msg, cls) class MoneroLiveRefreshFinalRequest(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroLiveRefreshFinalRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroLiveRefreshFinalRequest"]: return isinstance(msg, cls) class MoneroLiveRefreshFinalAck(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroLiveRefreshFinalAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroLiveRefreshFinalAck"]: return isinstance(msg, cls) class DebugMoneroDiagRequest(protobuf.MessageType): @@ -4321,7 +4321,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DebugMoneroDiagRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DebugMoneroDiagRequest"]: return isinstance(msg, cls) class DebugMoneroDiagAck(protobuf.MessageType): @@ -4345,7 +4345,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["DebugMoneroDiagAck"]: + def is_type_of(cls, msg: Any) -> TypeGuard["DebugMoneroDiagAck"]: return isinstance(msg, cls) class MoneroOutputEntry(protobuf.MessageType): @@ -4361,7 +4361,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroOutputEntry"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroOutputEntry"]: return isinstance(msg, cls) class MoneroMultisigKLRki(protobuf.MessageType): @@ -4381,7 +4381,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroMultisigKLRki"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroMultisigKLRki"]: return isinstance(msg, cls) class MoneroRctKeyPublic(protobuf.MessageType): @@ -4397,7 +4397,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroRctKeyPublic"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroRctKeyPublic"]: return isinstance(msg, cls) class MoneroAccountPublicAddress(protobuf.MessageType): @@ -4413,7 +4413,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroAccountPublicAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroAccountPublicAddress"]: return isinstance(msg, cls) class MoneroTransactionData(protobuf.MessageType): @@ -4455,7 +4455,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransactionData"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransactionData"]: return isinstance(msg, cls) class MoneroRingCtSig(protobuf.MessageType): @@ -4473,7 +4473,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroRingCtSig"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroRingCtSig"]: return isinstance(msg, cls) class MoneroSubAddressIndicesList(protobuf.MessageType): @@ -4489,7 +4489,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroSubAddressIndicesList"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroSubAddressIndicesList"]: return isinstance(msg, cls) class MoneroTransferDetails(protobuf.MessageType): @@ -4513,7 +4513,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroTransferDetails"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroTransferDetails"]: return isinstance(msg, cls) class MoneroExportedKeyImage(protobuf.MessageType): @@ -4529,7 +4529,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["MoneroExportedKeyImage"]: + def is_type_of(cls, msg: Any) -> TypeGuard["MoneroExportedKeyImage"]: return isinstance(msg, cls) class NEMGetAddress(protobuf.MessageType): @@ -4547,7 +4547,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NEMGetAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NEMGetAddress"]: return isinstance(msg, cls) class NEMAddress(protobuf.MessageType): @@ -4561,7 +4561,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NEMAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NEMAddress"]: return isinstance(msg, cls) class NEMSignTx(protobuf.MessageType): @@ -4591,7 +4591,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NEMSignTx"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NEMSignTx"]: return isinstance(msg, cls) class NEMSignedTx(protobuf.MessageType): @@ -4607,7 +4607,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NEMSignedTx"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NEMSignedTx"]: return isinstance(msg, cls) class NEMDecryptMessage(protobuf.MessageType): @@ -4627,7 +4627,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NEMDecryptMessage"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NEMDecryptMessage"]: return isinstance(msg, cls) class NEMDecryptedMessage(protobuf.MessageType): @@ -4641,7 +4641,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NEMDecryptedMessage"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NEMDecryptedMessage"]: return isinstance(msg, cls) class NEMTransactionCommon(protobuf.MessageType): @@ -4665,7 +4665,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NEMTransactionCommon"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NEMTransactionCommon"]: return isinstance(msg, cls) class NEMTransfer(protobuf.MessageType): @@ -4687,7 +4687,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NEMTransfer"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NEMTransfer"]: return isinstance(msg, cls) class NEMProvisionNamespace(protobuf.MessageType): @@ -4707,7 +4707,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NEMProvisionNamespace"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NEMProvisionNamespace"]: return isinstance(msg, cls) class NEMMosaicCreation(protobuf.MessageType): @@ -4725,7 +4725,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NEMMosaicCreation"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NEMMosaicCreation"]: return isinstance(msg, cls) class NEMMosaicSupplyChange(protobuf.MessageType): @@ -4745,7 +4745,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NEMMosaicSupplyChange"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NEMMosaicSupplyChange"]: return isinstance(msg, cls) class NEMAggregateModification(protobuf.MessageType): @@ -4761,7 +4761,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NEMAggregateModification"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NEMAggregateModification"]: return isinstance(msg, cls) class NEMImportanceTransfer(protobuf.MessageType): @@ -4777,7 +4777,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NEMImportanceTransfer"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NEMImportanceTransfer"]: return isinstance(msg, cls) class NEMMosaic(protobuf.MessageType): @@ -4795,7 +4795,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NEMMosaic"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NEMMosaic"]: return isinstance(msg, cls) class NEMMosaicDefinition(protobuf.MessageType): @@ -4837,7 +4837,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NEMMosaicDefinition"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NEMMosaicDefinition"]: return isinstance(msg, cls) class NEMCosignatoryModification(protobuf.MessageType): @@ -4853,7 +4853,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["NEMCosignatoryModification"]: + def is_type_of(cls, msg: Any) -> TypeGuard["NEMCosignatoryModification"]: return isinstance(msg, cls) class RippleGetAddress(protobuf.MessageType): @@ -4869,7 +4869,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["RippleGetAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["RippleGetAddress"]: return isinstance(msg, cls) class RippleAddress(protobuf.MessageType): @@ -4883,7 +4883,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["RippleAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["RippleAddress"]: return isinstance(msg, cls) class RippleSignTx(protobuf.MessageType): @@ -4907,7 +4907,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["RippleSignTx"]: + def is_type_of(cls, msg: Any) -> TypeGuard["RippleSignTx"]: return isinstance(msg, cls) class RippleSignedTx(protobuf.MessageType): @@ -4923,7 +4923,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["RippleSignedTx"]: + def is_type_of(cls, msg: Any) -> TypeGuard["RippleSignedTx"]: return isinstance(msg, cls) class RipplePayment(protobuf.MessageType): @@ -4941,7 +4941,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["RipplePayment"]: + def is_type_of(cls, msg: Any) -> TypeGuard["RipplePayment"]: return isinstance(msg, cls) class StellarAsset(protobuf.MessageType): @@ -4959,7 +4959,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarAsset"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarAsset"]: return isinstance(msg, cls) class StellarGetAddress(protobuf.MessageType): @@ -4975,7 +4975,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarGetAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarGetAddress"]: return isinstance(msg, cls) class StellarAddress(protobuf.MessageType): @@ -4989,7 +4989,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarAddress"]: return isinstance(msg, cls) class StellarSignTx(protobuf.MessageType): @@ -5025,13 +5025,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarSignTx"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarSignTx"]: return isinstance(msg, cls) class StellarTxOpRequest(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarTxOpRequest"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarTxOpRequest"]: return isinstance(msg, cls) class StellarPaymentOp(protobuf.MessageType): @@ -5051,7 +5051,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarPaymentOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarPaymentOp"]: return isinstance(msg, cls) class StellarCreateAccountOp(protobuf.MessageType): @@ -5069,7 +5069,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarCreateAccountOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarCreateAccountOp"]: return isinstance(msg, cls) class StellarPathPaymentStrictReceiveOp(protobuf.MessageType): @@ -5095,7 +5095,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarPathPaymentStrictReceiveOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarPathPaymentStrictReceiveOp"]: return isinstance(msg, cls) class StellarPathPaymentStrictSendOp(protobuf.MessageType): @@ -5121,7 +5121,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarPathPaymentStrictSendOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarPathPaymentStrictSendOp"]: return isinstance(msg, cls) class StellarManageSellOfferOp(protobuf.MessageType): @@ -5147,7 +5147,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarManageSellOfferOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarManageSellOfferOp"]: return isinstance(msg, cls) class StellarManageBuyOfferOp(protobuf.MessageType): @@ -5173,7 +5173,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarManageBuyOfferOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarManageBuyOfferOp"]: return isinstance(msg, cls) class StellarCreatePassiveSellOfferOp(protobuf.MessageType): @@ -5197,7 +5197,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarCreatePassiveSellOfferOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarCreatePassiveSellOfferOp"]: return isinstance(msg, cls) class StellarSetOptionsOp(protobuf.MessageType): @@ -5233,7 +5233,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarSetOptionsOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarSetOptionsOp"]: return isinstance(msg, cls) class StellarChangeTrustOp(protobuf.MessageType): @@ -5251,7 +5251,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarChangeTrustOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarChangeTrustOp"]: return isinstance(msg, cls) class StellarAllowTrustOp(protobuf.MessageType): @@ -5273,7 +5273,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarAllowTrustOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarAllowTrustOp"]: return isinstance(msg, cls) class StellarAccountMergeOp(protobuf.MessageType): @@ -5289,7 +5289,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarAccountMergeOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarAccountMergeOp"]: return isinstance(msg, cls) class StellarManageDataOp(protobuf.MessageType): @@ -5307,7 +5307,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarManageDataOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarManageDataOp"]: return isinstance(msg, cls) class StellarBumpSequenceOp(protobuf.MessageType): @@ -5323,7 +5323,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarBumpSequenceOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarBumpSequenceOp"]: return isinstance(msg, cls) class StellarSignedTx(protobuf.MessageType): @@ -5339,7 +5339,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["StellarSignedTx"]: + def is_type_of(cls, msg: Any) -> TypeGuard["StellarSignedTx"]: return isinstance(msg, cls) class TezosGetAddress(protobuf.MessageType): @@ -5355,7 +5355,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TezosGetAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TezosGetAddress"]: return isinstance(msg, cls) class TezosAddress(protobuf.MessageType): @@ -5369,7 +5369,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TezosAddress"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TezosAddress"]: return isinstance(msg, cls) class TezosGetPublicKey(protobuf.MessageType): @@ -5385,7 +5385,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TezosGetPublicKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TezosGetPublicKey"]: return isinstance(msg, cls) class TezosPublicKey(protobuf.MessageType): @@ -5399,7 +5399,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TezosPublicKey"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TezosPublicKey"]: return isinstance(msg, cls) class TezosSignTx(protobuf.MessageType): @@ -5427,7 +5427,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TezosSignTx"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TezosSignTx"]: return isinstance(msg, cls) class TezosSignedTx(protobuf.MessageType): @@ -5445,7 +5445,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TezosSignedTx"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TezosSignedTx"]: return isinstance(msg, cls) class TezosContractID(protobuf.MessageType): @@ -5461,7 +5461,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TezosContractID"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TezosContractID"]: return isinstance(msg, cls) class TezosRevealOp(protobuf.MessageType): @@ -5485,7 +5485,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TezosRevealOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TezosRevealOp"]: return isinstance(msg, cls) class TezosTransactionOp(protobuf.MessageType): @@ -5515,7 +5515,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TezosTransactionOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TezosTransactionOp"]: return isinstance(msg, cls) class TezosOriginationOp(protobuf.MessageType): @@ -5549,7 +5549,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TezosOriginationOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TezosOriginationOp"]: return isinstance(msg, cls) class TezosDelegationOp(protobuf.MessageType): @@ -5573,7 +5573,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TezosDelegationOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TezosDelegationOp"]: return isinstance(msg, cls) class TezosProposalOp(protobuf.MessageType): @@ -5591,7 +5591,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TezosProposalOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TezosProposalOp"]: return isinstance(msg, cls) class TezosBallotOp(protobuf.MessageType): @@ -5611,7 +5611,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TezosBallotOp"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TezosBallotOp"]: return isinstance(msg, cls) class TezosParametersManager(protobuf.MessageType): @@ -5629,7 +5629,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TezosParametersManager"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TezosParametersManager"]: return isinstance(msg, cls) class TezosManagerTransfer(protobuf.MessageType): @@ -5645,13 +5645,13 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["TezosManagerTransfer"]: + def is_type_of(cls, msg: Any) -> TypeGuard["TezosManagerTransfer"]: return isinstance(msg, cls) class WebAuthnListResidentCredentials(protobuf.MessageType): @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["WebAuthnListResidentCredentials"]: + def is_type_of(cls, msg: Any) -> TypeGuard["WebAuthnListResidentCredentials"]: return isinstance(msg, cls) class WebAuthnAddResidentCredential(protobuf.MessageType): @@ -5665,7 +5665,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["WebAuthnAddResidentCredential"]: + def is_type_of(cls, msg: Any) -> TypeGuard["WebAuthnAddResidentCredential"]: return isinstance(msg, cls) class WebAuthnRemoveResidentCredential(protobuf.MessageType): @@ -5679,7 +5679,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["WebAuthnRemoveResidentCredential"]: + def is_type_of(cls, msg: Any) -> TypeGuard["WebAuthnRemoveResidentCredential"]: return isinstance(msg, cls) class WebAuthnCredentials(protobuf.MessageType): @@ -5693,7 +5693,7 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["WebAuthnCredentials"]: + def is_type_of(cls, msg: Any) -> TypeGuard["WebAuthnCredentials"]: return isinstance(msg, cls) class WebAuthnCredential(protobuf.MessageType): @@ -5729,5 +5729,5 @@ if TYPE_CHECKING: pass @classmethod - def is_type_of(cls, msg: protobuf.MessageType) -> TypeGuard["WebAuthnCredential"]: + def is_type_of(cls, msg: Any) -> TypeGuard["WebAuthnCredential"]: return isinstance(msg, cls)