human
I wrote the below code

    @functools.wraps(func)
    def wrapper(*args, **kwargs):
        QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
        try:
            ret_val = func(*args, **kwargs)
        finally:
            QApplication.restoreOverrideCursor()
        return ret_val
    return wrapper

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

def with_wait_cursor(func):