Skip to content

Commit f1576e4

Browse files
committed
DEVDOCS-13915 - adding codeDepot markers
1 parent 4561d36 commit f1576e4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/eSignature/examples/eg011_embedded_sending.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,16 @@ def worker(args,doc_docx_path,doc_pdf_path):
4343
draft mode and returning a URL for the sender"s view
4444
"""
4545

46-
# Step 1. Create the envelope with "created" (draft) status
46+
# Step 2. Create the envelope with "created" (draft) status
4747
args["envelope_args"]["status"] = "created"
4848
# Using worker from example 002
4949
results = Eg002SigningViaEmailController.worker(args, doc_docx_path, doc_pdf_path)
5050
envelope_id = results["envelope_id"]
5151

52-
# Step 2. Create the sender view
52+
# Step 3. Create the sender view
5353
view_request = ReturnUrlRequest(return_url=args["ds_return_url"])
5454
# Exceptions will be caught by the calling function
55+
#ds-snippet-start:eSign11Step3
5556
api_client = create_api_client(base_path=args["base_path"], access_token=args["access_token"])
5657

5758
envelope_api = EnvelopesApi(api_client)
@@ -65,5 +66,6 @@ def worker(args,doc_docx_path,doc_pdf_path):
6566
url = results.url
6667
if args["starting_view"] == "recipient":
6768
url = url.replace("send=1", "send=0")
69+
#ds-snippet-end:eSign13Step3
6870

6971
return {"envelope_id": envelope_id, "redirect_url": url}

0 commit comments

Comments
 (0)