diff --git a/github/Repository.pyi b/github/Repository.pyi index 2a6730a1..e2f1bfa4 100644 --- a/github/Repository.pyi +++ b/github/Repository.pyi @@ -181,9 +181,9 @@ class Repository(CompletableGithubObject): ) -> Milestone: ... def create_project(self, name: str, body: str = ...) -> Project: ... @overload - def create_pull(self, title: str, body: str, base: str, head: str, maintainer_can_modify: Union[bool, _NotSetType], draft: bool, issue: _NotSetType) -> PullRequest: ... + def create_pull(self, title: str, body: str, base: str, head: str, maintainer_can_modify: Union[bool, _NotSetType] = _NotSetType(), draft: bool = False, issue: _NotSetType = _NotSetType()) -> PullRequest: ... @overload - def create_pull(self, title: _NotSetType, body: _NotSetType, base: str, head: str, maintainer_can_modify: _NotSetType, draft: bool, issue: Issue) -> PullRequest: ... + 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] ) -> bool: ...