Define exports with __ALL__ in sub-packages

This commit is contained in:
rlaphoenix 2023-02-10 19:37:03 +00:00
parent 77d892a2a9
commit 09e29cb2e1
5 changed files with 12 additions and 0 deletions

View File

@ -1,2 +1,4 @@
from .aria2c import aria2c
from .saldl import saldl
__ALL__ = (aria2c, saldl)

View File

@ -4,3 +4,6 @@ from devine.core.drm.clearkey import ClearKey
from devine.core.drm.widevine import Widevine
DRM_T = Union[ClearKey, Widevine]
__ALL__ = (ClearKey, Widevine, DRM_T)

View File

@ -1,2 +1,4 @@
from .dash import DASH
from .hls import HLS
__ALL__ = (DASH, HLS)

View File

@ -1,3 +1,5 @@
from .basic import Basic
from .hola import Hola
from .nordvpn import NordVPN
__ALL__ = (Basic, Hola, NordVPN)

View File

@ -6,3 +6,6 @@ from .song import Album, Song
Title_T = Union[Movie, Episode, Song]
Titles_T = Union[Movies, Series, Album]
__ALL__ = (Episode, Series, Movie, Movies, Album, Song, Title_T, Titles_T)