Nemo2011 / bilibili-api

哔哩哔哩常用API调用。支持视频、番剧、用户、频道、音频等功能。原仓库地址:https://github.com/MoyuScript/bilibili-api
https://nemo2011.github.io/bilibili-api/
GNU General Public License v3.0
2.24k stars 216 forks source link

【提问】__init__.py 删除了引用? #201

Closed Drelf2018 closed 1 year ago

Drelf2018 commented 1 year ago

https://github.com/Nemo2011/bilibili-api/commit/261c6c9c4a76e5ce53b6eb72a18b7fdabf371ff4 提交中

from . import (album, app, article, ass, audio, bangumi, black_room, channel,
               cheese, client, comment, dynamic, emoji, favorite_list, game,
               homepage, interactive_video, live, live_area, login, login_func,
               manga, note, rank, search, session, settings, topic, user,
               video, video_uploader, vote)

这些引入代码被删除了,这样做会使代码提示失效

![QQ截图20230217225000](https://user-images.githubusercontent.com/41439182/219689905-1be799ca-2285-4a28-99bd-aab86edf6648.png) _左侧代码提示缺失,右侧正常_
Nemo2011 commented 1 year ago

主要是添加了新的模块之后容易忘记在 __init__.py 中加上,现在应该可以加了。