Skip to content

Commit

Permalink
Results needs to return an iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
DRMacIver committed Dec 19, 2024
1 parent c7c53a8 commit c8e26f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ehrql/dummy_data_nextgen/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def get_results(self):
else:
results = full_results

return results
return iter(results)


class DummyPatientGenerator:
Expand Down

0 comments on commit c8e26f4

Please sign in to comment.