[~] minor

This commit is contained in:
SantaSpeen committed 2025-04-04 18:17:23 +03:00
1 parent 8a944319d6
commit 63bf159679
2 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -1 +1 @@
from .objects import Profile, ProfileVote, ProfileRoles, ProfileHistory, ProfileFriendsPreview
from .objects import Profile, ProfileFull, ProfileVote, ProfileRoles, ProfileHistory, ProfileFriendsPreview
+7 -7
View File
@@ -16,10 +16,13 @@ class ProfileRoles:
pass
@dataclass
class ProfileFriendsPreview:
class Profile:
id: int
avatar: str
login: str
avatar: str
@dataclass
class ProfileFriendsPreview(Profile):
friend_count: int
friend_status: int
is_sponsor: bool
@@ -32,10 +35,7 @@ class ProfileFriendsPreview:
badge_url: None
@dataclass
class Profile:
id: int
login: str
avatar: str
class ProfileFull(Profile):
status: str
rating_score: int
history: list[ProfileHistory]
@@ -115,4 +115,4 @@ class ProfileLoginsHistory:
content: list[_login]
total_count: int
# total_page_count: int
# current_page: int
# current_page: int