<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def iterator(self):
 """ An iterator over the results from applying this QuerySet to the api. """


        for item in self.query.results():
            obj = self.resource(**item)

            yield obj