Here is an example of code you can use to understand how it works:
from taipy.core import Config
def write_data(data, path):
generic_data_node_cfg = Config.configure_generic_data_node(id=”my_data_node”,
You also have to be aware of your types. The function of your task will receive the type given by ‘read_data’ and the type returned by the function of your task should be in the correct type for ‘write_data’ to work.
This line of code below should work with “foo” and “bar” optional and function(), your normal Python function used by your task.
If you need more explanation, I can help you or organize a call when you want.