Skip to content

Commit

Permalink
fix: Python 3.8 typing syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
y-young committed Nov 22, 2023
1 parent 82d4433 commit 71bb371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nazurin/sites/misskey/models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Optional
from typing import List, Optional

from pydantic import BaseModel, ConfigDict

Expand Down Expand Up @@ -38,5 +38,5 @@ class Note(BaseModel):
userId: str
user: User
text: Optional[str]
files: list[File]
files: List[File]
uri: Optional[str] = None

0 comments on commit 71bb371

Please sign in to comment.