mirror of
https://github.com/SantaSpeen/anixart.git
synced 2026-10-28 06:49:59 +00:00
[~] minor
This commit is contained in:
1 parent
8a944319d6
commit
63bf159679
2 files changed
+7
-7
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]
|
||||||
|
|||||||
Reference in new issue
Block a user