mirror of
https://github.com/SantaSpeen/anixart.git
synced 2025-07-01 15:36:11 +00:00
[~] minor
This commit is contained in:
parent
8a944319d6
commit
63bf159679
@ -1 +1 @@
|
||||
from .objects import Profile, ProfileVote, ProfileRoles, ProfileHistory, ProfileFriendsPreview
|
||||
from .objects import Profile, ProfileFull, ProfileVote, ProfileRoles, ProfileHistory, ProfileFriendsPreview
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user