Skip to content

Commit

Permalink
use typing.List to support python < 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
breqdev committed Sep 25, 2022
1 parent 647eee4 commit ce25489
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flask_discord_interactions/models/user.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import dataclasses
from typing import Optional
from typing import Optional, List

from flask_discord_interactions.models.utils import LoadableDataclass

Expand Down Expand Up @@ -111,7 +111,7 @@ class Member(User):
joined_at: str = ""
avatar: Optional[str] = None
nick: Optional[str] = None
roles: Optional[list[str]] = None
roles: Optional[List[str]] = None
premium_since: Optional[str] = None
permissions: Optional[int] = None
communication_disabled_until: Optional[str] = None
Expand Down

0 comments on commit ce25489

Please sign in to comment.