https://prefect.io logo
#prefect-community
Title
# prefect-community
n

Nathan Low

01/06/2023, 4:56 PM
Hey All, hope you're all having a great day. Is there any way to name the run of a sub-flow, I really like the cool-names but it would be really helpful for my team-mates to see which dates of a sub-flow failed at a glance by looking at the flow name.
1
m

Mason Menges

01/06/2023, 7:27 PM
Hey @Nathan Low you should be able to run the sub-flows using with_options to specify a custom flow name for the run, it'll still have the randomly generated name for the flow run but it'll show the custom name for the flow before that https://docs.prefect.io/api-ref/prefect/flows/?h=with_options#prefect.flows.Flow.with_options, I believe the intent is to expose this functionality at some point but it hasn't been done yet to my knowledge
n

Nathan Low

01/06/2023, 8:30 PM
Thanks @Mason Menges I'll give that a try!
4 Views