human
I wrote the below code

    def decorate(f):
        e = (endpoint or f.__name__)
        endpoints[e] = f
        url_map.add(Rule(url_rule, endpoint=e, **kwargs))
        return f
    return decorate

What's a good function header?

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

def expose(url_rule, endpoint=None, **kwargs):