Opps.. I don't expect `query_result` is a generator.

I am sure the `seq` could work. `for-in` do not have own scope in Python.