Factory
Configuration relating to the Remote
module.
This configuration can be used to inject dependencies into dependencies throughout the module.
Classes:
|
Stores the key object classes for a remote source |
- class musify.libraries.remote.core.factory.RemoteObjectFactory(playlist, track, album, artist, api=None)
Bases:
Generic
Stores the key object classes for a remote source
Attributes:
The playlist type for this remote source
The track type for this remote source
The album type for this remote source
The artist type for this remote source
An optional
RemoteAPI
object to pass to each object on instantiation-
playlist:
type
[TypeVar
(PL
, bound=RemotePlaylist
)] The playlist type for this remote source
-
track:
type
[TypeVar
(TR
, bound=RemoteTrack
)] The track type for this remote source
-
album:
type
[TypeVar
(AL
, bound=RemoteAlbum
)] The album type for this remote source
-
artist:
type
[TypeVar
(AR
, bound=RemoteArtist
)] The artist type for this remote source
-
playlist: