MCPcopy
hub / github.com/celery/celery / replace_with_stamped_task

Function replace_with_stamped_task

t/integration/tasks.py:519–522  ·  view source on GitHub ↗
(self: StampedTaskOnReplace, replace_with=None)

Source from the content-addressed store, hash-verified

517
518 @shared_task(bind=True, base=StampedTaskOnReplace)
519 def replace_with_stamped_task(self: StampedTaskOnReplace, replace_with=None):
520 if replace_with is None:
521 replace_with = replaced_with_me.s()
522 self.replace(signature(replace_with))
523
524
525@shared_task(bind=True, acks_late=True)

Callers

nothing calls this directly

Calls 3

signatureFunction · 0.90
sMethod · 0.45
replaceMethod · 0.45

Tested by

no test coverage detected