Skip to content

Commit 6ab0f8d

Browse files
committed
Removed old docstring.
1 parent 085b89b commit 6ab0f8d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

beetsplug/deezer.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,9 @@ def album_for_id(self, album_id: str) -> AlbumInfo | None:
143143
)
144144

145145
def track_for_id(self, track_id: str) -> None | TrackInfo:
146-
"""Fetch a track by its Deezer ID or URL and return a
147-
TrackInfo object or None if the track is not found.
146+
"""Fetch a track by its Deezer ID or URL.
148147
149-
:param track_id: (Optional) Deezer ID or URL for the track. Either
150-
``track_id`` or ``track_data`` must be provided.
151-
:param track_data: (Optional) Simplified track object dict. May be
152-
provided instead of ``track_id`` to avoid unnecessary API calls.
153-
:return: TrackInfo object for track
148+
Returns a TrackInfo object or None if the track is not found.
154149
"""
155150
if not (deezer_id := self._get_id(track_id)):
156151
self._log.debug("Invalid Deezer track_id: {}", track_id)

0 commit comments

Comments
 (0)