8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 90ad2de + 449830f commit 2ac42d6Copy full SHA for 2ac42d6
docs/gl_objects/projects.py
@@ -51,6 +51,9 @@
51
fork = gl.project_forks.create({}, project_id=1)
52
# or
53
fork = project.forks.create({})
54
+
55
+# fork to a specific namespace
56
+fork = gl.project_forks.create({'namespace': 'myteam'}, project_id=1)
57
# end fork
58
59
# forkrelation
gitlab/objects.py
@@ -1169,6 +1169,7 @@ class ProjectFork(GitlabObject):
1169
canList = False
1170
canGet = False
1171
requiredUrlAttrs = ['project_id']
1172
+ optionalCreateAttrs = ['namespace']
1173
1174
1175
class ProjectForkManager(BaseManager):
0 commit comments