Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 19, 2024
1 parent 19f3c16 commit a77b125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion argilla/src/argilla/client/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def from_id(cls, id: UUID) -> "User":
client = cls.__active_client()

try:
if not isinstance(id,UUID):
if not isinstance(id, UUID):
id = UUID(id)
except BaseClientError as e:
raise RuntimeError(f"Error while converting id=`{id}` to UUID. Is it a valid UUID?") from e
Expand Down

0 comments on commit a77b125

Please sign in to comment.