Skip to content

Commit 4f2e9ea

Browse files
authored
Merge pull request #407 from ryohidaka/feature/add_is_accept_request
feat(models): Added is_accept_request variable to UserInfo class.
2 parents 129256b + ce4e39b commit 4f2e9ea

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)