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:
Steve Kowalik
2020-10-02 15:13:13 +10:00
parent 7ec4f155af
commit 08b72b48af
+1 -1
View File
@@ -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]: ...