Closed jernejfrank closed 1 week ago
Hey @jernejfrank, here is an example of how you can ask me to improve this pull request:
@sweep Add a unit test specifically for the edge case where no conditions are met in the `pipe_output` decorator, testing the behavior with different config values that do not match any conditions.
:book: For more information on how to use Sweep, please read our documentation.
Addressing #1218
For
pipe_output
in case no conditions are met, e.g.
config={"key":"skip"}, it returns
filtered_dataas if
pipe_output` isn't there.I think this is better than raising an error since it leaves the ability to choose transforms at runtime (which is related to using
config.when
on any other function in the DAG).I also amended tests to capture this.