From 93c75e891787b4c223f4b7b3b9546f71cc848be0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20Al=C3=A9p=C3=A9e?= Date: Thu, 5 Dec 2024 17:22:29 +0100 Subject: [PATCH] fix download dataset type dataset_part as workspace_file --- .../Accelerators/scenario_download/scenario_downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CosmoTech_Acceleration_Library/Accelerators/scenario_download/scenario_downloader.py b/CosmoTech_Acceleration_Library/Accelerators/scenario_download/scenario_downloader.py index d53ce9bd..b8241b82 100644 --- a/CosmoTech_Acceleration_Library/Accelerators/scenario_download/scenario_downloader.py +++ b/CosmoTech_Acceleration_Library/Accelerators/scenario_download/scenario_downloader.py @@ -112,7 +112,7 @@ def download_dataset(self, dataset_id: str) -> (str, str, Union[str, None]): is_adt = 'AZURE_DIGITAL_TWINS_URL' in parameters is_storage = 'AZURE_STORAGE_CONTAINER_BLOB_PREFIX' in parameters is_legacy_twin_cache = 'TWIN_CACHE_NAME' in parameters and dataset.twingraph_id is None # Legacy twingraph dataset with specific connector - is_in_workspace_file = False if dataset.tags is None else 'workspaceFile' in dataset.tags + is_in_workspace_file = False if dataset.tags is None else 'workspaceFile' in dataset.tags or 'dataset_part' in dataset.tags if is_adt: return {