This commit is contained in:
jxxghp
2024-04-26 20:29:04 +08:00
parent 9daff87f2f
commit c303ab0765
5 changed files with 11 additions and 31 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ from app.db.message_oper import MessageOper
from app.helper.message import MessageHelper
from app.log import logger
from app.schemas import TransferInfo, TransferTorrent, ExistMediaInfo, DownloadingTorrent, CommingMessage, Notification, \
WebhookEventInfo, TmdbEpisode, TmdbPerson, DoubanPerson
WebhookEventInfo, TmdbEpisode, TmdbPerson
from app.schemas.types import TorrentStatus, MediaType, MediaImageType, EventType
from app.utils.object import ObjectUtils
@@ -260,7 +260,7 @@ class ChainBase(metaclass=ABCMeta):
"""
return self.run_module("search_medias", meta=meta)
def search_persons(self, name: str) -> Optional[List[Union[TmdbPerson, DoubanPerson]]]:
def search_persons(self, name: str) -> Optional[List[TmdbPerson]]:
"""
搜索人物信息
:param name: 人物名称