def set_label(sig: Signature, label): sig.set(label=label)
def set_execution_options(sig: Signature, **options): """Set arbitrary executions options in every task in the :attr:`sig`""" try: [task.set(**options) for task in sig.tasks] except AttributeError: sig.set(**options)