MCPcopy Create free account
hub / github.com/apache/arrow / __init__

Method __init__

dev/merge_arrow_pr.py:128–136  ·  view source on GitHub ↗
(self, github_api, github_id, cmd)

Source from the content-addressed store, hash-verified

126class GitHubIssue(object):
127
128 def __init__(self, github_api, github_id, cmd):
129 self.github_api = github_api
130 self.github_id = github_id
131 self.cmd = cmd
132
133 try:
134 self.issue = self.github_api.get_issue_data(github_id)
135 except Exception as e:
136 self.cmd.fail("GitHub could not find %s\n%s" % (github_id, e))
137
138 def get_label(self, prefix):
139 prefix = f"{prefix}:"

Callers

nothing calls this directly

Calls 2

get_issue_dataMethod · 0.45
failMethod · 0.45

Tested by

no test coverage detected