Closed jakekaplan closed 2 days ago
OSS pr of: https://github.com/PrefectHQ/nebula/pull/7996
This PR updates the flow run graph to support graphing nested tasks closer to how we represent subflows, by adding a new field Node.encapsulating.
Node.encapsulating
This field is meant to represent tasks that are the encapsulating tasks that call another task, e.g.:
from prefect import flow, task @task def nested_task(): return @task def task(): nested_task() @flow def my_flow(): task() if __name__ == '__main__': my_flow()
This graph has no edges, but nested_task will be represented to be "encapsulated" by task. This PR requires a companion UI pr before it can be merged.
nested_task
task
Closes https://github.com/PrefectHQ/prefect/issues/13970 (this is the last PR that needs to be merged)
OSS pr of: https://github.com/PrefectHQ/nebula/pull/7996
This PR updates the flow run graph to support graphing nested tasks closer to how we represent subflows, by adding a new field
Node.encapsulating
.This field is meant to represent tasks that are the encapsulating tasks that call another task, e.g.:
This graph has no edges, but
nested_task
will be represented to be "encapsulated" bytask
. This PR requires a companion UI pr before it can be merged.