Skip to content

Commit

Permalink
Resolved issue with item path filtering (#776)
Browse files Browse the repository at this point in the history
  • Loading branch information
JBWilkie authored Jan 30, 2024
1 parent a11a2e4 commit 3e4ebc2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion darwin/dataset/remote_dataset_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,13 @@ def fetch_remote_files(
filters["item_names"] = filters["filenames"]
del filters["filenames"]

for list_type in ["item_names", "statuses", "item_ids", "slot_types"]:
for list_type in [
"item_names",
"statuses",
"item_ids",
"slot_types",
"item_paths",
]:
if list_type in filters:
if type(filters[list_type]) is list:
for value in filters[list_type]:
Expand Down

0 comments on commit 3e4ebc2

Please sign in to comment.