Skip to content

Commit

Permalink
Unfinished work removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
erhosen committed Dec 2, 2024
1 parent 1043356 commit 27f048c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/magic_di/celery/_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ def runner(self: InjectableCeleryTask, *args: Any, **kwargs: Any) -> Any:
run = self.injector.inject(orig_run) if self.injector else orig_run

if "self" in inspect.signature(run).parameters:
setattr(self, "__retries", self.request.retries)
args = (self, *args)

result = run(*args, **kwargs)
Expand Down

0 comments on commit 27f048c

Please sign in to comment.