Neuraxle
Neuraxle copied to clipboard
Feature: BaseStep.chain_with(other: BaseStep) -> Pipeline
Here is a unit test for what I have in mind:
a = SomeStep()
b = SomeOtherStep()
c = SomeOtherNewStep()
p = a.chain_with(b)
assert p.keys() == ["SomeStep", "SomeOtherStep"]
p2 = p.chain_with(c)
assert p2.keys() == ["SomeStep", "SomeOtherStep", "SomeOtherNewStep"]
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in the next 180 days. Thank you for your contributions.
This could be a __add__ (+)
operator on the steps as well.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in the next 180 days. Thank you for your contributions.