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

Method clear_current_state

dev/archery/archery/bot.py:169–175  ·  view source on GitHub ↗

Removes all existing labels starting with LABEL_PREFIX

(self)

Source from the content-addressed store, hash-verified

167 return PullRequestState(states[0])
168
169 def clear_current_state(self):
170 """
171 Removes all existing labels starting with LABEL_PREFIX
172 """
173 for label in self.pull.get_labels():
174 if label.name.startswith(LABEL_PREFIX):
175 self.pull.remove_from_labels(label)
176
177 def compute_next_state(self, current_state):
178 """

Callers 1

handleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected