scott
04/04/2023, 6:52 PM{{ deployment.name }}
is blank when the flow is a subflow - ideally in the automation whisker template I could check if a flow was really a subflow, and then get the subflow name and the parent deployment name. Any tips? I’ve been fiddling with get_run_context
and prefect.runtime
but I don’t see anything that can be used to 1) check if a flow is really a subflow, and 2) if a flow is a subflow, get the parent deployment name
Clearly there is a way to do it since the Prefect UI has this logic as i toggle through pages, but I don’t see a clear way to get that same information with the prefect python libraryWill Raphaelson
04/05/2023, 4:40 PMscott
04/05/2023, 6:48 PM