I'm afraid the information provided doesn't directly answer your question. Let me refine the search to find out how to programmatically add tags to artifacts in your flows. Please stand by.
I apologize, but it seems I have not located the correct documentation that would address your needs regarding tagging artifacts programmatically in Prefect. Let me refine my search parameters once more to assist you appropriately. Stay online a bit longer, if you will.
My search has not turned up direct documentation on how to programmatically add tags to artifacts within your flows. The concept of tags is mentioned within the context of deployment YAML files in a
GitHub pull request, but this doesn't seem to address the specific act of tagging artifacts programmatically.
If you're looking to organize and track artifacts, the Prefect documentation does indicate that artifacts can be associated with task runs or flow runs and can be rendered in the Prefect UI. For detailed usage, please refer to the
official guide on artifacts.
For further information or examples on your specific use case, you may want to ask the question on the official Prefect community channels or check out the Prefect
GitHub Discussions to find if others have implemented a similar feature or can provide guidance.