From f493b73e1fbd3c3f1a187fed2de26030f00a89c9 Mon Sep 17 00:00:00 2001 From: lassimus Date: Fri, 20 Mar 2020 15:50:30 -0400 Subject: [PATCH] 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 --- gitlab/v4/objects.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index 9da9adf2c..6b5b70331 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -4788,6 +4788,10 @@ class ProjectManager(CRUDMixin, RESTManager): "avatar", "printing_merge_request_link_enabled", "ci_config_path", + "template_name", + "template_project_id", + "use_custom_template", + "group_with_project_templates_id", ), ) _update_attrs = (