<filename>polyaxon/events_handlers/tasks/record.py<gh_stars>0
import auditor

from polyaxon.celery_api import celery_app
from polyaxon.settings import EventsCeleryTasks


@celery_app.task(name=EventsCeleryTasks.EVENTS_NOTIFY, ignore_result=True)
def events_notify(event):
    auditor.notify(event)


@celery_app.task(name=EventsCeleryTasks.EVENTS_LOG, ignore_result=True)
def events_log(event):
    auditor.log(event)


@celery_app.task(name=EventsCeleryTasks.EVENTS_TRACK, ignore_result=True)
def events_track(event):
    auditor.track(event)

<filename>polyaxon/events_handlers/tasks/record.py<gh_stars>0
import auditor

from polyaxon.celery_api import celery_app
from polyaxon.settings import EventsCeleryTasks


@celery_app.task(name=EventsCeleryTasks.EVENTS_NOTIFY, ignore_result=True)
def events_notify(event):
    auditor.notify(event)


@celery_app.task(name=EventsCeleryTasks.EVENTS_LOG, ignore_result=True)
def events_log(event):
    auditor.log(event)


@celery_app.task(name=EventsCeleryTasks.EVENTS_TRACK, ignore_result=True)
def events_track(event):
    auditor.track(event)
