Пример #1
0
    def get_data(self, data=None):
        if data:
            self.data = data

        if not hasattr(self, 'data'):
            self.data = G.get_repo(self.full_name)

        return self.data
Пример #2
0
    def get_data(self, data=None):
        if data:
            self.data = data

        if not hasattr(self, 'data'):
            self.data = G.get_user(self.login)

        return self.data