Skip to content

Commit ce4c9c4

Browse files
committed
moved step comments
1 parent e4cbd35 commit ce4c9c4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/eSignature/examples/eg040_document_visibility.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ def worker(cls, args, doc_docx_path, doc_pdf_path):
5858
# 1. Create the envelope request object
5959
envelope_definition = cls.make_envelope(envelope_args, doc_docx_path, doc_pdf_path)
6060

61-
# Step 2 start
6261
# 2. call Envelopes::create API method
6362
# Exceptions will be caught by the calling function
63+
# Step 2 start
6464
api_client = create_api_client(base_path=args["base_path"], access_token=args["access_token"])
6565
# Step 2 end
6666

@@ -73,8 +73,8 @@ def worker(cls, args, doc_docx_path, doc_pdf_path):
7373

7474
return {"envelope_id": envelope_id}
7575

76-
# Step 3 start
7776
@classmethod
77+
# Step 3 start
7878
def make_envelope(cls, args, doc_docx_path, doc_pdf_path):
7979
"""
8080
Creates envelope
@@ -183,7 +183,6 @@ def make_envelope(cls, args, doc_docx_path, doc_pdf_path):
183183
env.status = args["status"]
184184

185185
return env
186-
# Step 3 end
187186

188187
@classmethod
189188
def create_document1(cls, args):
@@ -216,5 +215,6 @@ def create_document1(cls, args):
216215
</body>
217216
</html>
218217
"""
218+
# Step 3 end
219219

220220
# End

0 commit comments

Comments
 (0)