diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-09-16 16:24:52 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:54 +0100 |
commit | 0b46f31f14e9a69568535b2c73bc00fc396e2d71 (patch) | |
tree | 5aa4e44a92107d182da91543f784bebcedd53347 /slack/task.py | |
parent | 748991ae4d0bf3726b4a1eeb851b2d3a6446b2bb (diff) | |
download | wee-slack-0b46f31f14e9a69568535b2c73bc00fc396e2d71.tar.gz |
Use hook_url for http requests when available
Diffstat (limited to 'slack/task.py')
-rw-r--r-- | slack/task.py | 5 |
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 |