Skip to content

Commit

Permalink
Make list not list of lists
Browse files Browse the repository at this point in the history
  • Loading branch information
ugyballoons committed Jul 5, 2024
1 parent 7fd6179 commit 52f2aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/ts/rubintv/models/models_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def process_batch(batch: list[dict]) -> list[Event]:
async def all_objects_to_events(objects: list[dict]) -> list[Event]:
events = []
async for events_batch in objects_to_events(objects):
events.append(events_batch)
events.extend(events_batch)
return events


Expand Down

0 comments on commit 52f2aee

Please sign in to comment.