MCPcopy Create free account
hub / github.com/celery/celery / _create_binding

Method _create_binding

celery/backends/rpc.py:223–226  ·  view source on GitHub ↗

Create new binding for task with id.

(self, task_id)

Source from the content-addressed store, hash-verified

221 return self.Exchange(None)
222
223 def _create_binding(self, task_id):
224 """Create new binding for task with id."""
225 # RPC backend caches the binding, as one queue is used for all tasks.
226 return self.binding
227
228 def ensure_chords_allowed(self):
229 raise NotImplementedError(E_NO_CHORD_SUPPORT.strip())

Callers 5

_slurp_from_queueMethod · 0.95
test_create_bindingMethod · 0.80
startMethod · 0.80
consume_fromMethod · 0.80
cancel_forMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_create_bindingMethod · 0.64