In Prefect 2, the concept of flow labels seems to have been replaced by customizable filters and tags for deployments. The documentation mentions the ability to assign tags to various Prefect 2 objects, which may serve a similar purpose to labels in Prefect 1.
To learn more about tags in Prefect 2 and how you can use them to organize and manage your flows, you should review the
Prefect 2 Migration Guide, which provides details on the key differences between Prefect 1 and Prefect 2, including how certain features have been transformed or replaced.