human
I wrote the below code

    def decorator(func):
        func.wsgi_extends = (func.__name__, kwargs.get('action'))
        return func
    if args:
        return decorator(*args)
    return decorator

What's a good function header?

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

def extends(*args, **kwargs):