code: def get_client_args():
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--stage",
          default=0,
          type=int,
          help="""
            stage number, which decides change times of target velocity. 
            Eg: stage=0 will keep target_v 1.25m/s;
                stage=3 will change target velocity 3 times, just like Round2 env.""",
      )
      parser.add_argument(
          "--ident", type=int, required=False, help="worker id"
      )
      parser.add_argument(
          "--ip", type=str, required=True, help="server ip"
      )
      parser.add_argument(
          "--port", type=int, required=True, help="server port"
      )
      parser.add_argument(
          "--target_v", type=float, help="target velocity for training"
      )
      parser.add_argument(
          "--act_penalty_lowerbound",
          type=float,
          help="lower bound of action l2 norm penalty",
      )
      parser.add_argument(
          "--act_penalty_coeff",
          type=float,
          default=5.0,
          help="coefficient of action l2 norm penalty",
      )
      parser.add_argument(
          "--vel_penalty_coeff",
          type=float,
          default=1.0,
          help="coefficient of velocity gap penalty",
      )
      parser.add_argument(
          "--discrete_data",
          action="store_true",
          help="if set, discrete target velocity in last stage (args.stage), make target velocity more uniform.",
      )
      parser.add_argument(
          "--discrete_bin",
          type=int,
          default=10,
          help="discrete target velocity in last stage to how many intervals",
      )
      parser.add_argument(
          "--reward_type",
          type=str,
          help="Choose reward type, 'RunFastest' or 'FixedTargetSpeed' or 'Round2'",
      )
      parser.add_argument(
          "--debug",
          action="store_true",
          help="if set, will print debug information",
      )
      args = parser.parse_args()
  
      assert args.reward_type in [
          "RunFastest",
          "FixedTargetSpeed",
          "Round2",
      ]
  
      return args
  
label_desc: Use image node_id 2 for calling a global function with example usage: get_client_args() and returns: args