We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42a1ba6 commit e680943Copy full SHA for e680943
docs/gl_objects/projects.rst
@@ -81,7 +81,7 @@ Create a project in a group::
81
82
# You need to get the id of the group, then use the namespace_id attribute
83
# to create the group
84
- group_id = gl.groups.search('my-group')[0].id
+ group_id = gl.groups.list(search='my-group')[0].id
85
project = gl.projects.create({'name': 'myrepo', 'namespace_id': group_id})
86
87
Update a project::
0 commit comments