Skip to content

Commit

Permalink
chore: revert local change
Browse files Browse the repository at this point in the history
  • Loading branch information
frascuchon committed Oct 3, 2024
1 parent f10598c commit 606403a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions argilla/src/argilla/settings/_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,8 @@ def _update_dataset_related_attributes(self):
self._client.api.datasets.update(dataset_model)

def _validate_empty_settings(self):
if not all(self.fields):
message = "At least one field must be defined in the settings"
if not all([self.fields, self.questions]):
message = "Fields and questions are required"
raise SettingsError(message=message)

def _validate_duplicate_names(self) -> None:
Expand Down

0 comments on commit 606403a

Please sign in to comment.