Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
frascuchon committed Feb 17, 2025
2 parents ce50eb3 + 72fef19 commit 9bc5f10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions argilla/docs/how_to_guides/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,10 @@ client = rg.Argilla(api_url="<api_url>", api_key="<api_key>")

user_to_update = client.users('my_username')

user.username = 'new_username'
user.first_name = 'new_first_name'
user.last_name = 'new_last_name'
user.role = 'admin'
user_to_update.username = 'new_username'
user_to_update.first_name = 'new_first_name'
user_to_update.last_name = 'new_last_name'
user_to_update.role = 'admin'

updated_user = user_to_update.update()
```
Expand Down

0 comments on commit 9bc5f10

Please sign in to comment.