Skip to content

Commit f493b73

Browse files
committed
feat: add create from template args to ProjectManager
This commit adds the v4 Create project attributes necessary to create a project from a project, instance, or group level template as documented in https://docs.gitlab.com/ee/api/projects.html#create-project
1 parent 4ffaf1d commit f493b73

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gitlab/v4/objects.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4788,6 +4788,10 @@ class ProjectManager(CRUDMixin, RESTManager):
47884788
"avatar",
47894789
"printing_merge_request_link_enabled",
47904790
"ci_config_path",
4791+
"template_name",
4792+
"template_project_id",
4793+
"use_custom_template",
4794+
"group_with_project_templates_id",
47914795
),
47924796
)
47934797
_update_attrs = (

0 commit comments

Comments
 (0)