Skip to content

Commit 093bca7

Browse files
Updated the client call for the seperate method field
1 parent 8b48713 commit 093bca7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

v6-session-basics/central.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ def global_sum(client: AlgorithmClient, column: str) -> dict:
1919
task = client.task.create(
2020
name="central-sum",
2121
description="subtask",
22+
method="sum",
2223
organizations=ids,
23-
input_={"method": "sum", "args": [column], "kwargs": {}},
24+
input_={"args": [column], "kwargs": {}},
2425
)
2526

2627
info("Waiting for results...")

0 commit comments

Comments
 (0)