Hi all, not a big deal, but my flows receive a lab...
# ask-community
a
Hi all, not a big deal, but my flows receive a label "Fields" out of nowhere. Is this expected? I don't have that label anywhere at the creation step....
k
Hey @Anatoly Alekseev, it is expected for Local Storage which is the default because if you register a flow on Machine A, it can’t run be run by Machine B (it doesn’t live there since it lives in the storage of Machine A). To help with this, Prefect provides a default label for both your Flow and for the Local Agent. This helps them pair together so a Flow registered on Machine A can only run on the agent running on Machine A. Machine B would have a different default host name. You can turn this off by doing
flow.storage = Local(add_default_labels=False)
and on the agent side,
prefect agent local start --no-hostname-label
👍 1