예제 #1
0
def start(
    ctx,
):
    ctx.ensure_object(dict)
    safe_execution(
        start_main,
    )
예제 #2
0
def format(
    event_id,
    publisher,
):
    safe_execution(
        functools.partial(format_event, event_id, publisher),
    )
예제 #3
0
def publication_list(status, begin, end):
    safe_execution(
        functools.partial(
            list_publications,
            status_name_to_enum["publication"][status],
            frm=begin,
            to=end,
        ),
    )
예제 #4
0
def event_list(status, begin, end):

    safe_execution(
        functools.partial(
            list_events,
            status_name_to_enum["event"][status],
            frm=begin,
            to=end,
        ),
    )
예제 #5
0
def recap():
    safe_execution(
        recap_main,
    )
예제 #6
0
def publication_retry(publication_id):
    safe_execution(
        functools.partial(retry_publication_command, publication_id),
    )
예제 #7
0
def event_retry(event_id):
    safe_execution(
        functools.partial(retry_event_command, event_id),
    )
예제 #8
0
def publish():
    safe_execution(
        publish_main,
    )
예제 #9
0
def pull():
    safe_execution(
        pull_main,
    )