Dummy step for testing purposes.
This module contains a dummy step for testing purposes. It is used to test the Koheesio framework or to provide a simple
example of how to create a new step.
Example
s = DummyStep(a="a", b=2)
s.execute()
In this case, s.output
will be equivalent to the following dictionary:
{"a": "a", "b": 2, "c": "aa"}
koheesio.steps.dummy.DummyOutput
Dummy output for testing purposes.
koheesio.steps.dummy.DummyStep
Dummy step for testing purposes.
Output
Dummy output for testing purposes.
execute
Dummy execute for testing purposes.
Source code in src/koheesio/steps/dummy.py
| def execute(self):
"""Dummy execute for testing purposes."""
self.output.a = self.a
self.output.b = self.b
self.output.c = self.a * self.b
|