Skip to content

Commit

Permalink
fix(api): Make description optional for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
lovetox authored and nejch committed Dec 3, 2022
1 parent acb3a4a commit 5579750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/v4/objects/releases.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ProjectReleaseManager(CRUDMixin, RESTManager):
_obj_cls = ProjectRelease
_from_parent_attrs = {"project_id": "id"}
_create_attrs = RequiredOptional(
required=("tag_name", "description"), optional=("name", "ref", "assets")
required=("tag_name",), optional=("name", "description", "ref", "assets")
)
_list_filters = (
"order_by",
Expand Down

0 comments on commit 5579750

Please sign in to comment.