Skip to content

Commit c3e3716

Browse files
authored
Support category restriction
1 parent 18b95d1 commit c3e3716

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

simvue/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ def list_artifacts(self, run, category=None):
8888
List artifacts associated with a run
8989
"""
9090
params = {'run': run}
91+
if category:
92+
params['category'] = category
9193

9294
try:
9395
response = requests.get(f"{self._url}/api/artifacts", headers=self._headers, params=params)

0 commit comments

Comments
 (0)