⬇️ 错误的使用了Python3.11的新特性

This commit is contained in:
2024-01-03 09:37:10 +08:00
parent 0b07882a16
commit 12145a614f
6 changed files with 18 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
from datetime import UTC, datetime
from datetime import datetime, timezone
from typing import ClassVar
from nonebot import get_driver, get_plugin
@@ -9,6 +9,8 @@ from nonebot_plugin_orm import get_session
from ..db.models import HistoricalData
UTC = timezone.utc
driver = get_driver()