What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-29 20:55:23
common celery class python example
import multiprocessingimport celeryimport osclass MyTask(celery.Task): ignore_result = False def __init__(self): # this is called in the main process. # initialize the cache. This empty cache will be # copied (by fork) to each ... Add solution
Best helpers
Noname
+5
Davidw20
+5
Herman Deep
+5
Ornello
+5
Fogwright
+5
Rob Deary
+5
Jonny Five
+5
Van L
+5
Vaishnavi
+5
Dan Nestor
+5