def users(self) -> 'helix.Users': user_ids: List[int] = [] if self.follow_type == 'followers': user_ids = [int(follow.from_id) for follow in self] elif self.follow_type == 'followings': user_ids = [int(follow.to_id) for follow in self] return helix.Users(self._api, user_ids)
def users(self, *args) -> 'helix.Users': return helix.Users(self.api(), *args)
def user(self) -> 'helix.User': return helix.Users(self._api, int(self.user_id))[0]
def user(self) -> 'helix.Users': return helix.Users(self._api, self.user_id)
def followed(self) -> 'helix.User': """ This user is being followed by the follower :return: User being followed """ return helix.Users(self._api, int(self.to_id))[0]
def follower(self) -> 'helix.User': """ This user follows the followed :return: User following the user """ return helix.Users(self._api, int(self.from_id))[0]
def users(self, *args, **kwargs) -> 'helix.Users': return helix.Users(self.api, *args, **kwargs)