nodes: 0, module; 1, function_definition; 2, function_name:list; 3, parameters; 4, block; 5, identifier:self; 6, default_parameter; 7, dictionary_splat_pattern; 8, expression_statement; 9, comment:# response = self.get(count=count, **kwargs); 10, comment:# return self._load_list(response); 11, return_statement; 12, identifier:count; 13, None; 14, identifier:kwargs; 15, comment:"""Retrieves a list of entities in this collection.
  
          The entire collection is loaded at once and is returned as a list. This
          function makes a single roundtrip to the server, plus at most two more if
          the ``autologin`` field of :func:`connect` is set to ``True``.
          There is no caching--every call makes at least one round trip.
  
          :param count: The maximum number of entities to return (optional).
          :type count: ``integer``
          :param kwargs: Additional arguments (optional):
  
              - "offset" (``integer``): The offset of the first item to return.
  
              - "search" (``string``): The search query to filter responses.
  
              - "sort_dir" (``string``): The direction to sort returned items:
                "asc" or "desc".
  
              - "sort_key" (``string``): The field to use for sorting (optional).
  
              - "sort_mode" (``string``): The collating sequence for sorting
                returned items: "auto", "alpha", "alpha_case", or "num".
  
          :type kwargs: ``dict``
          :return: A ``list`` of entities.
          """; 16, call; 17, identifier:list; 18, argument_list; 19, call; 20, attribute; 21, argument_list; 22, identifier:self; 23, identifier:iter; 24, keyword_argument; 25, dictionary_splat; 26, identifier:count; 27, identifier:count; 28, identifier:kwargs
code: def list(self, count=None, **kwargs):
          """Retrieves a list of entities in this collection.
  
          The entire collection is loaded at once and is returned as a list. This
          function makes a single roundtrip to the server, plus at most two more if
          the ``autologin`` field of :func:`connect` is set to ``True``.
          There is no caching--every call makes at least one round trip.
  
          :param count: The maximum number of entities to return (optional).
          :type count: ``integer``
          :param kwargs: Additional arguments (optional):
  
              - "offset" (``integer``): The offset of the first item to return.
  
              - "search" (``string``): The search query to filter responses.
  
              - "sort_dir" (``string``): The direction to sort returned items:
                "asc" or "desc".
  
              - "sort_key" (``string``): The field to use for sorting (optional).
  
              - "sort_mode" (``string``): The collating sequence for sorting
                returned items: "auto", "alpha", "alpha_case", or "num".
  
          :type kwargs: ``dict``
          :return: A ``list`` of entities.
          """
          # response = self.get(count=count, **kwargs)
          # return self._load_list(response)
          return list(self.iter(count=count, **kwargs))