Hello,
I’d like to dynamically generate a python dictionary of flow to task mapping from my flow code, something like:
@task
def task_a():
...
@task
def task_b():
...
@flow
def my_flow():
task_a()
task_b()
# the mapping I need to generate from the code above
{"my_flow": ["task_a", "task_b"]}
Is there builtin methods I could use to acheive it ?
Thanks