Skip to content

Commit 7799cb9

Browse files
authored
Merge pull request #1746 from python-gitlab/jlvillal/squash_option
feat: add support for `squash_option` in Projects
2 parents 170a4d9 + a246ce8 commit 7799cb9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

gitlab/v4/objects/projects.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,7 @@ class ProjectManager(CRUDMixin, RESTManager):
692692
"show_default_award_emojis",
693693
"snippets_access_level",
694694
"snippets_enabled",
695+
"squash_option",
695696
"tag_list",
696697
"template_name",
697698
"template_project_id",
@@ -760,6 +761,7 @@ class ProjectManager(CRUDMixin, RESTManager):
760761
"show_default_award_emojis",
761762
"snippets_access_level",
762763
"snippets_enabled",
764+
"squash_option",
763765
"suggestion_commit_message",
764766
"tag_list",
765767
"visibility",

gitlab/v4/objects/users.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ class UserProjectManager(ListMixin, CreateMixin, RESTManager):
500500
"merge_requests_enabled",
501501
"wiki_enabled",
502502
"snippets_enabled",
503+
"squash_option",
503504
"public",
504505
"visibility",
505506
"description",

0 commit comments

Comments
 (0)