Format the generator test's sink helper

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-26 22:53:41 +02:00
co-authored by Claude Opus 5
parent 2e82367926
commit 69fc0ceeb5
+5 -1
View File
@@ -38,7 +38,11 @@ def _sink_node(node_id: str, port: str, dtype: DType) -> tuple[Node, list[dict]]
node._pipeline = type(
"Recorder",
(),
{"publish_emission": staticmethod(lambda _node, outputs: published.append(outputs))},
{
"publish_emission": staticmethod(
lambda _node, outputs: published.append(outputs)
)
},
)()
return node, published