diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-01-29 16:58:45 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:53 +0100 |
commit | e892fca6a2140057b155bf623a5dc11ea41e2577 (patch) | |
tree | 0317dc38ca3936a542677095e9286e3b8022e3cc /typings/slack_api | |
parent | b28acc3d7d14acfc5c8244118a4e57909d88e752 (diff) | |
download | wee-slack-e892fca6a2140057b155bf623a5dc11ea41e2577.tar.gz |
Fix some mypy specific type issues
Diffstat (limited to 'typings/slack_api')
-rw-r--r-- | typings/slack_api/slack_conversations_info.pyi | 4 | ||||
-rw-r--r-- | typings/slack_api/slack_users_conversations.pyi | 4 | ||||
-rw-r--r-- | typings/slack_api/slack_users_info.pyi | 4 |
3 files changed, 6 insertions, 6 deletions
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") |