Optional ->Union[None]

Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
Václav Valíček 2022-07-26 22:16:07 +02:00
parent de15f3d02d
commit 7689572edb
Signed by: valicek
GPG Key ID: FF05BDCA0C73BB31

View File

@ -53,7 +53,7 @@ class GitRemoteProgress(RemoteProgress):
self, self,
op_code: int, op_code: int,
cur_count: Union[float, str], cur_count: Union[float, str],
max_count: Optional[float, str] = None, max_count: Union[float, str, None] = None,
message: Optional[str] = "", message: Optional[str] = "",
) -> None: ) -> None:
# Do i need to update? # Do i need to update?