diff options
author | Yobmod <yobmod@gmail.com> | 2021-07-31 22:26:20 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-07-31 22:26:20 +0100 |
commit | 39d37d550963a6a64e66ba3d6b9f4b077270a3ad (patch) | |
tree | 0f5f7d75ffc4ac1d6abc689d6739d7077adf7d27 /git/cmd.py | |
parent | 2a350b57ce79a0e1b71623d1146c52918232e074 (diff) | |
download | gitpython-39d37d550963a6a64e66ba3d6b9f4b077270a3ad.tar.gz |
replace some TBDs wiht runtime types
Diffstat (limited to 'git/cmd.py')
-rw-r--r-- | git/cmd.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -68,7 +68,7 @@ __all__ = ('Git',) # Documentation ## @{ -def handle_process_output(process: subprocess.Popen, +def handle_process_output(process: Union[subprocess.Popen, 'Git.AutoInterrupt'], stdout_handler: Union[None, Callable[[AnyStr], None], Callable[[List[AnyStr]], None], @@ -77,7 +77,7 @@ def handle_process_output(process: subprocess.Popen, Callable[[AnyStr], None], Callable[[List[AnyStr]], None]], finalizer: Union[None, - Callable[[subprocess.Popen], None]] = None, + Callable[[Union[subprocess.Popen, 'Git.AutoInterrupt']], None]] = None, decode_streams: bool = True) -> None: """Registers for notifications to learn that process output is ready to read, and dispatches lines to the respective line handlers. |