aboutsummaryrefslogtreecommitdiffstats
path: root/slack/http.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-01-29 16:58:45 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:53 +0100
commite892fca6a2140057b155bf623a5dc11ea41e2577 (patch)
tree0317dc38ca3936a542677095e9286e3b8022e3cc /slack/http.py
parentb28acc3d7d14acfc5c8244118a4e57909d88e752 (diff)
downloadwee-slack-e892fca6a2140057b155bf623a5dc11ea41e2577.tar.gz
Fix some mypy specific type issues
Diffstat (limited to 'slack/http.py')
-rw-r--r--slack/http.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/slack/http.py b/slack/http.py
index 9347842..73a3303 100644
--- a/slack/http.py
+++ b/slack/http.py
@@ -3,7 +3,7 @@ from __future__ import annotations
import os
import resource
from io import StringIO
-from typing import Dict
+from typing import Dict, Tuple
import weechat
@@ -19,7 +19,9 @@ def available_file_descriptors():
return max_file_descriptors - num_current_file_descriptors
-async def hook_process_hashtable(command: str, options: Dict[str, str], timeout: int):
+async def hook_process_hashtable(
+ command: str, options: Dict[str, str], timeout: int
+) -> Tuple[str, int, str, str]:
future = FutureProcess()
log(
LogLevel.DEBUG,