Sfoglia il codice sorgente

Removes subtask.get_type alias to subtask.type

Ask Solem 14 anni fa
parent
commit
a3f529c89d
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      celery/task/sets.py

+ 0 - 3
celery/task/sets.py

@@ -92,9 +92,6 @@ class subtask(AttributeDict):
         options = dict(self.options, **options)
         return self.type.apply_async(args, kwargs, **options)
 
-    def get_type(self):
-        return self.type
-
     def __reduce__(self):
         # for serialization, the task type is lazily loaded,
         # and not stored in the dict itself.