Skip to content

Commit ce4e39b

Browse files
committed
feat(models): Added is_accept_request variable to UserInfo class.
1 parent 129256b commit ce4e39b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pixivpy3/models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ class UserInfo(BasePixivpyModel):
115115
comment: Optional[str] = None # present only on `user_detail` endpoint
116116
is_followed: Optional[bool]
117117
is_access_blocking_user: Optional[bool] = None
118+
is_accept_request: Optional[bool] = (
119+
None # present only on `user_following` and `user_follower` endpoint
120+
)
118121

119122

120123
class CommentUser(BasePixivpyModel):

0 commit comments

Comments
 (0)