code: def get_args():
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--appid",
          type=str,
          help="your ehsm appid obtained from enroll",
          required=True,
      )
      parser.add_argument(
          "--apikey",
          type=str,
          help="your ehsm apikey obtained from enroll",
          required=True,
      )
      parser.add_argument(
          "--url",
          type=str,
          help="the address of the ehsm_kms_server, fornmat likes https://1.2.3.4:9000",
          required=True,
      )
      parser.add_argument(
          "--mr_enclave",
          type=str,
          help="mr_enclave you will upload",
          required=True,
      )
      parser.add_argument(
          "--mr_signer",
          type=str,
          help="mr_signer you will upload",
          required=True,
      )
      args = parser.parse_args()
  
      base_url = args.url + "/ehsm?Action="
      print(base_url)
      return (
          base_url,
          args.mr_enclave,
          args.mr_signer,
          args.appid,
          args.apikey,
      )
  
file_path: BigDL/ppml/base/register-mrenclave.py
imports: import requests
  import json
  import argparse
  import base64
  import time
  import random
  import hmac
  from hashlib import sha256
  from collections import OrderedDict
  import urllib.parse
  from requests.packages import urllib3
label_desc: Use image node_id 5 for calling a global function with example usage: get_args() and returns: base_url,  args,  args,  args,  args