human
Complete this python program:
def list_route(methods=['get'], **kwargs):
assistant
#Here is the Python program you requested.

    """Used to mark a method on a ViewSet that should be routed for list requests.
    """
    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