Derive the song performer gender and identify Pinkfong as Hope Segoine

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-14 20:41:16 +08:00
co-authored by Claude Opus 5
parent 3a5271a4d3
commit 547a068e7b
4 changed files with 195 additions and 3 deletions
+5
View File
@@ -41,6 +41,11 @@ class Song(Base):
"""The combined artist credit string as printed on the chart."""
lyrics: Mapped[str | None]
"""The lyrics text, when available."""
performer_gender: Mapped[str | None]
"""The gender of the credited performers taken together:
"mixed" when they disagree, their common gender when every
credited artist's gender is known and they agree, and None
otherwise."""
chart_entries: Mapped[list[ChartEntry]] \
= relationship(back_populates="song")
"""The chart entries of the song."""