Skip to content

Commit

Permalink
fix(docs): add role in User docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarobartt committed Jul 13, 2023
1 parent 08a9a64 commit a6e07ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/argilla/client/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a6e07ef

Please sign in to comment.