Hiya, Orion looks very slick and clean! I was wond...
# ask-community
o
Hiya, Orion looks very slick and clean! I was wondering: 1. v1 has the concept of projects to group flows, does Orion have something similar? 2. How are flows associated with specific prefect agents (ie: labels in v1)?
j
Hi Oliver, both operations are achieved via flexible tags. You can save dashboards that only include flows (or runs) that have certain tags, achieving a far more customizable way to organize than projects allowed. Agents will also define tag affinities (as well as other filters) to ensure they only pull the intended flows.
o
Thanks Jeremiah! How can I associate a tag with a flow? Can this only be done via a Deployment?
z
An individual flow run can have tags associated with it by calling it in a context
Copy code
from prefect import tags, flow

@flow
def foo():
   ...

with tags("a", "b"):
   foo()
🙏 1