# -*- coding: utf-8 -*-"""base class for data models"""fromtypingimportTYPE_CHECKINGfrompcapkit.corekit.infoclassimportInfo__all__=['Data']ifTYPE_CHECKING:fromtypingimportTypefrompcapkit.protocols.protocolimportProtocolBaseasProtocol
[docs]classData(Info):"""Base class for data models."""__excluded__=['__next_name__','__next_type__']ifTYPE_CHECKING:#: Next field name, i.e., the name of the payload field.__next_name__:'str'#: Next field type, i.e., the type of the payload field.__next_type__:'Type[Protocol]'