aboutsummaryrefslogtreecommitdiffstats
path: root/slack/slack_conversation.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-01-28 22:20:09 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:53 +0100
commit5f71fedd7213fb5873bafa9233cc28cca5690c31 (patch)
treeb94a6b3698c51b4445df27324a9598d2d1319ad7 /slack/slack_conversation.py
parent7ab59b24a43b1219aac5caba59188934bdf69e09 (diff)
downloadwee-slack-5f71fedd7213fb5873bafa9233cc28cca5690c31.tar.gz
Fix compatibility with Python 3.7
Diffstat (limited to 'slack/slack_conversation.py')
-rw-r--r--slack/slack_conversation.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/slack/slack_conversation.py b/slack/slack_conversation.py
index d078ead..a23666e 100644
--- a/slack/slack_conversation.py
+++ b/slack/slack_conversation.py
@@ -2,7 +2,7 @@ from __future__ import annotations
import time
from contextlib import contextmanager
-from typing import TYPE_CHECKING, List, Literal, Optional, Union
+from typing import TYPE_CHECKING, List, Optional, Union
import weechat
@@ -12,6 +12,8 @@ from slack.task import gather
from slack.util import get_callback_name
if TYPE_CHECKING:
+ from typing_extensions import Literal
+
from slack.slack_api import SlackApi
from slack.slack_workspace import SlackWorkspace