File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 33
44from app .rooms import create_rooms_api_client
55
6-
76class Eg007CreateFormGroupController :
87 @staticmethod
98 def get_args ():
@@ -21,20 +20,14 @@ def worker(args):
2120 2. Create FormGroupForCreate object
2221 3. POST the form using SDK
2322 """
24-
25-
2623 # Create an API with headers
2724 #ds-snippet-start:Rooms7Step2
2825 api_client = create_rooms_api_client (access_token = args ["access_token" ])
2926 #ds-snippet-end:Rooms7Step2
30-
31-
3227 # Create FormGroupForCreate object
3328 #ds-snippet-start:Rooms7Step3
3429 form = FormGroupForCreate (name = args ["form_group_name" ])
3530 #ds-snippet-end:Rooms7Step3
36-
37-
3831 # Post the form object using SDK
3932 #ds-snippet-start:Rooms7Step4
4033 form_groups_api = FormGroupsApi (api_client )
@@ -43,4 +36,4 @@ def worker(args):
4336 )
4437 #ds-snippet-end:Rooms7Step4
4538
46- return response
39+ return response
You can’t perform that action at this time.
0 commit comments