William Jamir
03/28/2024, 7:01 PM@task
def my_task():
...
def my_func():
""" Regular python function that groups tasks """
my_task()
my_task2()
.....
@flow
def my_flow():
with prefec.group():
my_func()
my_others_tasks()
You might ask, 'Why don't you use a subflow instead?'
In our case, we really want to have all the information on the first page.
Additionally, we want to have all the artifacts, results (and even logs) on a single page, rather than going to subflow screens, something that is not possible with subflows.
Is it possible to have it this way?"