tasks.py 97 B

123456
  1. from celery import task
  2. @task()
  3. def hello_world(to='world'):
  4. return 'Hello {0}'.format(to)