https://dagster.io/ logo
#dagster-support
Title
# dagster-support
a

Arun Kumar

06/17/2022, 12:43 AM
Is there any way we can add List[str] as a tag value and search in the runs page by tag contains? Looks like currently the job run tags take only str as a value.
c

claire

06/17/2022, 5:58 PM
Hi Arun. In the Dagit UI, we currently only support exact tag matching based on the tag value. There does exist a instance method that allows you to query for multiple tag values:
Copy code
instance.get_runs(filters=RunsFilter(tags={"my_tag": [1, 2, 3]}))
So any run with a tag value within that list will be returned.
I think it makes sense to support searching in Dagit for multiple tag values, so I'll add it as a feature request:
@Dagster Bot issue Dagit allow filtering by multiple run tag values
d

Dagster Bot

06/17/2022, 5:59 PM