code: def parse_args():
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--repository",
          help="Owner and repository name",
          required=True,
      )
      parser.add_argument(
          "--pr-num", help="Pull request number", required=True
      )
      return parser.parse_args()
  
imports: import argparse
  import json
  import os
  import urllib.request
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: parser