File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -421,28 +421,6 @@ def __repr__(self):
421421 cls = self .__class__
422422 return f"<{ cls .__module__ } .{ cls .__qualname__ } ({ self .get_id ()} ): { self .title } >"
423423
424- @classmethod
425- @lru_cache ()
426- @cacheable
427- async def from_id (cls , sess : "TidalSession" , id_ : str ) -> "Playlist" :
428- """Fetches :class:`Playlist` from Tidal based on ID
429-
430- example:
431- >>> await Playlist.from_id(sess, "dcbab999-7523-4e2f-adf4-57d10fc17516")
432- <tidal_async.api.Playlist (dcbab999-7523-4e2f-adf4-57d10fc17516): Soundtracking: Need for Speed>
433-
434- TIP: :class:`TidalSession`'s function can be used instead!
435- >>> await sess.playlist("dcbab999-7523-4e2f-adf4-57d10fc17516")
436- <tidal_async.api.Playlist (dcbab999-7523-4e2f-adf4-57d10fc17516): Soundtracking: Need for Speed>
437-
438- :param sess: :class:`TidalSession` instance to use when loading data from Tidal
439- :param id_: Tidal ID of :class:`Playlist`
440- :return: :class:`Playlist` corresponding to Tidal ID
441- """
442- playlist = await super ().from_id (sess , id_ )
443- assert isinstance (playlist , cls )
444- return playlist
445-
446424 @property
447425 def cover (self ) -> Optional [Cover ]:
448426 """
You can’t perform that action at this time.
0 commit comments