From 19e46bbf90f4cef8d52280bc4461da6b64b4151a Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 11 Nov 2020 18:14:55 +1100 Subject: [PATCH] Remove older MainClass.get_installation() (#1738) There are two get_installation() methods in MainClass, with different arguments. get_installation(owner, repo) is documented and tested, and get_installation(id) is neither. Remove it to avoid confusion. --- github/MainClass.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/github/MainClass.py b/github/MainClass.py index d321ce6c..65c94364 100644 --- a/github/MainClass.py +++ b/github/MainClass.py @@ -785,16 +785,6 @@ class Github(object): """ return self.create_from_raw_data(*pickle.load(f)) - def get_installation(self, id): - """ - - :param id: - :return: - """ - return Installation.Installation( - self.__requester, headers={}, attributes={"id": id}, completed=True - ) - def get_oauth_application(self, client_id, client_secret): return github.ApplicationOAuth.ApplicationOAuth( self.__requester,