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
Zanie
10/07/2022, 9:20 PM
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
Paco Ibañez
10/07/2022, 9:22 PM
I mean for a flow definition, not a flow run
z
Zanie
10/07/2022, 9:22 PM
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
Paco Ibañez
10/07/2022, 9:22 PM
z
Zanie
10/07/2022, 9:22 PM
This is a good request to add on GitHub so we can get the rest of the team invovled
Zanie
10/07/2022, 9:22 PM
Yeah I know they’re on the table 🙂
p
Paco Ibañez
10/07/2022, 9:23 PM
I also noticed tha description is not in the db but it is in the decorator
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.