From abb87b94a29124b365f387c0ede993c261e76dda Mon Sep 17 00:00:00 2001 From: John Wilkie Date: Tue, 30 Jan 2024 11:18:56 +0000 Subject: [PATCH] Resolved issue with item path filtering --- darwin/dataset/remote_dataset_v2.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/darwin/dataset/remote_dataset_v2.py b/darwin/dataset/remote_dataset_v2.py index 215ff05b8..9b5b341ae 100644 --- a/darwin/dataset/remote_dataset_v2.py +++ b/darwin/dataset/remote_dataset_v2.py @@ -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]: