We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44e0a48 commit 5f4097bCopy full SHA for 5f4097b
1 file changed
app/click/examples/eg004_list_clickwraps.py
@@ -16,18 +16,22 @@ def get_args():
16
@staticmethod
17
def worker(args):
18
"""
19
- 1. Create an API client with headers
20
- 2. Get a list of all clickwraps
+ Create an API client with headers
+ Get a list of all elastic templates
21
22
- # Step 1. Create an API client with headers
+ # Create an API client with headers
23
+ #ds-snippet-start:Click4Step2
24
api_client = create_click_api_client(
25
access_token=args["access_token"]
26
)
27
+ #ds-snippet-end
28
- # Step 2. Get a list of all clickwraps
29
+ # Get a list of all elastic templates
30
+ #ds-snippet-start:Click4Step3
31
accounts_api = AccountsApi(api_client)
32
response = accounts_api.get_clickwraps(
33
account_id=args["account_id"]
34
35
36
37
return response
0 commit comments