From e892fca6a2140057b155bf623a5dc11ea41e2577 Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Sun, 29 Jan 2023 16:58:45 +0100 Subject: Fix some mypy specific type issues --- typings/slack_api/slack_conversations_info.pyi | 4 ++-- typings/slack_api/slack_users_conversations.pyi | 4 ++-- typings/slack_api/slack_users_info.pyi | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'typings/slack_api') diff --git a/typings/slack_api/slack_conversations_info.pyi b/typings/slack_api/slack_conversations_info.pyi index 3ad286e..ec3068f 100644 --- a/typings/slack_api/slack_conversations_info.pyi +++ b/typings/slack_api/slack_conversations_info.pyi @@ -1,10 +1,10 @@ from __future__ import annotations -from typing import Generic, List +from typing import Generic, List, TypeVar from slack_api.slack_common import SlackErrorResponse from slack_api.slack_conversations_history import SlackMessage -from typing_extensions import Literal, TypedDict, TypeVar, final +from typing_extensions import Literal, TypedDict, final T = TypeVar("T") diff --git a/typings/slack_api/slack_users_conversations.pyi b/typings/slack_api/slack_users_conversations.pyi index 391bca0..cbeca8d 100644 --- a/typings/slack_api/slack_users_conversations.pyi +++ b/typings/slack_api/slack_users_conversations.pyi @@ -1,9 +1,9 @@ from __future__ import annotations -from typing import Generic, List +from typing import Generic, List, TypeVar from slack_api.slack_common import SlackErrorResponse, SlackResponseMetadata -from typing_extensions import Literal, TypedDict, TypeVar, final +from typing_extensions import Literal, TypedDict, final T = TypeVar("T") diff --git a/typings/slack_api/slack_users_info.pyi b/typings/slack_api/slack_users_info.pyi index d7ae367..a6a67d9 100644 --- a/typings/slack_api/slack_users_info.pyi +++ b/typings/slack_api/slack_users_info.pyi @@ -1,9 +1,9 @@ from __future__ import annotations -from typing import Dict, Generic, List, Optional +from typing import Dict, Generic, List, Optional, TypeVar from slack_api.slack_common import SlackErrorResponse -from typing_extensions import Literal, NotRequired, TypedDict, TypeVar, final +from typing_extensions import Literal, NotRequired, TypedDict, final T = TypeVar("T") -- cgit