Skip to content

Commit

Permalink
docs: add original_year to album docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpavlock committed Oct 12, 2022
1 parent 97b35d4 commit b2def8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/developers/api/core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Library

.. automodule:: moe.library
:members:
:exclude-members: cache_ok, path, year, genre
:exclude-members: cache_ok, path, year, genre, original_year
:show-inheritance:


Expand Down
2 changes: 2 additions & 0 deletions moe/library/album.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ class Album(LibItem, SABase):
label (str): Album release label.
media (str): Album release format (e.g. CD, Digital, etc.)
original_date (datetime.date): Date of the original release of the album.
original_year (int): Album original release year. Note, this field is read-only.
Set ``original_date`` instead.
path (pathlib.Path): Filesystem path of the album directory.
title (str)
tracks (list[Track]): Album's corresponding tracks.
Expand Down

0 comments on commit b2def8f

Please sign in to comment.