Exemplo n.º 1
0
def django_datawatch_run(slug,
                         identifier,
                         user_forced_refresh=False,
                         *args,
                         **kwargs):
    logger.debug('running check %s for identifier %s (forced refresh %s)',
                 slug, identifier, user_forced_refresh)
    synchronous.Backend().run(slug=slug,
                              identifier=identifier,
                              user_forced_refresh=user_forced_refresh)
Exemplo n.º 2
0
def django_datawatch_enqueue(slug, *args, **kwargs):
    logger.debug('enqueuing checks for %s', slug)
    synchronous.Backend().enqueue(slug=slug)
Exemplo n.º 3
0
def django_datawatch_refresh(slug, *args, **kwargs):
    logger.debug('refreshing check results for %s', slug)
    synchronous.Backend().refresh(slug=slug)
Exemplo n.º 4
0
def django_datawatch_run(slug, identifier, *args, **kwargs):
    logger.debug('running check %s for identifier %s', slug, identifier)
    synchronous.Backend().run(slug, identifier)