aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/prompt-toolkit/py3/prompt_toolkit/auto_suggest.py
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2023-12-11 10:59:41 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2023-12-11 11:40:57 +0300
commit708e84a1342eccd8b69c761dd2916e33503a883a (patch)
treeee90cd4ab26e843c00724b957ef247cc3d1b6f9f /contrib/python/prompt-toolkit/py3/prompt_toolkit/auto_suggest.py
parent425d65a76c5bda62894f93d32f1f5e32f7439539 (diff)
downloadydb-708e84a1342eccd8b69c761dd2916e33503a883a.tar.gz
Update contrib/python/prompt-toolkit/py3 to 3.0.41
Diffstat (limited to 'contrib/python/prompt-toolkit/py3/prompt_toolkit/auto_suggest.py')
-rw-r--r--contrib/python/prompt-toolkit/py3/prompt_toolkit/auto_suggest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/python/prompt-toolkit/py3/prompt_toolkit/auto_suggest.py b/contrib/python/prompt-toolkit/py3/prompt_toolkit/auto_suggest.py
index 1049d1a451..98cb4ddd92 100644
--- a/contrib/python/prompt-toolkit/py3/prompt_toolkit/auto_suggest.py
+++ b/contrib/python/prompt-toolkit/py3/prompt_toolkit/auto_suggest.py
@@ -72,7 +72,7 @@ class AutoSuggest(metaclass=ABCMeta):
"""
async def get_suggestion_async(
- self, buff: "Buffer", document: Document
+ self, buff: Buffer, document: Document
) -> Suggestion | None:
"""
Return a :class:`.Future` which is set when the suggestions are ready.
@@ -96,7 +96,7 @@ class ThreadedAutoSuggest(AutoSuggest):
return self.auto_suggest.get_suggestion(buff, document)
async def get_suggestion_async(
- self, buff: "Buffer", document: Document
+ self, buff: Buffer, document: Document
) -> Suggestion | None:
"""
Run the `get_suggestion` function in a thread.
@@ -170,7 +170,7 @@ class DynamicAutoSuggest(AutoSuggest):
return auto_suggest.get_suggestion(buff, document)
async def get_suggestion_async(
- self, buff: "Buffer", document: Document
+ self, buff: Buffer, document: Document
) -> Suggestion | None:
auto_suggest = self.get_auto_suggest() or DummyAutoSuggest()
return await auto_suggest.get_suggestion_async(buff, document)