code: def addChildren(self, child_ids):
          
  
          if not hasattr(child_ids, "__iter__"):
              error_msg = "Input parameter 'child_ids' is not iterable"
              self.log.error(error_msg)
              raise exception.BadValue(error_msg)
  
          self.log.debug("Try to add children <Workitem %s> to current "
                         "<Workitem %s>",
                         child_ids,
                         self)
          self._addChildren(child_ids)
          self.log.info("Successfully add children <Workitem %s> to current "
                        "<Workitem %s>",
                        child_ids,
                        self)
docs: Add children to current workitem
  
          :param child_ids: a :class:`list` contains the children
              workitem id/number (integer or equivalent string)