code: def __get_query_params(parsed_url):
      query_params = dict(parse.parse_qsl(parsed_url.query))
  
      for key, value in query_params.items():
          if key in [
              "min_worker",
              "max_worker",
              "initial_workers",
              "timeout",
              "number_gpu",
              "batch_size",
              "max_batch_delay",
              "response_timeout",
              "limit",
              "next_page_token",
          ]:
              query_params[key] = int(query_params[key])
          if key in ["synchronous"]:
              query_params[key] = bool(query_params[key])
          if key in ["url"] and query_params[key].startswith(
              "{{mar_path_"
          ):
              query_params[key] = test_utils.mar_file_table[
                  query_params[key][2:-2]
              ]
  
      return query_params
  
file_path: serve/test/pytest/test_gRPC_management_apis.py
imports: import grpc
  import json
  import os
  import test_gRPC_utils
  import test_utils
  from urllib import parse
label_desc: Use image node_id 4 for calling a global function with example usage: __get_query_params(parsed_url) and returns: query_params