aboutsummaryrefslogtreecommitdiffstats
path: root/slack/task.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-09-16 16:24:52 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:54 +0100
commit0b46f31f14e9a69568535b2c73bc00fc396e2d71 (patch)
tree5aa4e44a92107d182da91543f784bebcedd53347 /slack/task.py
parent748991ae4d0bf3726b4a1eeb851b2d3a6446b2bb (diff)
downloadwee-slack-0b46f31f14e9a69568535b2c73bc00fc396e2d71.tar.gz
Use hook_url for http requests when available
Diffstat (limited to 'slack/task.py')
-rw-r--r--slack/task.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/slack/task.py b/slack/task.py
index 6dc02ce..d48af4a 100644
--- a/slack/task.py
+++ b/slack/task.py
@@ -6,6 +6,7 @@ from typing import (
Awaitable,
Callable,
Coroutine,
+ Dict,
Generator,
List,
Optional,
@@ -148,6 +149,10 @@ class FutureProcess(Future[Tuple[str, int, str, str]]):
pass
+class FutureUrl(Future[Tuple[str, Dict[str, str], Dict[str, str]]]):
+ pass
+
+
class FutureTimer(Future[Tuple[int]]):
pass