def __init__(self, results, orm_class=None, has_more=False, query=None):
self.results = results<EOL>self.orm_class = orm_class<EOL>self.has_more = has_more<EOL>self.query = query.copy()<EOL>self._values = False<EOL>self.reset()<EOL>
create a result set iterator

results -- list -- the list of results
orm_class -- Orm -- the Orm class that each row in results should be wrapped with
has_more -- boolean -- True if there are more results
query -- Query -- the query instance that produced this iterator