MCPcopy
hub / github.com/celery/celery / apply_chord

Method apply_chord

celery/backends/base.py:826–829  ·  view source on GitHub ↗
(self, header_result_args, body, **kwargs)

Source from the content-addressed store, hash-verified

824 pass
825
826 def apply_chord(self, header_result_args, body, **kwargs):
827 self.ensure_chords_allowed()
828 header_result = self.app.GroupResult(*header_result_args)
829 self.fallback_chord_unlock(header_result, body, **kwargs)
830
831 def current_task_children(self, request=None):
832 request = request or getattr(get_current_task(), 'request', None)

Callers 10

test_apply_chordMethod · 0.45
test_apply_chordMethod · 0.45
test_apply_chordMethod · 0.45
test_apply_chordMethod · 0.45
test_apply_chordMethod · 0.45
runMethod · 0.45

Calls 3

ensure_chords_allowedMethod · 0.95
fallback_chord_unlockMethod · 0.95
GroupResultMethod · 0.80

Tested by 9

test_apply_chordMethod · 0.36
test_apply_chordMethod · 0.36
test_apply_chordMethod · 0.36
test_apply_chordMethod · 0.36
test_apply_chordMethod · 0.36