-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing multi-sender stage configurations (#951)
This PR fixes a long overdue placeholder exception from back when we were still using `streamz`. If a user configured multiple upstream stages to a single downstream port, then you would get a `NotImplementedError`. For example, the following would cause an exception: ```python source1 = pipe.add_stage(InMemorySourceStage(config, [filter_probs_df])) source2 = pipe.add_stage(InMemorySourceStage(config, [filter_probs_df])) sink_stage = pipe.add_stage(InMemorySinkStage(config)) pipe.add_edge(source1, sink_stage) pipe.add_edge(source2, sink_stage) ``` Also adds a simple tests to run the above scenario. Authors: - Michael Demoret (https://github.com/mdemoret-nv) Approvers: - David Gardner (https://github.com/dagardner-nv) - Devin Robison (https://github.com/drobison00) URL: #951
- Loading branch information
1 parent
3eec11d
commit 23ae068
Showing
5 changed files
with
44 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters