Is there any way we can add List[str] as a tag val...
# ask-community
a
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
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