File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments