Hi team, how can I set multiple tags in deployment...
# prefect-community
m
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
Something like
tags=["type:INGESTION", "source:API", <...>]
should work. In other words, make it into an array.
m
thanks..let me try this
h
(as a small correction, it was already an array of course, but with only one element)
m
yeah..it worked..Thanks for the quick reply @Henning Holgersen 🙂