Changes to meet mypy requirements

This commit is contained in:
IgorVolochay
2025-02-15 16:47:20 +03:00
parent 444d010bbf
commit 1248a461e7
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -10,8 +10,8 @@ class User(BaseModel):
photo_path: str
activity: int = 0
liked_post_ids: list[int] = None
disliked_post_ids: list[int] = None
comments_ids: list[int] = None
liked_post_ids: list[int] = list()
disliked_post_ids: list[int] = list()
comments_ids: list[int] = list()
registration_date: str