Skip to content

Commit 7751603

Browse files
committed
adding step comments
1 parent 7fc86c8 commit 7751603

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

app/eSignature/examples/eg035_scheduled_sending.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ def worker(cls, args):
1717
print(envelope_args["resume_date"])
1818
envelope_definition = cls.make_envelope(envelope_args, DS_CONFIG["doc_docx"], DS_CONFIG["doc_pdf"])
1919

20+
# Step 3 start
2021
api_client = create_api_client(base_path=args["base_path"], access_token=args["access_token"])
2122
envelopes_api = EnvelopesApi(api_client)
2223
results = envelopes_api.create_envelope(account_id=args["account_id"], envelope_definition=envelope_definition)
24+
# Step 3 end
2325

2426
envelope_id = results.envelope_id
2527

@@ -37,6 +39,7 @@ def make_envelope(cls, args, doc_docx_path, doc_pdf_path):
3739
The recipients" field tags are placed using <b>anchor</b> strings.
3840
"""
3941

42+
# Step 2 start
4043
# document 1 (PDF) has sign here anchor tag /sn1/
4144
#
4245
# The envelope has one recipient.
@@ -102,5 +105,6 @@ def make_envelope(cls, args, doc_docx_path, doc_pdf_path):
102105
# Request that the envelope be sent by setting |status| to "sent".
103106
# To request that the envelope be created as a draft, set to "created"
104107
env.status = args["status"]
108+
# Step 2 end
105109

106110
return env

app/eSignature/examples/eg036_delayed_routing.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ def worker(cls, args):
1515
envelope_args = args["envelope_args"]
1616
envelope_definition = cls.make_envelope(envelope_args, DS_CONFIG["doc_docx"], DS_CONFIG["doc_pdf"])
1717

18+
# Step 3 start
1819
api_client = create_api_client(base_path=args["base_path"], access_token=args["access_token"])
1920
envelopes_api = EnvelopesApi(api_client)
2021
results = envelopes_api.create_envelope(account_id=args["account_id"], envelope_definition=envelope_definition)
22+
# Step 3 end
2123

2224
envelope_id = results.envelope_id
2325

@@ -32,6 +34,7 @@ def make_envelope(cls, args, doc_docx_path, doc_pdf_path):
3234
The recipients' field tags are placed using <b>anchor</b> strings.
3335
"""
3436

37+
# Step 2 start
3538
# document 1 (PDF) has sign here anchor tag /sn1/
3639
#
3740
# The envelope has two recipients.
@@ -123,5 +126,6 @@ def make_envelope(cls, args, doc_docx_path, doc_pdf_path):
123126
# Request that the envelope be sent by setting |status| to "sent".
124127
# To request that the envelope be created as a draft, set to "created"
125128
env.status = args["status"]
129+
# Step 2 end
126130

127131
return env

0 commit comments

Comments
 (0)