https://prefect.io logo
e

Enda Peng

04/24/2021, 3:41 PM
Is there a way to erase the by default host name label? I call the code below, however, my flow ends up with 2 label. I see an option in command line tool for agent labeling
--no-hostname-label
Copy code
flow.register(project_name="tester", labels=["foo"])
k

Kevin Kho

04/24/2021, 4:18 PM
Hi @Enda Peng You can disable this behavior by passing
hostname_label = False
to the
LocalAgent()
. Docs are here
2 Views