code: def importASC(key, gpgPassphrase):
      filename = os.path.join(KEY_PATH, "key.asc")
      with open(filename, "w") as f:
          f.write(key)
      subprocess.check_output(
          [
              "gpg2",
              "--batch",
              "--yes",
              "--passphrase-fd",
              "0",
              "--import",
              "{}".format(filename),
          ],
          input=str.encode(gpgPassphrase),
      )
  
file_path: mxnet/ci/publish/scala/buildkey.py
imports: import os
  import json
  import logging
  import subprocess
label_desc: Use image node_id 2 for calling a global function with example usage: importASC(key, gpgPassphrase) without return types