def list(self, priority=values.unset, assignment_status=values.unset,<EOL>workflow_sid=values.unset, workflow_name=values.unset,<EOL>task_queue_sid=values.unset, task_queue_name=values.unset,<EOL>evaluate_task_attributes=values.unset, ordering=values.unset,<EOL>has_addons=values.unset, limit=None, page_size=None):
return list(self.stream(<EOL>priority=priority,<EOL>assignment_status=assignment_status,<EOL>workflow_sid=workflow_sid,<EOL>workflow_name=workflow_name,<EOL>task_queue_sid=task_queue_sid,<EOL>task_queue_name=task_queue_name,<EOL>evaluate_task_attributes=evaluate_task_attributes,<EOL>ordering=ordering,<EOL>has_addons=has_addons,<EOL>limit=limit,<EOL>page_size=page_size,<EOL>))<EOL>
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: Retrieve the list of all Tasks in the workspace with the specified priority.
:param unicode assignment_status: Returns the list of all Tasks in the workspace with the specified AssignmentStatus.
:param unicode workflow_sid: Returns the list of Tasks that are being controlled by the Workflow with the specified Sid value.
:param unicode workflow_name: Returns the list of Tasks that are being controlled by the Workflow with the specified FriendlyName value.
:param unicode task_queue_sid: Returns the list of Tasks that are currently waiting in the TaskQueue identified by the Sid specified.
:param unicode task_queue_name: Returns the list of Tasks that are currently waiting in the TaskQueue identified by the FriendlyName specified.
:param unicode evaluate_task_attributes: Provide a task attributes expression, and this will return tasks which match the attributes.
:param unicode ordering: Use this parameter to control the order of the Tasks returned.
: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]