Selaa lähdekoodia

Removes subtask.get_type alias to subtask.type

Ask Solem 14 vuotta sitten
vanhempi
commit
a3f529c89d
1 muutettua tiedostoa jossa 0 lisäystä ja 3 poistoa
  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.