From 71b5853054fc6d0acd178e2d9bf26665d870b6df Mon Sep 17 00:00:00 2001 From: Francisco Aranda Date: Mon, 20 Jan 2025 12:07:22 +0100 Subject: [PATCH] docs: Add user and workspace ids --- argilla/docs/how_to_guides/migrate_from_legacy_datasets.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/argilla/docs/how_to_guides/migrate_from_legacy_datasets.md b/argilla/docs/how_to_guides/migrate_from_legacy_datasets.md index 85cf578e0b..83751bbc7b 100644 --- a/argilla/docs/how_to_guides/migrate_from_legacy_datasets.md +++ b/argilla/docs/how_to_guides/migrate_from_legacy_datasets.md @@ -69,13 +69,15 @@ Next, recreate the users and workspaces on the Argilla V2 server: ```python for workspace in workspaces_v1: rg.Workspace( - name=workspace.name + id=workspace.id, + name=workspace.name, ).create() ``` ```python for user in users_v1: user_v2 = rg.User( + id=user.id, username=user.username, first_name=user.first_name, last_name=user.last_name,