Explorar o código

Forgot imports in example (thanks lucy)

Ask Solem %!s(int64=16) %!d(string=hai) anos
pai
achega
7c684a78c3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      README

+ 1 - 0
README

@@ -204,6 +204,7 @@ advanced features of celery later.
 This is a task that basically does nothing but take some arguments,
 and return a value:
 
+    >>> from celery.task import Task, tasks
     >>> class MyTask(Task):
     ...     name = "myapp.mytask"
     ...     def run(self, some_arg, **kwargs):