File: foo.py

package info (click to toggle)
celery 5.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,008 kB
  • sloc: python: 64,346; sh: 795; makefile: 378
file content (21 lines) | stat: -rw-r--r-- 249 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from xyzzy import plugh  # noqa

from celery import Celery, shared_task

app = Celery()


@app.task
def bar():
    """Task.

    This is a sample Task.
    """


@shared_task
def baz():
    """Shared Task.

    This is a sample Shared Task.
    """