prefect
prefect copied to clipboard
Tags created by using "with tags" function should show in the Tags filter in Prefect UI
First check
- [X] I added a descriptive title to this issue.
- [X] I used the GitHub search to find a similar issue and didn't find it.
- [X] I searched the Prefect documentation for this issue.
- [X] I checked that this issue is related to Prefect and not one of its dependencies.
Bug summary
Using this code will add the tag to the task within:
async def monitor_page_flow(url: str):
host = socket.gethostname()
with tags(host):
await monitor_page(url)
But It will not show in the filter input:
Reproduction
`async def monitor_page_flow(url: str):
host = socket.gethostname()
with tags(host):
await monitor_page(url)`
Error
No response
Versions
2.x
Additional context
No response
Thanks for the issue @jfloodnet - we don't (yet) have a way to retrieve task level tags for the filter dropdown however you should be able to enter them yourself into the filter.
I'm going to remove the bug label and add an enhancement one as this is currently working as designed but I can see the value of having task level tags for the dropdowns.