class_docstr: Json API client implementation.
  
  This client is used to interact with a Json API server and perform various actions
  such as triggering DAG runs,deleting DAGs, interacting with pools, and getting lineage information.
class_docstr_tok: ["Json","API","client","implementation",".","This","client","is","used","to","interact","with","a","Json","API","server","and","perform","various","actions","such","as","triggering","DAG","runs",",","deleting","DAGs",",","interacting","with","pools",",","and","getting","lineage","information","."]
docstr: Get a list of all pools.
  
  :return: A list of tuples, each containing the name of a pool,
      the number of slots in the pool, and a description of the pool.
docstr_tok: ["Get","a","list","of","all","pools",".",":","return",":","A","list","of","tuples",",","each","containing","the","name","of","a","pool",",","the","number","of","slots","in","the","pool",",","and","a","description","of","the","pool","."]
code: def get_pools(self):
      """Get a list of all pools.
  
      :return: A list of tuples, each containing the name of a pool,
          the number of slots in the pool, and a description of the pool.
      """
      endpoint = "/api/experimental/pools"
      url = urljoin(self._api_base_url, endpoint)
      pools = self._request(url)
      return [(p["pool"], p["slots"], p["description"]) for p in pools]
  
file_path: airflow/airflow/api/client/json_client.py
imports: from __future__ import annotations
  from urllib.parse import urljoin
  from airflow.api.client import api_client
label_desc: Use image node_id 5 for calling the Client obj's underlying member method code with example usage: obj.get_pools() and returns: unknown