From 546f6495b7a6749c36995b26bdd20122622b23c2 Mon Sep 17 00:00:00 2001 From: Huw Jones Date: Fri, 6 Nov 2020 04:44:14 +0000 Subject: [PATCH] Fix #1742 - incorrect typehint for `Installation.id` (#1743) * Fix #1742 --- github/Installation.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/github/Installation.pyi b/github/Installation.pyi index 61a499ff..c0026a28 100644 --- a/github/Installation.pyi +++ b/github/Installation.pyi @@ -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]: ...