예제 #1
0
파일: update.py 프로젝트: phihag/adhocracy
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, '')