docs: def get_terms(self, sort='weight', cache=True):
          """Get the terms associated with an artist
          
          Args:
          
          Kwargs:
              cache (bool): A boolean indicating whether or not the cached value should be used (if available). Defaults to True.
              
              sort (str): A string specifying the desired sorting type (weight or frequency)
              
          Results:
              A list of term document dicts
              
          Example:
  
          >>> a = artist.Artist('tom petty')
          >>> a.terms
          [{u'frequency': 1.0, u'name': u'heartland rock', u'weight': 1.0},
           {u'frequency': 0.88569401860168606,
            u'name': u'jam band',
            u'weight': 0.9116501862732439},
           {u'frequency': 0.9656145118557401,
            u'name': u'pop rock',
            u'weight': 0.89777934440040685},
           {u'frequency': 0.8414744288140491,
            u'name': u'southern rock',
            u'weight': 0.8698567153186606},
           {u'frequency': 0.9656145118557401,
            u'name': u'hard rock',
            u'weight': 0.85738022655218893},
           {u'frequency': 0.88569401860168606,
            u'name': u'singer-songwriter',
            u'weight': 0.77427243392312772},
           {u'frequency': 0.88569401860168606,
            u'name': u'rock',
            u'weight': 0.71158718989399083},
           {u'frequency': 0.60874110500110956,
            u'name': u'album rock',
            u'weight': 0.69758668733499629},
           {u'frequency': 0.74350792060935744,
            u'name': u'psychedelic',
            u'weight': 0.68457367494207944},
           {u'frequency': 0.77213698386292873,
            u'name': u'pop',
            u'weight': 0.65039556639337293},
           {u'frequency': 0.41747136183050298,
            u'name': u'bar band',
            u'weight': 0.54974975024767025}]
          >>> 
  
          """
          if cache and ('terms' in self.cache) and sort=='weight':
              return self.cache['terms']
          else:
              response = self.get_attribute('terms', sort=sort)
              if sort=='weight':
                  self.cache['terms'] = response['terms']
              return response['terms']