Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 99d1f5a

Browse files
fix: flatten the flags column because it's list[str] (#979)
1 parent 9063a20 commit 99d1f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql_api/types/test_analytics/test_analytics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def get_flags(repoid: int, term: str | None = None, interval: int = 30) -> list[
295295
if table is None:
296296
return []
297297

298-
flags = table.select(pl.col("flags")).unique()
298+
flags = table.select(pl.col("flags").explode()).unique()
299299

300300
if term:
301301
flags = flags.filter(pl.col("flags").str.starts_with(term))

0 commit comments

Comments
 (0)