https://prefect.io logo
Title
m

Mohit Singhal

01/23/2023, 1:45 PM
Hi team, how can I set multiple tags in deployment using python dep = Deployment.build_from_flow( flow=*, name="**", tags=["type: INGESTION, source: API, destination: S3, owner: DE, consumer: AE"], ) if name == "__main__": deployment.apply()
currently it is coming as one tag but I need all them as separate tags.
h

Henning Holgersen

01/23/2023, 1:48 PM
Something like
tags=["type:INGESTION", "source:API", <...>]
should work. In other words, make it into an array.
m

Mohit Singhal

01/23/2023, 1:48 PM
thanks..let me try this
h

Henning Holgersen

01/23/2023, 1:49 PM
(as a small correction, it was already an array of course, but with only one element)
m

Mohit Singhal

01/23/2023, 1:50 PM
yeah..it worked..Thanks for the quick reply @Henning Holgersen 🙂