File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -16,18 +16,22 @@ def get_args():
1616 @staticmethod
1717 def worker (args ):
1818 """
19- 1. Create an API client with headers
20- 2. Get a list of all clickwraps
19+ Create an API client with headers
20+ Get a list of all elastic templates
2121 """
22- # Step 1. Create an API client with headers
22+ # Create an API client with headers
23+ #ds-snippet-start:Click4Step2
2324 api_client = create_click_api_client (
2425 access_token = args ["access_token" ]
2526 )
27+ #ds-snippet-end
2628
27- # Step 2. Get a list of all clickwraps
29+ # Get a list of all elastic templates
30+ #ds-snippet-start:Click4Step3
2831 accounts_api = AccountsApi (api_client )
2932 response = accounts_api .get_clickwraps (
3033 account_id = args ["account_id" ]
3134 )
35+ #ds-snippet-end
3236
3337 return response
You can’t perform that action at this time.
0 commit comments