From f891bd61366c7cf43ae42fe422514a76222bc8ff Mon Sep 17 00:00:00 2001 From: Chris de Graaf Date: Sun, 9 Aug 2020 19:17:51 -0500 Subject: [PATCH] Fix Repository.create_repository_dispatch type signature (#1643) * Fix Repository.create_repository_dispatch type signature * Change from object to Any --- github/Repository.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/Repository.pyi b/github/Repository.pyi index d6673f4a..492a6b2b 100644 --- a/github/Repository.pyi +++ b/github/Repository.pyi @@ -185,7 +185,7 @@ class Repository(CompletableGithubObject): @overload def create_pull(self, title: _NotSetType, body: _NotSetType, base: str, head: str, maintainer_can_modify: _NotSetType, issue: Issue) -> PullRequest: ... def create_repository_dispatch( - self, event_type: str, client_payload: Dict[str, str] + self, event_type: str, client_payload: Dict[str, Any] ) -> bool: ... def create_source_import( self,