def __iter__(self):
    context = self._compile_context()
    context.statement.use_labels = True
    if (self._autoflush and (not self._populate_existing)):
        self.session._autoflush()
    return self._execute_and_instances(context)
def __iter__(self):
    context = self._compile_context()
    context.statement.use_labels = True
    if (self._autoflush and (not self._populate_existing)):
        self.session._autoflush()
    return self._execute_and_instances(context)