Tomás Emilio Silva Ebensperger08/24/2022, 6:36 PM
agent = LocalAgent()
instead of passing the labels to the LocalAgent params upon instantiation. This way i have complete separation from agents even if they are running locally on the same machine Now the issue with registering flows is the same, the labels assigned to the flow are the ones you provide + that default local label. I can't seem to remove the default label before registration and the agents don't work, because their label must be a `superset`of the flow's labels.
agent.labels = ['custom_label'}
Mason Menges08/24/2022, 8:39 PM
this same idea should be doable for starting the agents as well https://docs-v1.prefect.io/orchestration/agents/local.html#agent-configuration