Skip to content

Commit 047bf21

Browse files
committed
Changes so that the run method is not required anymore
1 parent 9229099 commit 047bf21

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/unit/experimental/pipeline/components.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ async def run(self, number1: int, number2: int = 2) -> IntResultModel:
4545

4646

4747
class ComponentMultiplyWithContext(Component):
48-
async def run(self, number1: int, number2: int) -> IntResultModel:
49-
return IntResultModel(result=number1 * number2)
50-
5148
async def run_with_context(
5249
self, context_: RunContext, number1: int, number2: int = 2
5350
) -> IntResultModel:

0 commit comments

Comments
 (0)