From a6e07efb4acb0496d711f7500b6633d07a5b544a Mon Sep 17 00:00:00 2001 From: Alvaro Bartolome Date: Thu, 13 Jul 2023 16:12:46 +0200 Subject: [PATCH] fix(docs): add `role` in `User` docstring --- src/argilla/client/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/argilla/client/users.py b/src/argilla/client/users.py index 5ad2553494..6a5773e043 100644 --- a/src/argilla/client/users.py +++ b/src/argilla/client/users.py @@ -61,7 +61,7 @@ class User: >>> from argilla import rg >>> user = rg.User.from_name("my-user") # or `User.from_id("...")` >>> print(user) - User(id='...', username='my-user', first_name='Luke', last_name="Skywalker', full_name='Luke Skywalker', role='annotator', workspaces=[WorkspaceModel(...), ...], api_key='...', inserted_at=datetime.datetime(2021, 8, 31, 10, 0, 0), updated_at=datetime.datetime(2021, 8, 31, 10, 0, 0)) + User(id='...', username='my-user', role='annotator', first_name='Luke', last_name="Skywalker', full_name='Luke Skywalker', role='annotator', api_key='...', inserted_at=datetime.datetime(2021, 8, 31, 10, 0, 0), updated_at=datetime.datetime(2021, 8, 31, 10, 0, 0)) """ __client: "httpx.Client"