mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Remove use of yield_per
This commit is contained in:
parent
1240bc87f7
commit
6c934ce9e4
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ class PokedexLookup(object):
|
|||
for cls in self.indexed_tables.values():
|
||||
q = self.session.query(cls).order_by(cls.id)
|
||||
|
||||
for row in q.yield_per(5):
|
||||
for row in q:
|
||||
row_key = dict(table=unicode(cls.__tablename__),
|
||||
row_id=unicode(row.id))
|
||||
|
||||
|
|
Loading…
Reference in a new issue