code: def get_user_classes(self):
          
          # Previously getting classes from profile (such a list is incomplete)
          # raw_classes = self.get_user_profile().get('all_classes').values()
  
          # Get classes from the user status (includes all classes)
          status = self.get_user_status()
          uid = status['id']
          raw_classes = status.get('networks', [])
  
          classes = []
          for rawc in raw_classes:
              c = {k: rawc[k] for k in ['name', 'term']}
              c['num'] = rawc.get('course_number', '')
              c['nid'] = rawc['id']
              c['is_ta'] = uid in rawc['prof_hash']
              classes.append(c)
  
          return classes
docs: Get list of the current user's classes. This is a subset of the
          information returned by the call to ``get_user_status``.
  
          :returns: Classes of currently authenticated user
          :rtype: list