code: def __init__(self, cmd, github_api, git_remote, jira_con, number):
      self.cmd = cmd
      self._github_api = github_api
      self.git_remote = git_remote
      self.con = jira_con
      self.number = number
      self._pr_data = github_api.get_pr_data(number)
      try:
          self.url = self._pr_data["url"]
          self.title = self._pr_data["title"]
          self.body = self._pr_data["body"]
          self.target_ref = self._pr_data["base"]["ref"]
          self.user_login = self._pr_data["user"]["login"]
          self.base_ref = self._pr_data["head"]["ref"]
      except KeyError:
          pprint.pprint(self._pr_data)
          raise
      self.description = "%s/%s" % (self.user_login, self.base_ref)
  
      self.issue = self._get_issue()
  
imports: import configparser
  import os
  import pprint
  import re
  import subprocess
  import sys
  import requests
  import getpass
  from six.moves import input
  import six
label_desc: Use image node_id 1 to create a new PullRequest object from inherited base classes: object with example: obj = PullRequest(cmd, github_api, git_remote, jira_con, number)