summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects.py')
-rw-r--r--gitlab/v4/objects.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index f832b71..9da9adf 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -4839,6 +4839,7 @@ class ProjectManager(CRUDMixin, RESTManager):
self,
file,
path,
+ name=None,
namespace=None,
overwrite=False,
override_params=None,
@@ -4868,6 +4869,8 @@ class ProjectManager(CRUDMixin, RESTManager):
if override_params:
for k, v in override_params.items():
data["override_params[%s]" % k] = v
+ if name is not None:
+ data["name"] = name
if namespace:
data["namespace"] = namespace
return self.gitlab.http_post(