human
Complete the below
def detail_route(methods=None, **kwargs):

    ''''Used to mark a method on a ViewSet that should be routed for detail requests.'
    '''
assistant
#Here is the Python code you requested.
    methods = ([u'get'] if (methods is None) else methods)
    def decorator(func):
        func.bind_to_methods = methods
        func.detail = True
        func.kwargs = kwargs
        return func
    return decorator