https://prefect.io logo
x

Xavier Witdouck

07/07/2022, 7:04 PM
Hi all, how do you access the labels of the agent running a flow at runtime? I assumed there would be something in the context, but that doesn’t seem to be the case? Is there any agent level information you can access from inside a flow or task?
k

Kevin Kho

07/07/2022, 7:05 PM
This is not in context. You would need to get it from the GraphQL API, or this might be solvable by using a parameter too
3 Views