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

Function _first_task_options

celery/canvas.py:179–181  ·  view source on GitHub ↗

Return the options a chain passes on to its first task when run.

(chain_)

Source from the content-addressed store, hash-verified

177
178
179def _first_task_options(chain_):
180 """Return the options a chain passes on to its first task when run."""
181 return {k: v for k, v in chain_.options.items() if k not in _CHAIN_RUN_OPTIONS}
182
183
184def _clear_chord_option(sig):

Callers 1

_unroll_bodyMethod · 0.85

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected