human
I wrote the below code

    def decorator(func):
        msg_type_resp[msg_type] = func
        return func
    return decorator

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

def set_msg_type(msg_type):