忽略部分警告

This commit is contained in:
洛水居室 2022-08-31 16:50:31 +08:00
parent 8cb3ff9ca7
commit 65f659c5dc
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -17,6 +17,7 @@ from utils.service.manager import ServicesManager
# 无视相关警告 # 无视相关警告
# 该警告说明在官方GITHUB的WIKI中Frequently Asked Questions里的What do the per_* settings in ConversationHandler do? # 该警告说明在官方GITHUB的WIKI中Frequently Asked Questions里的What do the per_* settings in ConversationHandler do?
filterwarnings(action="ignore", message=r".*CallbackQueryHandler", category=PTBUserWarning) filterwarnings(action="ignore", message=r".*CallbackQueryHandler", category=PTBUserWarning)
filterwarnings(action="ignore", message=r".*Prior to v20.0 the `days` parameter", category=PTBUserWarning)
def main() -> None: def main() -> None: