Пример #1
0
def getWordsRequest(keyname):
    value = cmapi.getItemValue(keyname, modelname=WordsRequest)
    cmapi.removeItem(keyname, modelname=WordsRequest)
    return value
Пример #2
0
def removeEvent(scope, eventId):
    cmapi.removeItem(scope + '.' + str(eventId), modelname=HotEvent)