Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5ac309a

Browse files
authored
Merge pull request#1251 from hchouraria/patch-1
docs(groups): add example for creating subgroups
2 parentsb567522 +92eb4e3 commit5ac309a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎docs/gl_objects/groups.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ Create a group::
5656

5757
group = gl.groups.create({'name': 'group1', 'path': 'group1'})
5858

59+
Create a subgroup under an existing group::
60+
61+
subgroup = gl.groups.create({'name': 'subgroup1', 'path': 'subgroup1', 'parent_id': parent_group_id})
62+
5963
Update a group::
6064

6165
group.description = 'My awesome group'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp