def getWordsRequest(keyname): value = cmapi.getItemValue(keyname, modelname=WordsRequest) cmapi.removeItem(keyname, modelname=WordsRequest) return value
def removeEvent(scope, eventId): cmapi.removeItem(scope + '.' + str(eventId), modelname=HotEvent)