Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ now be installed separately through `watergrid[...]` metapackages. (#54)

- Resolved issue with objects inside a `DataContext` not being copied when the
output mode of a step is set to `SPLIT`. (#6)
- Pipeline now stops running if there are no more contexts to process in a new step. (#78)

### Security

Expand Down
2 changes: 2 additions & 0 deletions watergrid/pipelines/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ def __run_pipeline_steps(self):
contexts = [self.__generate_first_context()]
for step in self._steps:
contexts = self.__run_step_for_each_context(step, contexts)
if len(contexts) == 0:
break

def __generate_first_context(self) -> DataContext:
"""
Expand Down