From 99ea7167319ee8a27494905fceffe78a654dbc85 Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Thu, 14 Jul 2022 23:49:57 -0400 Subject: [PATCH] 3.8-ify one last thing --- .../kt/types/api/struct/friends/friend_search_struct.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matrix_appservice_kakaotalk/kt/types/api/struct/friends/friend_search_struct.py b/matrix_appservice_kakaotalk/kt/types/api/struct/friends/friend_search_struct.py index b3fb5d1..7a395f8 100644 --- a/matrix_appservice_kakaotalk/kt/types/api/struct/friends/friend_search_struct.py +++ b/matrix_appservice_kakaotalk/kt/types/api/struct/friends/friend_search_struct.py @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -from typing import Optional +from typing import List, Optional from attr import dataclass @@ -25,7 +25,7 @@ from .friend_struct import FriendStruct @dataclass class FriendSearchUserListStruct(SerializableAttrs): count: int - list: list[FriendStruct] + list: List[FriendStruct] @dataclass(kw_only=True) @@ -33,7 +33,7 @@ class FriendSearchStruct(SerializableAttrs): query: str user: Optional[FriendSearchUserListStruct] = None plus: Optional[FriendSearchUserListStruct] = None - categories: list[str] + categories: List[str] total_counts: int