diff options
author | John L. Villalovos <john@sodarock.com> | 2021-12-13 17:56:37 -0800 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2021-12-13 17:56:37 -0800 |
commit | a246ce8a942b33c5b23ac075b94237da09013fa2 (patch) | |
tree | 28f5b05fa77c837df3aaba1dc970fc587feb007c | |
parent | 170a4d94acb661cba88e7c55c8ce0b33fa89e845 (diff) | |
download | gitlab-jlvillal/squash_option.tar.gz |
feat: add support for `squash_option` in Projectsjlvillal/squash_option
There is an optional `squash_option` parameter which can be used when
creating Projects and UserProjects.
Closes #1744
-rw-r--r-- | gitlab/v4/objects/projects.py | 2 | ||||
-rw-r--r-- | gitlab/v4/objects/users.py | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/gitlab/v4/objects/projects.py b/gitlab/v4/objects/projects.py index 14519db..74671c8 100644 --- a/gitlab/v4/objects/projects.py +++ b/gitlab/v4/objects/projects.py @@ -692,6 +692,7 @@ class ProjectManager(CRUDMixin, RESTManager): "show_default_award_emojis", "snippets_access_level", "snippets_enabled", + "squash_option", "tag_list", "template_name", "template_project_id", @@ -760,6 +761,7 @@ class ProjectManager(CRUDMixin, RESTManager): "show_default_award_emojis", "snippets_access_level", "snippets_enabled", + "squash_option", "suggestion_commit_message", "tag_list", "visibility", diff --git a/gitlab/v4/objects/users.py b/gitlab/v4/objects/users.py index 568e019..53376a9 100644 --- a/gitlab/v4/objects/users.py +++ b/gitlab/v4/objects/users.py @@ -500,6 +500,7 @@ class UserProjectManager(ListMixin, CreateMixin, RESTManager): "merge_requests_enabled", "wiki_enabled", "snippets_enabled", + "squash_option", "public", "visibility", "description", |