Deceivious
02/09/2023, 9:25 AMprefect.context.get_run_context()
returns a TaskRunContext when triggered from a running task which does not have Flow name.
Thanks!from prefect.context import FlowRunContext
#call from within task method
FlowRunContext.get().flow.name
unsure if this is safe