code: def parse_args():
      parser = ArgumentParser()
      parsed, unknown = parser.parse_known_args()
      for arg in unknown:
          if arg.startswith(("-", "--")):
              parser.add_argument(arg.split("=")[0])
  
      return parser.parse_args()
  
imports: import json
  import logging
  import os
  import subprocess
  from argparse import ArgumentParser
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: parser