def time_limit(self, task_name, soft=None, hard=None, destination=None, **kwargs):
    'Tell workers to set time limits for a task by type.\n\n        Arguments:\n            task_name (str): Name of task to change time limits for.\n            soft (float): New soft time limit (in seconds).\n            hard (float): New hard time limit (in seconds).\n            **kwargs (Any): arguments passed on to :meth:`broadcast`.\n        '
    return self.broadcast('time_limit', arguments={'task_name': task_name, 'hard': hard, 'soft': soft}, destination=destination, **kwargs)
Tell workers to set time limits for a task by type.

Arguments:
    task_name (str): Name of task to change time limits for.
    soft (float): New soft time limit (in seconds).
    hard (float): New hard time limit (in seconds).
    **kwargs (Any): arguments passed on to :meth:`broadcast`.
def time_limit(self, task_name, soft=None, hard=None, destination=None, **kwargs):
    'Tell workers to set time limits for a task by type.\n\n        Arguments:\n            task_name (str): Name of task to change time limits for.\n            soft (float): New soft time limit (in seconds).\n            hard (float): New hard time limit (in seconds).\n            **kwargs (Any): arguments passed on to :meth:`broadcast`.\n        '
    return self.broadcast('time_limit', arguments={'task_name': task_name, 'hard': hard, 'soft': soft}, destination=destination, **kwargs)