// This file is autogenerated, DO NOT EDIT
// cat/thread_pool.asciidoc:178

[source, python]
----
resp = client.cat.thread_pool(
    thread_pool_patterns="generic",
    v=True,
    h="id,name,active,rejected,completed",
)
print(resp)
----
