Skip to content

Commit cd7c62a

Browse files
committed
DEVDOCS-10148 - adding codeDepot markers
1 parent a301e89 commit cd7c62a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/eSignature/examples/eg028_brand_creating.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,21 @@ def worker(args):
2323
"""
2424

2525
# Step 2. Construct your API headers
26+
#ds-snippet-start:eSign28Step2
2627
api_client = create_api_client(base_path=args["base_path"], access_token=args["access_token"])
28+
#ds-snippet-end:eSign28Step2
2729

2830
# Step 3. Construct your request body
31+
#ds-snippet-start:eSign28Step3
2932
brand = Brand(
3033
brand_name=args["brand_name"],
3134
default_brand_language=args["default_language"],
3235
)
36+
#ds-snippet-end:eSign28Step3
3337

3438
# Step 4. Call the eSignature REST API
39+
#ds-snippet-start:eSign28Step4
3540
account_api = AccountsApi(api_client)
3641
response = account_api.create_brand(account_id=args["account_id"], brand=brand)
42+
#ds-snippet-end:eSign28Step4
3743
return response

0 commit comments

Comments
 (0)