I'm a bit confused on how to chain tasks that have...
# ask-the-community
c
I'm a bit confused on how to chain tasks that have non-None return values. All the examples in the docs are using functions with None return values. Would this be correct?
Copy code
@workflow
def my_wf():
   data = data_getting_task():
   promise1 = some_non_data_dependent_task()
   data >> promise1
Or do I need to cast/handle it differently?
k
works for me, does it not work for you
remember in python None is always returned
so Flyte captures that automatically