def __init__(self, config, agentid, issue):
self.config = config
self.agentid = agentid
self.issue = issue
#logging.debug(yaml.dump(config))
self.ghuser_name = config.github()['git_user_name']
self.ghtoken = config.github()['git_app_token']
self.ghrepo_name = config.github()['git_repo_name']
self.gh_rlimit = config.github()['git_rlimit']
self.ghcomm_limit = config.github()['git_comm_limit']
self.gh = Github(self.ghuser_name, self.ghtoken)
self.ghuser = self.gh.get_user()
self.ghrepo = self.ghuser.get_repo(self.ghrepo_name)
self.ghissue = self.ghrepo.get_issue(self.issue)
评论列表
文章目录