mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
Correct type hint for InputGitTreeElement.sha
InputGitTreeElement.sha was previously updated to accept None to allow files to be deleted, but the type hint was not updated. Fixes #1707
This commit is contained in:
@@ -9,7 +9,7 @@ class InputGitTreeElement:
|
||||
mode: str,
|
||||
type: str,
|
||||
content: Union[str, _NotSetType] = ...,
|
||||
sha: Union[str, _NotSetType] = ...,
|
||||
sha: Union[str, _NotSetType, None] = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def _identity(self) -> Dict[str, str]: ...
|
||||
|
||||
Reference in New Issue
Block a user