human
I wrote the below code

    def register(cls):
        EVENT_TYPES[event_type] = cls
        return cls
    return register

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

def register_event(event_type):