'Lists TaskInstance records from the API as a list.
Unlike stream(), this operation is eager and will load `limit` records into
memory before returning.
:param unicode priority: The priority
:param unicode assignment_status: The assignment_status
:param unicode workflow_sid: The workflow_sid
:param unicode workflow_name: The workflow_name
:param unicode task_queue_sid: The task_queue_sid
:param unicode task_queue_name: The task_queue_name
:param unicode evaluate_task_attributes: The evaluate_task_attributes
:param unicode ordering: The ordering
:param bool has_addons: The has_addons
: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.TaskInstance]'

def list(self, priority=values.unset, assignment_status=values.unset, workflow_sid=values.unset, workflow_name=values.unset, task_queue_sid=values.unset, task_queue_name=values.unset, evaluate_task_attributes=values.unset, ordering=values.unset, has_addons=values.unset, limit=None, page_size=None):

    return list(self.stream(priority=priority, assignment_status=assignment_status, workflow_sid=workflow_sid, workflow_name=workflow_name, task_queue_sid=task_queue_sid, task_queue_name=task_queue_name, evaluate_task_attributes=evaluate_task_attributes, ordering=ordering, has_addons=has_addons, limit=limit, page_size=page_size))
