diff options
Diffstat (limited to 'slack/task.py')
-rw-r--r-- | slack/task.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/slack/task.py b/slack/task.py index 5b3ebfd..d765811 100644 --- a/slack/task.py +++ b/slack/task.py @@ -2,13 +2,13 @@ from __future__ import annotations import traceback from typing import ( + TYPE_CHECKING, Any, Awaitable, Coroutine, Dict, Generator, List, - Literal, Optional, Sequence, Tuple, @@ -25,6 +25,9 @@ from slack.log import print_error from slack.shared import shared from slack.util import get_callback_name +if TYPE_CHECKING: + from typing_extensions import Literal + T = TypeVar("T") |