Skip to content

Commit

Permalink
Propagate arguments to parent save method
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorjerse committed Dec 7, 2023
1 parent 3ccd69b commit 74eef52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Fix
``FLOW_PROCESSES_IGNORE_LIST`` in case of missing settings.
- User defined slug must not be changed
- Raise ``ValidationError`` when trying to get non-existent ``AnnotationField``
- Propagate arguments to parent save method in ``BaseCollection`` model

Added
-----
Expand Down
2 changes: 1 addition & 1 deletion resolwe/flow/models/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def save(self, *args, **kwargs):
raise ValueError(
"`descriptor_schema` must be defined if `descriptor` is given"
)
super().save()
super().save(*args, **kwargs)


class CollectionQuerySet(BaseQuerySet, PermissionQuerySet):
Expand Down

0 comments on commit 74eef52

Please sign in to comment.