Skip to content

Commit

Permalink
Should still be yielding a tuple here
Browse files Browse the repository at this point in the history
  • Loading branch information
greenape committed Dec 15, 2021
1 parent 13399dd commit 04818f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flowmachine/flowmachine/core/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def get_cached_query_objects_ordered_by_score(
"""
cache_queries = connection.fetch(qry)
for query_id, table_size in cache_queries:
yield get_obj_or_stub(connection, query_id)
yield get_obj_or_stub(connection, query_id), table_size


def shrink_one(
Expand Down

0 comments on commit 04818f5

Please sign in to comment.