forked from DRMTalks/devine
Define exports with __ALL__ in sub-packages
This commit is contained in:
parent
77d892a2a9
commit
09e29cb2e1
|
@ -1,2 +1,4 @@
|
||||||
from .aria2c import aria2c
|
from .aria2c import aria2c
|
||||||
from .saldl import saldl
|
from .saldl import saldl
|
||||||
|
|
||||||
|
__ALL__ = (aria2c, saldl)
|
||||||
|
|
|
@ -4,3 +4,6 @@ from devine.core.drm.clearkey import ClearKey
|
||||||
from devine.core.drm.widevine import Widevine
|
from devine.core.drm.widevine import Widevine
|
||||||
|
|
||||||
DRM_T = Union[ClearKey, Widevine]
|
DRM_T = Union[ClearKey, Widevine]
|
||||||
|
|
||||||
|
|
||||||
|
__ALL__ = (ClearKey, Widevine, DRM_T)
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
from .dash import DASH
|
from .dash import DASH
|
||||||
from .hls import HLS
|
from .hls import HLS
|
||||||
|
|
||||||
|
__ALL__ = (DASH, HLS)
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
from .basic import Basic
|
from .basic import Basic
|
||||||
from .hola import Hola
|
from .hola import Hola
|
||||||
from .nordvpn import NordVPN
|
from .nordvpn import NordVPN
|
||||||
|
|
||||||
|
__ALL__ = (Basic, Hola, NordVPN)
|
||||||
|
|
|
@ -6,3 +6,6 @@ from .song import Album, Song
|
||||||
|
|
||||||
Title_T = Union[Movie, Episode, Song]
|
Title_T = Union[Movie, Episode, Song]
|
||||||
Titles_T = Union[Movies, Series, Album]
|
Titles_T = Union[Movies, Series, Album]
|
||||||
|
|
||||||
|
|
||||||
|
__ALL__ = (Episode, Series, Movie, Movies, Album, Song, Title_T, Titles_T)
|
||||||
|
|
Loading…
Reference in New Issue