summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects.py
diff options
context:
space:
mode:
authorlassimus <jessie@lassimus.com>2020-03-20 15:50:30 -0400
committerlassimus <jessie@lassimus.com>2020-03-20 20:41:18 -0400
commitf493b73e1fbd3c3f1a187fed2de26030f00a89c9 (patch)
treeaf1f5d88457d88f9fd93865fd574225f61bba8b9 /gitlab/v4/objects.py
parent4ffaf1dc0365690df810c99573f5737f635240e0 (diff)
downloadgitlab-f493b73e1fbd3c3f1a187fed2de26030f00a89c9.tar.gz
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
Diffstat (limited to 'gitlab/v4/objects.py')
-rw-r--r--gitlab/v4/objects.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index 9da9adf..6b5b703 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 = (