diff --git a/github/Repository.py b/github/Repository.py index 797f928d..d518eab5 100644 --- a/github/Repository.py +++ b/github/Repository.py @@ -758,14 +758,6 @@ class Repository(github.GithubObject.CompletableGithubObject): self._completeIfNotSet(self._teams_url) return self._teams_url.value - @property - def topics(self): - """ - :type: list of strings - """ - self._completeIfNotSet(self._topics) - return self._topics.value - @property def trees_url(self): """ @@ -3413,7 +3405,6 @@ class Repository(github.GithubObject.CompletableGithubObject): self._svn_url = github.GithubObject.NotSet self._tags_url = github.GithubObject.NotSet self._teams_url = github.GithubObject.NotSet - self._topics = github.GithubObject.NotSet self._trees_url = github.GithubObject.NotSet self._updated_at = github.GithubObject.NotSet self._url = github.GithubObject.NotSet @@ -3619,8 +3610,6 @@ class Repository(github.GithubObject.CompletableGithubObject): self._teams_url = self._makeStringAttribute(attributes["teams_url"]) if "trees_url" in attributes: # pragma no branch self._trees_url = self._makeStringAttribute(attributes["trees_url"]) - if "topics" in attributes: # pragma no branch - self._topics = self._makeListOfStringsAttribute(attributes["topics"]) if "updated_at" in attributes: # pragma no branch self._updated_at = self._makeDatetimeAttribute(attributes["updated_at"]) if "url" in attributes: # pragma no branch diff --git a/github/Repository.pyi b/github/Repository.pyi index 1a68ecbf..9192175b 100644 --- a/github/Repository.pyi +++ b/github/Repository.pyi @@ -495,8 +495,6 @@ class Repository(CompletableGithubObject): @property def teams_url(self) -> str: ... @property - def topics(self) -> List[str]: ... - @property def trees_url(self) -> str: ... def unsubscribe_from_hub(self, event: str, callback: str) -> None: ... def update_file( diff --git a/tests/Repository.py b/tests/Repository.py index 7b837a61..208527b0 100644 --- a/tests/Repository.py +++ b/tests/Repository.py @@ -105,7 +105,6 @@ class Repository(Framework.TestCase): self.assertEqual(self.repo.source, None) self.assertEqual(self.repo.ssh_url, "git@github.com:jacquev6/PyGithub.git") self.assertEqual(self.repo.svn_url, "https://github.com/jacquev6/PyGithub") - self.assertEqual(self.repo.topics, None) self.assertEqual( self.repo.updated_at, datetime.datetime(2012, 5, 27, 6, 55, 28) )