human
Here's a good function header given the following:
I wrote the below code

    def decorator(f):
        f._short_cycle_task = True
        f._ticks_between_runs = kwargs.pop('ticks_between_runs', 0)
        return f
    if kwargs:
        return decorator
    else:
        return decorator(args[0])

What's a good function header?
assistant
#Here's a good function header.

def short_cycle_task(*args, **kwargs):