diff --git a/github/Repository.pyi b/github/Repository.pyi index 48d4cbb5..75507231 100644 --- a/github/Repository.pyi +++ b/github/Repository.pyi @@ -504,7 +504,7 @@ class Repository(CompletableGithubObject): self, path: str, message: str, - content: str, + content: Union[bytes, str], sha: str, branch: Union[_NotSetType, str] = ..., committer: Union[_NotSetType, InputGitAuthor] = ...,