MCPcopy
hub / github.com/celery/celery / set

Method set

celery/canvas.py:538–548  ·  view source on GitHub ↗

Set arbitrary execution options (same as ``.options.update(…)``). Returns: Signature: This is a chaining method call (i.e., it will return ``self``).

(self, immutable=None, **options)

Source from the content-addressed store, hash-verified

536 return signature
537
538 def set(self, immutable=None, **options):
539 """Set arbitrary execution options (same as ``.options.update(…)``).
540
541 Returns:
542 Signature: This is a chaining method call
543 (i.e., it will return ``self``).
544 """
545 if immutable is not None:
546 self.set_immutable(immutable)
547 self.options.update(options)
548 return self
549
550 def set_immutable(self, immutable):
551 self.immutable = immutable

Callers 7

stampMethod · 0.95
stopMethod · 0.45
startMethod · 0.45
syncMethod · 0.45
stopMethod · 0.45
skewMethod · 0.45
linkMethod · 0.45

Calls 2

set_immutableMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected