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

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