Skip to content

Commit b73b1f2

Browse files
hasan7nmhmdk0
andauthored
fix bug in dataset list (#697)
listing with data preparation container as the filter had a bug. Co-authored-by: Mohammad Kassem <106847018+mhmdk0@users.noreply.github.com>
1 parent f6ebd88 commit b73b1f2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎cli/medperf/entities/dataset.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,10 @@ def remote_prefilter(filters: dict) -> callable:
179179
comms_fn = config.comms.get_user_datasets
180180

181181
if "mlcube" in filters and filters["mlcube"] is not None:
182+
mlcube_id = filters["mlcube"]
182183

183-
def func():
184-
return config.comms.get_mlcube_datasets(filters["mlcube"])
184+
def func(filters: dict):
185+
return config.comms.get_mlcube_datasets(mlcube_id)
185186

186187
comms_fn = func
187188

0 commit comments

Comments
 (0)