Repository class sets attributes related to pull requests only. Add some functions to analyze issue statistics.
class Repository:
def __enter__(self):
self.set_extra_attributes()
return self
def set_extra_attributes(self):
self.pulls = list(self.get_pulls())
Repository class sets attributes related to pull requests only. Add some functions to analyze issue statistics.