code: def list(self, friendly_name=values.unset,
               evaluate_worker_attributes=values.unset, worker_sid=values.unset,
               limit=None, page_size=None):
          
          return list(self.stream(
              friendly_name=friendly_name,
              evaluate_worker_attributes=evaluate_worker_attributes,
              worker_sid=worker_sid,
              limit=limit,
              page_size=page_size,
          ))
docs: Lists TaskQueueInstance records from the API as a list.
          Unlike stream(), this operation is eager and will load `limit` records into
          memory before returning.
  
          :param unicode friendly_name: Filter by a human readable description of a TaskQueue
          :param unicode evaluate_worker_attributes: Provide a Worker attributes expression, and this will return the list of TaskQueues that would distribute tasks to a worker with these attributes.
          :param unicode worker_sid: The worker_sid
          :param int limit: Upper limit for the number of records to return. list() guarantees
                            never to return more than limit.  Default is no limit
          :param int page_size: Number of records to fetch per request, when not set will use
                                the default value of 50 records.  If no page_size is defined
                                but a limit is defined, list() will attempt to read the limit
                                with the most efficient page size, i.e. min(limit, 1000)
  
          :returns: Generator that will yield up to limit results
          :rtype: list[twilio.rest.taskrouter.v1.workspace.task_queue.TaskQueueInstance]