Function
replace_with_chain
(self, *args, link_msg=None)
Source from the content-addressed store, hash-verified
| 126 | |
| 127 | @shared_task(bind=True) |
| 128 | def replace_with_chain(self, *args, link_msg=None): |
| 129 | c = chain(identity.s(*args), identity.s()) |
| 130 | link_sig = redis_echo.s() |
| 131 | if link_msg is not None: |
| 132 | link_sig.args = (link_msg,) |
| 133 | link_sig.set(immutable=True) |
| 134 | c.link(link_sig) |
| 135 | |
| 136 | return self.replace(c) |
| 137 | |
| 138 | |
| 139 | @shared_task(bind=True) |
Callers
nothing calls this directly
Tested by
no test coverage detected