Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
diptanu committed Dec 31, 2024
1 parent 9f46cdb commit 57e5042
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python-sdk/tests/test_graph_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ def end_node(x: int) -> int:
def second_graph_new_name():
@indexify_function()
def start_node2(x: int) -> dict:
return dict(num=x)
return {"data": dict(num=x)}

@indexify_function()
def middle_node2(data: dict) -> dict:
return dict(num=data["num"] + 1)
return {"data": dict(num=data["num"] + 1)}

@indexify_function()
def end_node2(data: dict) -> int:
Expand All @@ -116,11 +116,11 @@ def end_node2(data: dict) -> int:
def second_graph_reused_function_names():
@indexify_function()
def start_node(x: int) -> dict:
return dict(num=x)
return {"data" :dict(num=x)}

@indexify_function()
def middle_node(data: dict) -> dict:
return dict(num=data["num"] + 1)
return {"data": dict(num=data["num"] + 1)}

@indexify_function()
def end_node(data: dict) -> int:
Expand Down

0 comments on commit 57e5042

Please sign in to comment.