diff --git a/src/dishka/integrations/celery.py b/src/dishka/integrations/celery.py index ca235b3..2243f29 100644 --- a/src/dishka/integrations/celery.py +++ b/src/dishka/integrations/celery.py @@ -72,6 +72,8 @@ def exit_scope( class DishkaTask(Task): def __init__(self) -> None: + super().__init__() + run = self.run if not is_dishka_injected(run):