diff --git a/CHANGELOG.md b/CHANGELOG.md index 22a3b6831a..ee25e154ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -67,6 +67,7 @@ These are the section headers that we use: - Update `GET /api/v1/me/datasets/:dataset_id/records` endpoint to fetch record using the search engine. ([#4142](https://github.com/argilla-io/argilla/pull/4142)) - [breaking] `limit` query parameter for `GET /api/v1/datasets/:dataset_id/records` endpoint is now only accepting values greater or equal than `1` and less or equal than `1000`. ([#4143](https://github.com/argilla-io/argilla/pull/4143)) - [breaking] `limit` query parameter for `GET /api/v1/me/datasets/:dataset_id/records` endpoint is now only accepting values greater or equal than `1` and less or equal than `1000`. ([#4143](https://github.com/argilla-io/argilla/pull/4143)) +- Now client class `DatasetConfig` is setting `use_enum_values` config value to `True`. Closes [#4089](https://github.com/argilla-io/argilla/issues/4089) ([#4172](https://github.com/argilla-io/argilla/pull/4172)) ### Fixed diff --git a/src/argilla/client/feedback/config.py b/src/argilla/client/feedback/config.py index 721bf02a23..aa201e2ee7 100644 --- a/src/argilla/client/feedback/config.py +++ b/src/argilla/client/feedback/config.py @@ -46,6 +46,9 @@ class DatasetConfig(BaseModel): allow_extra_metadata: bool = True vectors_settings: Optional[List[VectorSettings]] = None + class Config: + use_enum_values = True + def to_yaml(self) -> str: return dump(self.dict())