From a9d4cf8d8e4ebc7e39146179b572d3a9691fe758 Mon Sep 17 00:00:00 2001 From: Alexander Goscinski Date: Thu, 19 Sep 2024 07:52:57 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Xing Wang --- docs/gallery/howto/autogen/aggregate.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/gallery/howto/autogen/aggregate.py b/docs/gallery/howto/autogen/aggregate.py index 58ae9241..1ea3b8c2 100644 --- a/docs/gallery/howto/autogen/aggregate.py +++ b/docs/gallery/howto/autogen/aggregate.py @@ -59,7 +59,6 @@ def aggregate(**collected_values): # We use a keyword argument to obtain a dict aggregate_task = wg.add_task(aggregate, name="aggregate_task") # we have to increase the link limit because by default workgraph only supports one link per input socket -# this is still an experimental feature that is why aggregate_task.inputs["collected_values"].link_limit = 50 for i in range(2): # this can be chosen as wanted @@ -140,7 +139,7 @@ def aggregate(**collected_values): aggregate_task = wg.add_task(aggregate, name="aggregate_task") # we have to increase the link limit because by default workgraph only supports -# one link per input socket this is still an experimental feature that is why +# one link per input socket. aggregate_task.inputs["collected_ints"].link_limit = 50 aggregate_task.inputs["collected_floats"].link_limit = 50