]> jfr.im git - yt-dlp.git/blob - yt_dlp/utils/__init__.py
[cleanup] Misc
[yt-dlp.git] / yt_dlp / utils / __init__.py
1 # flake8: noqa: F401, F403
2 import warnings
3
4 from ..compat.compat_utils import passthrough_module
5
6 # XXX: Implement this the same way as other DeprecationWarnings without circular import
7 passthrough_module(__name__, '._legacy', callback=lambda attr: warnings.warn(
8 DeprecationWarning(f'{__name__}.{attr} is deprecated'), stacklevel=5))
9 del passthrough_module
10
11 # isort: off
12 from .traversal import *
13 from ._utils import *
14 from ._utils import _configuration_args, _get_exe_version_output
15 from ._deprecated import *