mirror of
https://github.com/beetbox/beets.git
synced 2026-01-16 21:25:14 +01:00
Clarify Album.items() conflict
This commit is contained in:
parent
1cde938769
commit
bf8fbed2e8
1 changed files with 4 additions and 2 deletions
|
|
@ -1146,8 +1146,10 @@ class Album(LibModel):
|
|||
"""Return an iterable over the items associated with this
|
||||
album.
|
||||
|
||||
This method predates the :meth:`LibModel.items` method inherited
|
||||
from :meth:`beets.dbcore.Model.items`.
|
||||
This method conflicts with :meth:`LibModel.items`, which is
|
||||
inherited from :meth:`beets.dbcore.Model.items`.
|
||||
Since :meth:`Album.items` predates these methods, and is
|
||||
likely to be used by plugins, we keep this interface as-is.
|
||||
"""
|
||||
return self._db.items(dbcore.MatchQuery('album_id', self.id))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue