Samuel Hinton
02/04/2021, 12:46 PMAmanda Wee
02/04/2021, 1:15 PMGreg Roche
02/04/2021, 1:16 PMSamuels-MacBook-Pro.local
label to me looks like the hostname of the machine from which the flow was registered. Flows which use LocalStorage
automatically get a label with the hostname of the machine which registered the flow (can't find explicitly in the docs how to change this but here's a reference https://github.com/PrefectHQ/prefect/pull/2681 )Samuel Hinton
02/04/2021, 1:18 PMGreg Roche
02/04/2021, 1:22 PMadd_default_labels = False
to the LocalStorage constructor to prevent it from auto-applying the hostname as a default label:
from prefect.storage import Local
with Flow("my_flow", storage=Local(add_default_labels = False)):
# ...
Samuel Hinton
02/04/2021, 1:23 PM