code: def update(self, **kwargs):
          '''Update the object, removing device group if inherited
  
          If inheritedDevicegroup is the string "true" we need to remove
          deviceGroup from the args before we update or we get the
          following error:
  
          The floating traffic-group: /Common/traffic-group-1 can only be set on
          /testfolder if its device-group is inherited from the root folder
          '''
          inherit_device_group = self.__dict__.get('inheritedDevicegroup', False)
          if inherit_device_group == 'true':
              self.__dict__.pop('deviceGroup')
          return self._update(**kwargsf update(self, **kwargs):
          '''Update the object, removing device group if inherited
  
          If inheritedDevicegroup is the string "true" we need to remove
          deviceGroup from the args before we update or we get the
          following error:
  
          The floating traffic-group: /Common/traffic-group-1 can only be set on
          /testfolder if its device-group is inherited from the root folder
          '''
          inherit_device_group = self.__dict__.get('inheritedDevicegroup', False)
          if inherit_device_group == 'true':
              self.__dict__.pop('deviceGroup')
          return self._update(**kwargs)
docs: Update the object, removing device group if inherited
  
          If inheritedDevicegroup is the string "true" we need to remove
          deviceGroup from the args before we update or we get the
          following error:
  
          The floating traffic-group: /Common/traffic-group-1 can only be set on
          /testfolder if its device-group is inherited from the root folder