Пример #1
0
def post_update(entity, operation):
    if has_queue():
        entity_ref = to_ref(entity)
        if entity_ref is None:
            return
        data = dict(operation=operation, entity=entity_ref)
        post_message(UPDATE_SERVICE, json.dumps(data))
Пример #2
0
def daily():
    post_message(DAILY, '')
Пример #3
0
def hourly():
    post_message(HOURLY, '')
Пример #4
0
def minute():
    post_message(MINUTE, '')
Пример #5
0
def daily():
    post_message(DAILY, '')
Пример #6
0
def hourly():
    post_message(HOURLY, '')
Пример #7
0
def minute():
    post_message(MINUTE, '')