parameters: (self, request, **kwargs)
return_statement: return self.create_response(
              request, to_be_serialized, response_objects=objects)
docstring: Returns a serialized list of resources.
  
          Calls ``obj_get_list`` to provide the data, then handles that result
          set and serializes it.
  
          Should return a HttpResponse (200 OK).
docstring_summary: Returns a serialized list of resources.
docstring_tokens: Returns a serialized list of resources .
function: def get_list(self, request, **kwargs):
          """
          Returns a serialized list of resources.
  
          Calls ``obj_get_list`` to provide the data, then handles that result
          set and serializes it.
  
          Should return a HttpResponse (200 OK).
          """
          # TODO: Uncached for now. Invalidation that works for everyone may be
          # impossible.
          base_bundle = self.build_bundle(request=request)
          objects = self.obj_get_list(
              bundle=base_bundle,
              **self.remove_api_resource_names(kwargs))
          sorted_objects = self.apply_sorting(objects, options=request.GET)
  
          paginator = self._meta.paginator_class(
              request.GET,
              sorted_objects,
              resource_uri=self.get_resource_uri(),
              limit=self._meta.limit,
              max_limit=self._meta.max_limit,
              collection_name=self._meta.collection_name)
          to_be_serialized = paginator.page()
  
          to_be_serialized = self.alter_list_data_to_serialize(
              request,
              to_be_serialized)
  
          return self.create_response(
              request, to_be_serialized, response_objects=objects)
function_tokens: def get_list ( self , request , * * kwargs ) : # TODO: Uncached for now. Invalidation that works for everyone may be # impossible. base_bundle = self . build_bundle ( request = request ) objects = self . obj_get_list ( bundle = base_bundle , * * self . remove_api_resource_names ( kwargs ) ) sorted_objects = self . apply_sorting ( objects , options = request . GET ) paginator = self . _meta . paginator_class ( request . GET , sorted_objects , resource_uri = self . get_resource_uri ( ) , limit = self . _meta . limit , max_limit = self . _meta . max_limit , collection_name = self . _meta . collection_name ) to_be_serialized = paginator . page ( ) to_be_serialized = self . alter_list_data_to_serialize ( request , to_be_serialized ) return self . create_response ( request , to_be_serialized , response_objects = objects )