Skip to content

Commit

Permalink
docs: updated documentation to use UUID class for retrieving user arg…
Browse files Browse the repository at this point in the history
  • Loading branch information
datapumpernickel committed Jun 18, 2024
1 parent 6a0361d commit 08384a0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@ You can get a user by id using the `from_id` classmethod in the `User` class.

```python
import argilla as rg

from uuid import UUID
rg.init(api_url="<ARGILLA_API_URL>", api_key="<ARGILLA_API_KEY>")

user = rg.User.from_id("00000000-0000-0000-0000-000000000000")
user = rg.User.from_id(UUID("00000000-0000-0000-0000-000000000000"))
```

### Assign a `User` to a `Workspace`
Expand Down

0 comments on commit 08384a0

Please sign in to comment.