aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/compat/asyncio/tasks.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-04-24 21:58:18 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-04-26 05:43:20 +0530
commit9196cbfe8bb7a6eb46037735b76f21963dfdc61a (patch)
tree050c5df59f73c0dc15e99ae6388595ea6e00986f /yt_dlp/compat/asyncio/tasks.py
parent9cd080508db2daf625994f9aef29790f4bca7996 (diff)
downloadhypervideo-pre-9196cbfe8bb7a6eb46037735b76f21963dfdc61a.tar.lz
hypervideo-pre-9196cbfe8bb7a6eb46037735b76f21963dfdc61a.tar.xz
hypervideo-pre-9196cbfe8bb7a6eb46037735b76f21963dfdc61a.zip
[compat] Ensure submodules are correctly wrapped
Diffstat (limited to 'yt_dlp/compat/asyncio/tasks.py')
-rw-r--r--yt_dlp/compat/asyncio/tasks.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/yt_dlp/compat/asyncio/tasks.py b/yt_dlp/compat/asyncio/tasks.py
index cb31e52fa..9d98fdfeb 100644
--- a/yt_dlp/compat/asyncio/tasks.py
+++ b/yt_dlp/compat/asyncio/tasks.py
@@ -2,6 +2,11 @@
from asyncio.tasks import * # noqa: F403
+from ..compat_utils import passthrough_module
+
+passthrough_module(__name__, 'asyncio.tasks')
+del passthrough_module
+
try: # >= 3.7
all_tasks
except NameError: