human
I wrote the below code

    def decorator(func):
        func.bind_to_methods = methods
        func.detail = False
        func.permission_classes = kwargs.get('permission_classes', [])
        func.kwargs = kwargs
        return func
    return decorator

What's a good function header?

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

def list_route(methods=['get'], **kwargs):