Skip to content

Commit 8fd5cde

Browse files
committed
DEVDOCS-10224 codedepot comments
1 parent c6a0076 commit 8fd5cde

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

app/eSignature/examples/eg029_brands_apply_to_envelope.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,22 @@ def worker(cls, args):
3939
3. Apply the brand to the envelope using SDK
4040
"""
4141

42-
# Step 2. Construct your API headers
42+
# Construct your API headers
43+
#ds-snippet-start:eSign29Step2
4344
api_client = create_api_client(base_path=args["base_path"], access_token=args["access_token"])
45+
#ds-snippet-end:eSign29Step2
4446

45-
# Step 3. Construct your request body
47+
# Construct your request body
48+
#ds-snippet-start:eSign29Step4
4649
envelope_api = EnvelopesApi(api_client)
4750
envelope_definition = cls.make_envelope(args["envelope_args"])
4851

49-
# Step 4. Call the eSignature REST API
52+
# Call the eSignature REST API
5053
response = envelope_api.create_envelope(account_id=args["account_id"], envelope_definition=envelope_definition)
51-
54+
#ds-snippet-end:eSign29Step4
5255
return response
5356

57+
#ds-snippet-start:eSign29Step3
5458
@classmethod
5559
def make_envelope(cls, args):
5660
"""
@@ -94,6 +98,7 @@ def make_envelope(cls, args):
9498
)
9599

96100
return envelope_definition
101+
#ds-snippet-end:eSign29Step3
97102

98103
@staticmethod
99104
def get_brands(args):

0 commit comments

Comments
 (0)