mirror of
https://github.com/SantaSpeen/anixart.git
synced 2026-10-27 14:30:06 +00:00
[~] minor
This commit is contained in:
1 parent
8a944319d6
commit
63bf159679
2 files changed
+8
-8
No files matched your search
@@ -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
|
pass
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class ProfileFriendsPreview:
|
class Profile:
|
||||||
id: int
|
id: int
|
||||||
avatar: str
|
|
||||||
login: str
|
login: str
|
||||||
|
avatar: str
|
||||||
|
|
||||||
|
@dataclass
|
||||||
|
class ProfileFriendsPreview(Profile):
|
||||||
friend_count: int
|
friend_count: int
|
||||||
friend_status: int
|
friend_status: int
|
||||||
is_sponsor: bool
|
is_sponsor: bool
|
||||||
@@ -32,10 +35,7 @@ class ProfileFriendsPreview:
|
|||||||
badge_url: None
|
badge_url: None
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class Profile:
|
class ProfileFull(Profile):
|
||||||
id: int
|
|
||||||
login: str
|
|
||||||
avatar: str
|
|
||||||
status: str
|
status: str
|
||||||
rating_score: int
|
rating_score: int
|
||||||
history: list[ProfileHistory]
|
history: list[ProfileHistory]
|
||||||
@@ -115,4 +115,4 @@ class ProfileLoginsHistory:
|
|||||||
content: list[_login]
|
content: list[_login]
|
||||||
total_count: int
|
total_count: int
|
||||||
# total_page_count: int
|
# total_page_count: int
|
||||||
# current_page: int
|
# current_page: int
|
||||||
Reference in new issue
Block a user