class_docstr: Handle requests for the benchmarks/ REST endpoint
docstr: Handle the GET requests for benchmarks/
docstr_tok: ["Handle","the","GET","requests","for","benchmarks\/"]
code: def on_get(self, req: Request, resp: Response):
      """Handle the GET requests for benchmarks/"""
      benchmarks = self.storage.fetch_benchmark({})
  
      response = build_benchmarks_response(benchmarks)
      resp.text = json.dumps(response)
  
file_path: orion/src/orion/serving/benchmarks_resource.py
imports: import json
  from falcon import Request, Response
  from orion.serving.parameters import retrieve_benchmark, verify_query_parameters
  from orion.serving.responses import build_benchmark_response, build_benchmarks_response
label_desc: Use image node_id 2 for calling the BenchmarksResource obj's underlying member method code with example usage: obj.on_get(req, resp) without return types