File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Open diff view settings
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Open diff view settings
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments