From 19cac44c51cf83619a2c849502c42c04b13025e9 Mon Sep 17 00:00:00 2001 From: Evgeniy Blinov Date: Thu, 8 Aug 2024 14:43:24 +0300 Subject: [PATCH] no extra imports --- cantok/tokens/abstract/abstract_token.py | 2 +- cantok/tokens/timeout_token.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cantok/tokens/abstract/abstract_token.py b/cantok/tokens/abstract/abstract_token.py index 7d5c951..4261612 100644 --- a/cantok/tokens/abstract/abstract_token.py +++ b/cantok/tokens/abstract/abstract_token.py @@ -1,7 +1,7 @@ from sys import getrefcount from abc import ABC, abstractmethod from threading import RLock -from typing import Tuple, List, Dict, Awaitable, Optional, Union, Any +from typing import List, Dict, Awaitable, Optional, Union, Any from collections.abc import Iterable from cantok.errors import CancellationError diff --git a/cantok/tokens/timeout_token.py b/cantok/tokens/timeout_token.py index ca9252c..30376eb 100644 --- a/cantok/tokens/timeout_token.py +++ b/cantok/tokens/timeout_token.py @@ -1,5 +1,5 @@ from time import monotonic_ns, perf_counter -from typing import Union, Callable, Tuple, List, Dict, Any +from typing import Union, Callable, List, Dict, Any from collections.abc import Iterable from cantok import AbstractToken