Skip to content

Commit 7b0a54d

Browse files
committed
DEVDOCS-10488 - adding codeDepot markers
1 parent e722226 commit 7b0a54d

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

app/rooms/examples/eg007_create_form_group.py

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,25 @@ def worker(args):
2222
3. POST the form using SDK
2323
"""
2424

25-
# Step 2 start
2625

2726
# Create an API with headers
27+
#ds-snippet-start:Rooms7Step2
2828
api_client = create_rooms_api_client(access_token=args["access_token"])
29+
#ds-snippet-end:Rooms7Step2
2930

30-
# Step 2 end
31-
32-
# Step 3 start
3331

3432
# Create FormGroupForCreate object
33+
#ds-snippet-start:Rooms7Step3
3534
form = FormGroupForCreate(name=args["form_group_name"])
35+
#ds-snippet-end:Rooms7Step3
3636

37-
# Step 3 end
38-
39-
# Step 4 start
4037

4138
# Post the form object using SDK
39+
#ds-snippet-start:Rooms7Step4
4240
form_groups_api = FormGroupsApi(api_client)
4341
response = form_groups_api.create_form_group(
4442
body=form, account_id=args["account_id"]
4543
)
46-
47-
# Step 4 end
44+
#ds-snippet-end:Rooms7Step4
4845

4946
return response

0 commit comments

Comments
 (0)