Skip to content

Commit

Permalink
fix: add detailed query params in sdk requests for compute task list
Browse files Browse the repository at this point in the history
Signed-off-by: SdgJlbl <sarah.diot-girard@owkin.com>
  • Loading branch information
SdgJlbl committed Mar 15, 2023
1 parent 7b46bd7 commit 6ae1eb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions substra/sdk/backends/remote/rest_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ae1eb9

Please sign in to comment.