aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/utils/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/utils/__init__.py')
-rw-r--r--yt_dlp/utils/__init__.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/yt_dlp/utils/__init__.py b/yt_dlp/utils/__init__.py
new file mode 100644
index 000000000..74b39e2c7
--- /dev/null
+++ b/yt_dlp/utils/__init__.py
@@ -0,0 +1,14 @@
+import warnings
+
+from ..compat.compat_utils import passthrough_module
+
+# XXX: Implement this the same way as other DeprecationWarnings without circular import
+passthrough_module(__name__, '._legacy', callback=lambda attr: warnings.warn(
+ DeprecationWarning(f'{__name__}.{attr} is deprecated'), stacklevel=5))
+del passthrough_module
+
+# isort: off
+from .traversal import *
+from ._utils import *
+from ._utils import _configuration_args, _get_exe_version_output
+from ._deprecated import *