parameters: (self, *args, **kw)
return_statement: return BaseTool.newContent(self, *args, **kw)
docstring: the newContent is overriden to not use generateNewId
docstring_summary: the newContent is overriden to not use generateNewId
docstring_tokens: the newContent is overriden to not use generateNewId
function: def newContent(self, *args, **kw):
      """
        the newContent is overriden to not use generateNewId
      """
      if not kw.has_key(id):
        new_id = self._generateNextId()
        if new_id is not None:
          kw['id'] = new_id
        else:
          raise ValueError('Failed to gererate id')
      return BaseTool.newContent(self, *args, **kw)
function_tokens: def newContent ( self , * args , * * kw ) : if not kw . has_key ( id ) : new_id = self . _generateNextId ( ) if new_id is not None : kw [ 'id' ] = new_id else : raise ValueError ( 'Failed to gererate id' ) return BaseTool . newContent ( self , * args , * * kw )