@classmethod
    def recover_session(cls, session):
        if not session or (not cls.Session.RECREATE_SESSION and not session.get('auth_ref')):
            raise CloudBackendError('Invalid OpenStack session')

        backend = cls()
        return backend.Session.factory(backend, session)
Iterator for this query.
dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/iaas/backend.py/OpenStackClient.recover_session--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/db/__init__.py/_BaseQuery.__iter__