From 6ae1eb99a929d13f21800d25005e385ad8f358f6 Mon Sep 17 00:00:00 2001 From: SdgJlbl Date: Wed, 15 Mar 2023 12:17:40 +0100 Subject: [PATCH] fix: add detailed query params in sdk requests for compute task list Signed-off-by: SdgJlbl --- substra/sdk/backends/remote/rest_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/substra/sdk/backends/remote/rest_client.py b/substra/sdk/backends/remote/rest_client.py index bbceb96b..e70bea97 100644 --- a/substra/sdk/backends/remote/rest_client.py +++ b/substra/sdk/backends/remote/rest_client.py @@ -253,9 +253,9 @@ def list( List[Dict] : a List of assets (dicts) """ - request_kwargs = {"params": {}} + request_kwargs = {"params": {"detailed": "true"}} if filters: - request_kwargs["params"] = request_formatter.format_search_filters_for_remote(filters) + request_kwargs["params"].update(request_formatter.format_search_filters_for_remote(filters)) if order_by: request_kwargs["params"]["ordering"] = request_formatter.format_search_ordering_for_remote( order_by, ascending