[docs]classPacketCls:"""Packet commands group definition. 3 total commands, 3 Subgroups, 0 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("packet",core,parent)@propertydefcount(self):"""count commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_count'):from.CountimportCountClsself._count=CountCls(self._core,self._cmd_group)returnself._count@propertydefinfinite(self):"""infinite commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_infinite'):from.InfiniteimportInfiniteClsself._infinite=InfiniteCls(self._core,self._cmd_group)returnself._infinite@propertydefsoffset(self):"""soffset commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_soffset'):from.SoffsetimportSoffsetClsself._soffset=SoffsetCls(self._core,self._cmd_group)returnself._soffsetdefclone(self)->'PacketCls':"""Clones the group by creating new object from it and its whole existing subgroups Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group"""new_group=PacketCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group