From 9e8370012ab8985ec6dc193eef7a5cd3ac0be93b Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 17 Oct 2026 05:24:00 +0800 Subject: [PATCH] fix(types): declare TheAudioDB related artist results --- app/chain/theaudiodb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/chain/theaudiodb.py b/app/chain/theaudiodb.py index a499db499..7b6043367 100644 --- a/app/chain/theaudiodb.py +++ b/app/chain/theaudiodb.py @@ -1,4 +1,5 @@ from app.chain.musicbrainz import MusicMetadataSourceChain +from app.domain.context import MusicArtistInfo from app.schemas.types import MediaSource @@ -11,7 +12,7 @@ class TheAudioDbChain(MusicMetadataSourceChain): self, media_id: str, count: int = 24, - ) -> list: + ) -> list[MusicArtistInfo]: """返回 TheAudioDB 关联艺术家;当前来源模块未提供该能力。""" del media_id, count return []