Check if this DataNode was either produced in this scope or already split for this scope.
(self, data_node)
| 152 | ) |
| 153 | |
| 154 | def has(self, data_node): |
| 155 | """ |
| 156 | Check if this DataNode was either produced in this scope or already split for this scope. |
| 157 | """ |
| 158 | if _data_node_repr(data_node) in self.produced: |
| 159 | return True |
| 160 | elif _data_node_repr(data_node) in self.splits: |
| 161 | return True |
| 162 | else: |
| 163 | return False |
| 164 | |
| 165 | def get(self, data_node): |
| 166 | """Return the `data_node` if it was produced in this scope, or the appropriate split node |
no test coverage detected