Closed liamhuber closed 7 months ago
Coverage variation | Diff coverage |
---|---|
:white_check_mark: +0.20% (target: -1.00%) | :white_check_mark: 94.72% |
You may notice some variations in coverage metrics with the latest Coverage engine update. For more details, visit the documentation
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Breaking out all the IO and connections stuff from
Node
. Introduces a new intermediateHasIO
mixin to handle this.Also breaks out all the stuff for injecting nodes after output channels into its own module, where
DataOutputWithInjection
extendsDataOutput
and specifies that theowner
needs to be aNode
instead of aHasIO
. Then adds two more...WithInjection
classes on top ofOutputs
andHasIO
so thatNode
gets the right type hinting for its output channels. I'm still not 100% satisfied with this encapsulation, asHasIOWithInjection
probably needs to know it's actually aNode
, butNode
inherits from it! Still, it is better than the previous version where all this injection business was just directly living inOutputData
.Contributes to #243