def issue_url(self, issue_key): return url.join( self.base_url, 'browse', issue_key )
def api_url(self, endpoint, *subparts): return url.join(self.base_url, 'rest/api/2', endpoint, *subparts)
def api_url(self, *subparts): return url.join(self.api_base_url, 'repos', self.repo_segment(self.user, self.project), *subparts)
def issue_url(self, issue): return url.join('https://github.com/', self.user, self.project, 'issues', str(issue))
def repo_segment(cls, user, project): return url.join(user, project)
def repo_url(cls, user, project): return url.join("https://github.com/", cls.repo_segment(user, project))
def issue_url(self, issue_key): return url.join(self.base_url, 'issues', str(issue_key))
def api_url(self, endpoint, *subparts): return url.join(self.api_base_url, self.user, self.project, endpoint, *subparts)
def issue_url(self, issue_key): return url.join(self.repo_url(self.user, self.project), 'issue', str(issue_key))