api.tasks   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 6
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A sample() 0 3 1
1
from celery import Celery
2
3
celery = Celery()
4
5
6
@celery.task
7
def sample():
8
  return "something"
9