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 12, 2024
1 parent e3694ca commit ea91297
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions argilla-sdk/src/argilla_sdk/datasets/_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ def __init__(
self._log_message(f"Settings dataset name to unique UUID: {name}")

self.workspace_id = (
_model.workspace_id
if _model and _model.workspace_id
else self._workspace_id_from_name(workspace=workspace)
_model.workspace_id if _model and _model.workspace_id else self._workspace_id_from_name(workspace=workspace)
)
self._model = _model or DatasetModel(
name=name,
Expand Down

0 comments on commit ea91297

Please sign in to comment.