From 8a46e72ba99bd9afa78ff3b644af7f68dbd8a750 Mon Sep 17 00:00:00 2001 From: student_2333 Date: Tue, 25 Jun 2024 19:50:41 +0800 Subject: [PATCH] up --- nonebot_plugin_multincm/data_source/__init__.py | 2 ++ nonebot_plugin_multincm/data_source/base.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nonebot_plugin_multincm/data_source/__init__.py b/nonebot_plugin_multincm/data_source/__init__.py index ab30e27..33eeed4 100644 --- a/nonebot_plugin_multincm/data_source/__init__.py +++ b/nonebot_plugin_multincm/data_source/__init__.py @@ -7,8 +7,10 @@ BaseSongListPage as BaseSongListPage, GeneralGetPageReturn as GeneralGetPageReturn, GeneralPlaylist as GeneralPlaylist, + GeneralPlaylistInfo as GeneralPlaylistInfo, GeneralSearcher as GeneralSearcher, GeneralSong as GeneralSong, + GeneralSongInfo as GeneralSongInfo, GeneralSongList as GeneralSongList, GeneralSongListPage as GeneralSongListPage, GeneralSongOrList as GeneralSongOrList, diff --git a/nonebot_plugin_multincm/data_source/base.py b/nonebot_plugin_multincm/data_source/base.py index 2af8ae9..64231f8 100644 --- a/nonebot_plugin_multincm/data_source/base.py +++ b/nonebot_plugin_multincm/data_source/base.py @@ -507,5 +507,5 @@ async def get_page( GeneralSongOrList, None, ] -GenericSongInfo: TypeAlias = SongInfo[GeneralSong] -GenericPlaylistInfo: TypeAlias = PlaylistInfo[GeneralPlaylist] +GeneralSongInfo: TypeAlias = SongInfo[GeneralSong] +GeneralPlaylistInfo: TypeAlias = PlaylistInfo[GeneralPlaylist]