Skip to content

Commit

Permalink
fix(cli): adapt to changes in KG api for importing datasets (#3549)
Browse files Browse the repository at this point in the history
  • Loading branch information
Panaetius committed Jul 6, 2023
1 parent d162392 commit 020434a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion renku/core/dataset/providers/renku.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ def _fetch_dataset_info(self, uri):
identifier = None
dataset_info = None
else:
dataset_name = dataset_info.get("name")
# name was renamed to slug, name kept for backwards compatibility
dataset_name = dataset_info.get("slug", dataset_info.get("name"))
identifier = dataset_info["identifier"]

if project_id:
Expand Down

0 comments on commit 020434a

Please sign in to comment.