Skip to content

Commit 5f4097b

Browse files
Mei HsiehMei Hsieh
authored andcommitted
DEVDOCS-10281 Py Click 4 cD mkrs
1 parent 44e0a48 commit 5f4097b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

app/click/examples/eg004_list_clickwraps.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)