Skip to content

Commit

Permalink
Update runner.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxHalford committed Oct 16, 2024
1 parent 50b9746 commit 72094c5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lea/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,12 @@ def run(
# We can't refresh a view if its dependencies had errors (or were skipped
# because their dependencies had errors)
if any(
dep_key in jobs and jobs[dep_key].status in {ERRORED, SKIPPED}
(
# Either the dependency had an error
(dep_key in jobs and jobs[dep_key].status == ERRORED)
# Either the dependency was skipped
or (dep_key in selected_view_keys and dep_key not in jobs)
)
for dep_key in self.views[view_key].dependent_view_keys
):
self.dag.done(view_key)
Expand Down

0 comments on commit 72094c5

Please sign in to comment.