human
I wrote the below code

    def update_status():
        model.update_status(update_index=True)
    task = qtutils.SimpleTask(parent, update_status)
    runtask.start(task)

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

def init_update_task(parent, runtask, model):