summaryrefslogtreecommitdiff
path: root/gitlab/v4
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2022-12-03 19:33:33 +0000
committerNejc Habjan <hab.nejc@gmail.com>2022-12-03 21:07:12 +0100
commit5579750335245011a3acb9456cb488f0fa1cda61 (patch)
treee891d2372dff26218d5e67efd0f1e546a7846c00 /gitlab/v4
parentacb3a4ad1fa23c21b1d7f50e95913136beb61402 (diff)
downloadgitlab-5579750335245011a3acb9456cb488f0fa1cda61.tar.gz
fix(api): Make description optional for releases
Diffstat (limited to 'gitlab/v4')
-rw-r--r--gitlab/v4/objects/releases.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects/releases.py b/gitlab/v4/objects/releases.py
index c21a605..226a270 100644
--- a/gitlab/v4/objects/releases.py
+++ b/gitlab/v4/objects/releases.py
@@ -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",