def METHOD_NAME(author_id):
    """
    Lists books in the library written by the specified author.
    :param author_id: The ID of the author to query.
    :return: The list of books written by the specified author.
    """
    author_id = int(urllib.parse.unquote(author_id))
    return {'books': get_storage().get_books(author_id=author_id)}