@@ -41,7 +41,7 @@ def worker(cls, args):
4141 3. Create the Recipient View request object
4242 4. Obtain the recipient_view_url for the embedded signing
4343 """
44- #ds-snippet-start:eSign1Step3
44+ #ds-snippet-start:eSign44Step3
4545 envelope_args = args ["envelope_args" ]
4646 # 1. Create the envelope request object
4747 envelope_definition = cls .make_envelope (envelope_args )
@@ -54,10 +54,10 @@ def worker(cls, args):
5454 results = envelope_api .create_envelope (account_id = args ["account_id" ], envelope_definition = envelope_definition )
5555
5656 envelope_id = results .envelope_id
57- #ds-snippet-end:eSign1Step3
57+ #ds-snippet-end:eSign44Step3
5858
5959 # 3. Create the Recipient View request object
60- #ds-snippet-start:eSign1Step4
60+ #ds-snippet-start:eSign44Step4
6161 recipient_view_request = RecipientViewRequest (
6262 authentication_method = authentication_method ,
6363 client_user_id = envelope_args ["signer_client_id" ],
@@ -68,23 +68,23 @@ def worker(cls, args):
6868 frame_ancestors = ["http://localhost:3000" , "https://apps-d.docusign.com" ],
6969 message_origins = ["https://apps-d.docusign.com" ]
7070 )
71- #ds-snippet-end:eSign1Step4
71+ #ds-snippet-end:eSign44Step4
7272
7373 # 4. Obtain the recipient_view_url for the embedded signing
7474 # Exceptions will be caught by the calling function
7575
76- #ds-snippet-start:eSign1Step5
76+ #ds-snippet-start:eSign44Step5
7777 results = envelope_api .create_recipient_view (
7878 account_id = args ["account_id" ],
7979 envelope_id = envelope_id ,
8080 recipient_view_request = recipient_view_request
8181 )
8282
8383 return {"envelope_id" : envelope_id , "redirect_url" : results .url }
84- #ds-snippet-end:eSign1Step5
84+ #ds-snippet-end:eSign44Step5
8585
8686 @classmethod
87- #ds-snippet-start:eSign1Step2
87+ #ds-snippet-start:eSign44Step2
8888 def make_envelope (cls , args ):
8989 """
9090 Creates envelope
@@ -143,4 +143,4 @@ def make_envelope(cls, args):
143143 )
144144
145145 return envelope_definition
146- #ds-snippet-end:eSign1Step2
146+ #ds-snippet-end:eSign44Step2
0 commit comments