gitcommander.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:octohook 作者: dsnezhkov 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号