Repository navigation
Fix for issue #44 - #62
Conversation
Commit based on PR hellosign#50 that was never merged. Added code to incorporate functionality for attachments with signer requests
martinytodorov
left a comment
There was a problem hiding this comment.
Thanks for adding the attachments parameter. I left a few comments, mostly typos.
Co-Authored-By: Martin Todorov <martin.todorov@hellosign.com>
Co-Authored-By: Martin Todorov <martin.todorov@hellosign.com>
Co-Authored-By: Martin Todorov <martin.todorov@hellosign.com>
Co-Authored-By: Martin Todorov <martin.todorov@hellosign.com>
|
@martinytodorov - please verify updates. |
Commit based on PR hellosign#50 that was never merged. Added code to incorporate functionality for attachments with signer requests
# Conflicts: # hellosign_sdk/hsclient.py
|
Amended the commit and re-pushed @martinytodorov |
| @@ -0,0 +1,2441 @@ | |||
| from hellosign_sdk.utils import HSRequest, HSException, NoAuthMethod, HSAccessTokenAuth, HSFormat, api_resource, api_resource_list | |||
There was a problem hiding this comment.
@oconnor-sn I think you accidentally added this file. I don't think it should be part of this PR. Can you please remove it.
There was a problem hiding this comment.
@martinytodorov - Thanks Martin - changes were made to hsclient.py which is why I added this file - please review and advise further.
Add in error
Co-Authored-By: Martin Todorov <martin.todorov@hellosign.com>
Co-Authored-By: Martin Todorov <martin.todorov@hellosign.com>
|
|
||
| is_for_embedded_signing (bool): send_signature_request and send_signature_request_embedded share the same sending logic. To differenciate the two calls embedded requests are now flagged. | ||
|
|
||
| attachments (list of dict): A list of attachments, each with the following attributes:: |
There was a problem hiding this comment.
| attachments (list of dict): A list of attachments, each with the following attributes:: | |
| attachments (list of dict): A list of attachments, each with the following attributes: |
There was a problem hiding this comment.
Sorry I must have added an additional column.
|
|
||
| signing_options (dict, optional): Allows the requester to specify the types allowed for creating a signature. Defaults to account settings. | ||
|
|
||
| attachments (list of dict): A list of attachments, each with the following attributes:: |
There was a problem hiding this comment.
| attachments (list of dict): A list of attachments, each with the following attributes:: | |
| attachments (list of dict): A list of attachments, each with the following attributes: |
There was a problem hiding this comment.
Sorry I must have added an additional column.
|
Hey @oconnor-sn I checked out the branch on my machine and made a few tests. I realized that there are couple of more things that need to be fixed.
Here's some tips you should follow when opening the PRs:
Let me know if you have any questions. |
Commit based on PR hellosign#50 that was never merged. Added code to incorporate functionality for attachments with signer requests
Commit based on PR hellosign#50 that was never merged. Added code to incorporate functionality for attachments with signer requests
|
@martinytodorov - anything outstanding on this PR? |
| if (merge_fields is not None): | ||
| data.update(merge_fields_payload) | ||
| data = HSFormat.strip_none_values(data) | ||
| data.update(attachments_payload) |
There was a problem hiding this comment.
Can we move this line with the rest of the updates above.

Commit based on PR #50 that was never merged.
Added code to incorporate functionality for attachments with signer
requests