1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-12 01:28:10 +00:00
trezor-firmware/python/src/trezorlib/messages/Initialize.py

27 lines
553 B
Python

# Automatically generated by pb2py
# fmt: off
from .. import protobuf as p
if __debug__:
try:
from typing import Dict, List # noqa: F401
from typing_extensions import Literal # noqa: F401
except ImportError:
pass
class Initialize(p.MessageType):
MESSAGE_WIRE_TYPE = 0
def __init__(
self,
session_id: bytes = None,
) -> None:
self.session_id = session_id
@classmethod
def get_fields(cls) -> Dict:
return {
3: ('session_id', p.BytesType, 0),
}