// This file is autogenerated, DO NOT EDIT
// esql/esql-rest.asciidoc:176

[source, python]
----
resp = client.esql.query(
    format="json",
    query="\n    FROM library\n    | KEEP author, name, page_count, release_date\n    | SORT page_count DESC\n    | LIMIT 5\n  ",
    columnar=True,
)
print(resp)
----
