human
I wrote the below code

    def _wrapper(func):
        @wraps(func)
        def _wrapped(*args, **kwargs):
            params = {}
            if (u'params' in kwargs):
                params = kwargs.pop(u'params').copy()
            for p in (es_query_params + GLOBAL_PARAMS):
                if (p in kwargs):
                    v = kwargs.pop(p)
                    if (v is not None):
                        params[p] = _escape(v)
            for p in (u'ignore', u'request_timeout'):
                if (p in kwargs):
                    params[p] = kwargs.pop(p)
            return func(params=params, *args, **kwargs)
        return _wrapped
    return _wrapper

What's a good function header?

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

def query_params(*es_query_params):