code: def personality(self, category: str = 'mbti') -> Union[str, int]:
          
          mbtis = ('ISFJ', 'ISTJ', 'INFJ', 'INTJ',
                   'ISTP', 'ISFP', 'INFP', 'INTP',
                   'ESTP', 'ESFP', 'ENFP', 'ENTP',
                   'ESTJ', 'ESFJ', 'ENFJ', 'ENTJ')
  
          if category.lower() == 'rheti':
              return self.random.randint(1, 10)
  
          return self.random.choice(mbtis)
docs: Generate a type of personality.
  
          :param category: Category.
          :return: Personality type.
          :rtype: str or int
  
          :Example:
              ISFJ.