def instances(self, cursor, __context=None):
    'Given a ResultProxy cursor as returned by connection.execute(),\n        return an ORM result as an iterator.\n\n        e.g.::\n\n            result = engine.execute("select * from users")\n            for u in session.query(User).instances(result):\n                print u\n        '
    context = __context
    if (context is None):
        context = QueryContext(self)
    return loading.instances(self, cursor, context)
Given a ResultProxy cursor as returned by connection.execute(),
return an ORM result as an iterator.

e.g.::

    result = engine.execute("select * from users")
    for u in session.query(User).instances(result):
        print u
def instances(self, cursor, __context=None):
    'Given a ResultProxy cursor as returned by connection.execute(),\n        return an ORM result as an iterator.\n\n        e.g.::\n\n            result = engine.execute("select * from users")\n            for u in session.query(User).instances(result):\n                print u\n        '
    context = __context
    if (context is None):
        context = QueryContext(self)
    return loading.instances(self, cursor, context)