Skip to content
Snippets Groups Projects
Commit f8b321ca authored by Valentin Rigal's avatar Valentin Rigal
Browse files

Improve API docs

parent 14cf39c7
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !2276. Comments created here will be created in the context of that merge request.
......@@ -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):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment