def stream(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):
limits = self._version.read_limits(limit, page_size)<EOL>page = self.page(<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>page_size=limits['<STR_LIT>'],<EOL>)<EOL>return self._version.stream(page, limits['<STR_LIT>'], limits['<STR_LIT>'])<EOL>
Streams TaskInstance records from the API as a generator stream.
This operation lazily loads records as efficiently as possible until the limit
is reached.
The results are returned as a generator, so this operation is memory efficient.

: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. stream()
                  guarantees to never 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, stream() 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]