code: def users(self):
          
          friends = [MyPlexUser(self, elem) for elem in self.query(MyPlexUser.key)]
          requested = [MyPlexUser(self, elem, self.REQUESTED) for elem in self.query(self.REQUESTED)]
          return friends + requested
docs: Returns a list of all :class:`~plexapi.myplex.MyPlexUser` objects connected to your account.
              This includes both friends and pending invites. You can reference the user.friend to
              distinguish between the two.