# -*- coding: utf-8 -*-# pylint: disable=line-too-long,consider-using-f-string"""CGA Extension Type Tags=============================.. module:: pcapkit.const.mh.cga_typeThis module contains the constant enumeration for **CGA Extension Type Tags**,which is automatically generated from :class:`pcapkit.vendor.mh.cga_type.CGAType`."""fromaenumimportIntEnum,extend_enum__all__=['CGAType']
[docs]@classmethoddef_missing_(cls,value:'int')->'CGAType':"""Lookup function used when value is not found. Args: value: Value to get enum item. """ifnot(isinstance(value,int)and0<=value<=0xFFFF_FFFF_FFFF_FFFF_FFFF_FFFF_FFFF_FFFF):raiseValueError('%r is not a valid %s'%(value,cls.__name__))returnextend_enum(cls,'Tag_%s'%('_'.join(__import__('textwrap').wrap('%032x'%value,4))),value)