Hello! Can tags be added to flows? I see a 'tags' ...
# prefect-community
p
Hello! Can tags be added to flows? I see a 'tags' column in the database, but i don't see any way to set it in the
flow
decorator. thanks!
1
z
You can add a tags to a given flow run as in this example:
Copy code
Run a flow with tags

        >>> @flow
        >>> def my_flow():
        >>>     pass
        >>> with tags("a", b"):
        >>>     my_flow()  # has tags: a, b
p
I mean for a flow definition, not a flow run
z
We originally had tags on the flow decorator but it was confusing for reasons I do not quite remember. I think if you add tags in the UI they wouldn’t apply to the flow in the future?
p
z
This is a good request to add on GitHub so we can get the rest of the team invovled
Yeah I know they’re on the table 🙂
p
I also noticed tha description is not in the db but it is in the decorator