Fix #1742 - incorrect typehint for Installation.id (#1743)

* Fix #1742
This commit is contained in:
Huw Jones
2020-11-06 15:44:14 +11:00
committed by GitHub
parent e690adf3ff
commit 546f6495b7
+2 -2
View File
@@ -1,6 +1,6 @@
from typing import Any, Dict
from github.GithubObject import NonCompletableGithubObject, _ValuedAttribute
from github.GithubObject import NonCompletableGithubObject
from github.PaginatedList import PaginatedList
from github.Repository import Repository
@@ -8,5 +8,5 @@ class Installation(NonCompletableGithubObject):
def _initAttributes(self) -> None: ...
def _useAttributes(self, attributes: Dict[str, Any]) -> None: ...
@property
def id(self) -> _ValuedAttribute: ...
def id(self) -> int: ...
def get_repos(self) -> PaginatedList[Repository]: ...