[~] minor

This commit is contained in:
Maxim Khomutov 2025-04-04 18:17:23 +03:00
parent 8a944319d6
commit 63bf159679
2 changed files with 8 additions and 8 deletions

View File

@ -1 +1 @@
from .objects import Profile, ProfileVote, ProfileRoles, ProfileHistory, ProfileFriendsPreview
from .objects import Profile, ProfileFull, ProfileVote, ProfileRoles, ProfileHistory, ProfileFriendsPreview

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