https://prefect.io logo
l

Liam England

03/07/2022, 4:32 PM
Hi folks, Is there a way to drop the default label when using
prefect build
to generate json for flow registration? There doesn't seem to be an option in the cli as there is for local agents, unless I've missed something.
k

Kevin Kho

03/07/2022, 4:33 PM
I think you attach it to the Storage or you can do
Copy code
with Flow(..) as flow:
    ...
flow.storage.add_default_labels=False
and maybe build will not have it in the registration json
👍 1
3 Views