Skip to content

Commit

Permalink
🐛 (api/interfaces/group.py) 修复Python 3.8不兼容的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
XYCode-Kerman committed Jun 15, 2024
1 parent 4fbb397 commit 70e9f0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mirai_onebot/api/interfaces/group.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import List

from mirai_onebot.api.interfaces.base import (Request, RequestParams, Response,
ResponseData)

Expand Down Expand Up @@ -28,7 +30,7 @@ class GetGroupListRequestParams(RequestParams):


class GetGroupListResponseData(ResponseData):
group_list: list[GetGroupInfoResponseData]
group_list: List[GetGroupInfoResponseData]


class GetGroupListRequest(Request):
Expand Down

0 comments on commit 70e9f0b

Please sign in to comment.