human
Complete the below
def list_route(methods=['get'], **kwargs):

    ''''Used to mark a method on a ViewSet that should be routed for list requests.'
    '''

=====
Can you provide a the Python code you requested?
assistant
#Here is the Python code you requested.
    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