Skip to content
Snippets Groups Projects
Commit 72a7f034 authored by Timothe Jost's avatar Timothe Jost
Browse files
parents ff3d31aa 05127a31
No related branches found
No related tags found
No related merge requests found
...@@ -50,8 +50,8 @@ class Pipeline: ...@@ -50,8 +50,8 @@ class Pipeline:
if pipe.single_step: if pipe.single_step:
return pipe return pipe
return pipe.steps[step_name] return pipe.steps[step_name]
except KeyError: except KeyError as exc:
raise KeyError(f"No instance {instance_name} has been registered to the pipeline") raise KeyError(f"No instance {instance_name} has been registered to the pipeline") from exc
def resolve(self) -> None: def resolve(self) -> None:
"""Scans currentely registered Pipes. """Scans currentely registered Pipes.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment