3.8-ify one last thing

This commit is contained in:
Andrew Ferrazzutti 2022-07-14 23:49:57 -04:00
parent adb7453e1a
commit 99ea716731
1 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
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