def METHOD_NAME():
    graph_def = GraphDefinition(
        name="basic",
        node_defs=[return_one, add_one],
        dependencies={"add_one": {"num": DependencyDefinition("return_one")}},
    )
    assert graph_def.execute_in_process().output_for_node("add_one") == 2