code: def get_query_type(key):
      """get update query type"""
      if key == "trialConcurrency":
          return "?update_type=TRIAL_CONCURRENCY"
      if key == "maxExperimentDuration":
          return "?update_type=MAX_EXEC_DURATION"
      if key == "searchSpace":
          return "?update_type=SEARCH_SPACE"
      if key == "maxTrialNumber":
          return "?update_type=MAX_TRIAL_NUM"
  
imports: import json
  import os
  from .rest_utils import rest_put, rest_post, rest_get, check_rest_server_quick, check_response
  from .url_utils import experiment_url, import_data_url
  from .config_utils import Config, Experiments
  from .common_utils import get_json_content, print_normal, print_error, print_warning
  from .nnictl_utils import get_experiment_port, get_config_filename, detect_process
  from .launcher_utils import parse_time
  from .constants import REST_TIME_OUT, TUNERS_SUPPORTING_IMPORT_DATA, TUNERS_NO_NEED_TO_IMPORT_DATA
label_desc: Use image node_id 5 for calling a global function with example usage: get_query_type(key) and returns: str, str, str, str