Skip to content

Commit

Permalink
Add return
Browse files Browse the repository at this point in the history
  • Loading branch information
raminqaf committed May 13, 2024
1 parent b543c18 commit 06bdaf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kpops/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def remove(self, component_id: str) -> None:
self._component_index.pop(component_id)

def get(self, component_id: str) -> PipelineComponent | None:
self._component_index.get(component_id)
return self._component_index.get(component_id)

def find(self, predicate: ComponentFilterPredicate) -> Iterator[PipelineComponent]:
"""Find pipeline components matching a custom predicate.
Expand Down

0 comments on commit 06bdaf9

Please sign in to comment.