diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-01-28 23:40:56 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:53 +0100 |
commit | 633c881c3b8732dddc5b4abdbe111769b72137e3 (patch) | |
tree | 4fe5726f9c6fd09678ae76ccb023852715ebbe2a /slack/error.py | |
parent | 2ba6473b41a9a742d4611a8f1259aa36a769ed7e (diff) | |
download | wee-slack-633c881c3b8732dddc5b4abdbe111769b72137e3.tar.gz |
Support unfurling usergroup names
Diffstat (limited to 'slack/error.py')
-rw-r--r-- | slack/error.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/slack/error.py b/slack/error.py index 17427f7..d69fbf9 100644 --- a/slack/error.py +++ b/slack/error.py @@ -1,6 +1,6 @@ from __future__ import annotations -from typing import TYPE_CHECKING, Dict, Mapping, Union +from typing import TYPE_CHECKING, Dict, Mapping, Sequence, Union if TYPE_CHECKING: from slack_api.slack_error import SlackErrorResponse @@ -31,7 +31,9 @@ class SlackApiError(Exception): workspace: SlackWorkspace, method: str, response: SlackErrorResponse, - params: Mapping[str, Union[str, int, bool]] = {}, + params: Mapping[ + str, Union[str, int, bool, Sequence[str], Sequence[int], Sequence[bool]] + ] = {}, ): super().__init__() self.workspace = workspace |