From 34d3218ab788c8666cd640c779b481d36fcfe9e5 Mon Sep 17 00:00:00 2001 From: Evgeniy Blinov Date: Wed, 31 Jan 2024 16:05:51 +0300 Subject: [PATCH] type hints --- cantok/tokens/abstract_token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cantok/tokens/abstract_token.py b/cantok/tokens/abstract_token.py index 82a6057..782317a 100644 --- a/cantok/tokens/abstract_token.py +++ b/cantok/tokens/abstract_token.py @@ -42,7 +42,7 @@ def close(self) -> None: self.coroutine.close() @staticmethod - def sync_wait(step: Union[int, float], flags: Dict[str, bool], token_for_wait: 'AbstractToken', token_for_check: 'AbstractToken', wrapped_coroutine: Coroutine) -> None: + def sync_wait(step: Union[int, float], flags: Dict[str, bool], token_for_wait: 'AbstractToken', token_for_check: 'AbstractToken', wrapped_coroutine: Coroutine) -> None: # type: ignore[type-arg] if not flags.get('used', False): wrapped_coroutine.close()