diff --git a/arkindex/training/serializers.py b/arkindex/training/serializers.py index 837db0667360143cbb2a84fe0e8ab4f67ce1ea5a..33365ecfd81aa16bb3e02333a8bda96ae335dbdc 100644 --- a/arkindex/training/serializers.py +++ b/arkindex/training/serializers.py @@ -542,6 +542,10 @@ class DatasetSerializer(serializers.ModelSerializer): set_elements = DatasetSetsCountField( help_text="Distribution of elements in sets. This value is set to null when listing multiple datasets.", ) + unique_elements = serializers.BooleanField( + default=True, + help_text="Ensures that an element is only present in a single set at a time.", + ) def validate_state(self, state): """