Skip to content

Commit 9e7e202

Browse files
Michał Sośnickimichalsosn
authored andcommitted
fix: filter runs with non empty custom run id by default
1 parent 39a0e30 commit 9e7e202

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/neptune_exporter/exporters/neptune3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ def list_runs(
9797
filters.Attribute("sys/custom_run_id", type="string"), runs
9898
)
9999
else:
100-
runs_filter = filters.Filter.exists(
101-
filters.Attribute("sys/custom_run_id", type="string")
100+
runs_filter = filters.Filter.matches(
101+
filters.Attribute("sys/custom_run_id", type="string"), ".+"
102102
)
103103
return nq_runs.list_runs(project=project_id, runs=runs_filter)
104104

0 commit comments

Comments
 (0)