Hello, I would like to know if it is possible to a...
# prefect-ui
d
Hello, I would like to know if it is possible to assign an agent label when I create a schedule using the UI. When I create the schedule, the runs don't run because it doesn't have an agent label assigned
k
Hi @Diego Oliveira, I am a bit confused why the agent label would be related to the schedule. The agent label needs to go on agent creation. The Flow label needs to go on the flow side (storage, not schedule). Does that help?
d
Its because I have multiple agents and I want to create a schedule associate with a agent, it's possible?
k
It’s not but I think in Prefect 2.0 it might be possible because everything is tagged including Schedules
g
But isn't it possible to set labels on schedules through the Python API? I can even see an open issue on that https://github.com/PrefectHQ/ui/issues/962
k
Oh you are right @Gabriel Milan. My thinking was wrong here. Thanks for correcting me! But yes you still can’t set it in the UI as seen in the issue
g
Do you think this will be available at Orion?
k
I can’t say for sure but you can comment and ask Jenny in that issue
2