Merge pull request #1712 from s-t-e-v-e-n-k/inputgittreeelement-typing

Correct type hint for InputGitTreeElement.sha
This commit is contained in:
Pascal Hofmann
2020-10-02 07:52:06 +02:00
committed by GitHub
+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]: ...