diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2023-12-11 10:59:41 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2023-12-11 11:40:57 +0300 |
commit | 708e84a1342eccd8b69c761dd2916e33503a883a (patch) | |
tree | ee90cd4ab26e843c00724b957ef247cc3d1b6f9f /contrib/python/prompt-toolkit/py3/prompt_toolkit/application/dummy.py | |
parent | 425d65a76c5bda62894f93d32f1f5e32f7439539 (diff) | |
download | ydb-708e84a1342eccd8b69c761dd2916e33503a883a.tar.gz |
Update contrib/python/prompt-toolkit/py3 to 3.0.41
Diffstat (limited to 'contrib/python/prompt-toolkit/py3/prompt_toolkit/application/dummy.py')
-rw-r--r-- | contrib/python/prompt-toolkit/py3/prompt_toolkit/application/dummy.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/python/prompt-toolkit/py3/prompt_toolkit/application/dummy.py b/contrib/python/prompt-toolkit/py3/prompt_toolkit/application/dummy.py index 4107d05780..43819e1e71 100644 --- a/contrib/python/prompt-toolkit/py3/prompt_toolkit/application/dummy.py +++ b/contrib/python/prompt-toolkit/py3/prompt_toolkit/application/dummy.py @@ -2,6 +2,7 @@ from __future__ import annotations from typing import Callable +from prompt_toolkit.eventloop import InputHook from prompt_toolkit.formatted_text import AnyFormattedText from prompt_toolkit.input import DummyInput from prompt_toolkit.output import DummyOutput @@ -28,6 +29,7 @@ class DummyApplication(Application[None]): set_exception_handler: bool = True, handle_sigint: bool = True, in_thread: bool = False, + inputhook: InputHook | None = None, ) -> None: raise NotImplementedError("A DummyApplication is not supposed to run.") |