human
I wrote the below code

    def f(cls):
        _extension_headers[header_type] = cls
        cls.TYPE = header_type
        return cls
    return f

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

def extension_header_def(header_type):