MCPcopy
hub / github.com/celery/celery / link_error

Method link_error

celery/canvas.py:1681–1691  ·  view source on GitHub ↗
(self, sig)

Source from the content-addressed store, hash-verified

1679 return self.tasks[0].link(sig)
1680
1681 def link_error(self, sig):
1682 # Any child task might error so we need to ensure that they are all
1683 # capable of calling the linked error signature. This opens the
1684 # possibility that the task is called more than once but that's better
1685 # than it not being called at all.
1686 #
1687 # We return a concretised tuple of the signatures actually applied to
1688 # each child task signature, of which there might be none!
1689 sig = maybe_signature(sig)
1690
1691 return tuple(child_task.link_error(sig.clone(immutable=True)) for child_task in self.tasks)
1692
1693 def _prepared(self, tasks, partial_args, group_id, root_id, app,
1694 CallableSignature=abstract.CallableSignature,

Calls 2

maybe_signatureFunction · 0.85
cloneMethod · 0.45