From 82c349ce3e1c556531110753831b3133334c19b7 Mon Sep 17 00:00:00 2001 From: Paul Du Bois Date: Wed, 2 Dec 2020 18:12:41 -0800 Subject: [PATCH] Fix #1731: Incorrect annotation --- github/PullRequest.pyi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/github/PullRequest.pyi b/github/PullRequest.pyi index c539fe33..597a85ad 100644 --- a/github/PullRequest.pyi +++ b/github/PullRequest.pyi @@ -61,16 +61,16 @@ class PullRequest(CompletableGithubObject): ) -> PullRequestComment: ... def create_review_request( self, - reviewers: Union[_NotSetType, str] = ..., - team_reviewers: Union[_NotSetType, str] = ..., + reviewers: Union[_NotSetType, List[str]] = ..., + team_reviewers: Union[_NotSetType, List[str]] = ..., ) -> None: ... @property def created_at(self) -> datetime: ... def delete_labels(self) -> None: ... def delete_review_request( self, - reviewers: Union[_NotSetType, str] = ..., - team_reviewers: Union[_NotSetType, str] = ..., + reviewers: Union[_NotSetType, List[str]] = ..., + team_reviewers: Union[_NotSetType, List[str]] = ..., ) -> None: ... @property def deletions(self) -> int: ...