Skip to content

Commit 0eed391

Browse files
committed
DEVDOCS-10555 adding codeDepot markers
1 parent cb405dd commit 0eed391

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/eSignature/examples/eg035_scheduled_sending.py

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

3232
# Step 3 start
33+
#ds-snippet-start:eSign35Step3
3334
api_client = create_api_client(base_path=args["base_path"], access_token=args["access_token"])
3435
envelopes_api = EnvelopesApi(api_client)
3536
results = envelopes_api.create_envelope(account_id=args["account_id"], envelope_definition=envelope_definition)
37+
#ds-snippet-end:eSign35Step3
3638
# Step 3 end
3739

3840
envelope_id = results.envelope_id
@@ -51,6 +53,7 @@ def make_envelope(cls, args, doc_docx_path, doc_pdf_path):
5153
"""
5254

5355
# Step 2 start
56+
#ds-snippet-start:eSign35Step2
5457
# document 1 (PDF) has sign here anchor tag /sn1/
5558
#
5659
# The envelope has one recipient.
@@ -116,6 +119,7 @@ def make_envelope(cls, args, doc_docx_path, doc_pdf_path):
116119
# Request that the envelope be sent by setting |status| to "sent".
117120
# To request that the envelope be created as a draft, set to "created"
118121
env.status = args["status"]
122+
#ds-snippet-end:eSign35Step2
119123
# Step 2 end
120124

121125
return env

0 commit comments

Comments
 (0)