Skip to content

Commit

Permalink
docs: Add user and workspace ids
Browse files Browse the repository at this point in the history
  • Loading branch information
frascuchon committed Jan 20, 2025
1 parent 9153625 commit 71b5853
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion argilla/docs/how_to_guides/migrate_from_legacy_datasets.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 71b5853

Please sign in to comment.