Skip to content

Commit

Permalink
Remove disable_sync_subtasks from the EagerResult.get method.
Browse files Browse the repository at this point in the history
  • Loading branch information
YPCrumble committed Feb 16, 2023
1 parent e3cf208 commit d323142
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions celery/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -1010,11 +1010,7 @@ def __copy__(self):
def ready(self):
return True

def get(self, timeout=None, propagate=True,
disable_sync_subtasks=True, **kwargs):
if disable_sync_subtasks:
assert_will_not_block()

def get(self, timeout=None, propagate=True, **kwargs):
if self.successful():
return self.result
elif self.state in states.PROPAGATE_STATES:
Expand Down

0 comments on commit d323142

Please sign in to comment.