# -*- coding: utf-8 -*-"""data models for raw protocol data"""fromtypingimportTYPE_CHECKINGfrompcapkit.corekit.infoclassimportinfo_finalfrompcapkit.protocols.data.protocolimportProtocolifTYPE_CHECKING:fromtypingimportOptional__all__=['Raw']
[docs]@info_finalclassRaw(Protocol):"""Raw packet is an unknown protocol."""#: Original enumeration of this protocol.protocol:'Optional[int]'#: error instance when parsing packet dataerror:'Optional[Exception]'ifTYPE_CHECKING:def__init__(self,protocol:'Optional[int]',error:'Optional[Exception]')->'None':...# pylint: disable=unused-argument,super-init-not-called,multiple-statements