code: def get_list(self, obj_class, data, subset):
          
          url = obj_class.get_url(data)
          if obj_class.can_list and obj_class.can_get:
              if (subset and len(subset) == 1 and subset[0].upper() ==
                      "BASIC") and obj_class is jssobjects.Computer:
                  url += "/subset/basic"
  
              result = self.jss.get(url)
  
              if obj_class.container:
                  result = result.find(obj_class.container)
  
              return self._build_jss_object_list(result, obj_class)
  
          # Single object
  
          elif obj_class.can_get:
              xmldata = self.jss.get(url)
              return obj_class(self.jss, xmldata)
          else:
              raise JSSMethodNotAllowedError(
                  obj_class.__class__.__name__)
docs: Get a list of objects as JSSObjectList.
  
          Args:
              obj_class: The JSSObject subclass type to search for.
              data: None
              subset: Some objects support a subset for listing; namely
                  Computer, with subset="basic".
  
          Returns:
              JSSObjectList