From 633c881c3b8732dddc5b4abdbe111769b72137e3 Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Sat, 28 Jan 2023 23:40:56 +0100 Subject: Support unfurling usergroup names --- slack/error.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'slack/error.py') 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 -- cgit