Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
congminh1254 committed Jul 26, 2022
1 parent b60c4d4 commit 8bbdb28
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,10 @@ tokens.pk

#pyenv
.python-version

/py37/
/py36/
.env
main.py
config.json
.test/
4 changes: 2 additions & 2 deletions boxsdk/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1540,10 +1540,10 @@ def create_sign_request(
:param is_document_preparation_needed:
Indicates if the sender should receive a prepare_url in the response to complete document preparation via UI.
:param redirect_url:
The URL that a signer will be redirected to after signing a document.
The URL that a signer will be redirected to after signing a document.
If no declined redirect URL is specified, this URL will be used for decline actions as well.
:param declined_redirect_url:
The URL that a signer will be redirected to after declining to sign a document.
The URL that a signer will be redirected to after declining to sign a document.
:returns:
A dictionary representing a created SignRequest
"""
Expand Down
8 changes: 8 additions & 0 deletions docs/source/boxsdk.object.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,14 @@ boxsdk.object.file module
:undoc-members:
:show-inheritance:

boxsdk.object.file\_request module
----------------------------------

.. automodule:: boxsdk.object.file_request
:members:
:undoc-members:
:show-inheritance:

boxsdk.object.file\_version module
----------------------------------

Expand Down
2 changes: 1 addition & 1 deletion test/integration_new/integration_tests.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[JWT]
ConfigFilePath =
ConfigFilePath = /Users/mcong/box-python-sdk/.test/cert.json
2 changes: 1 addition & 1 deletion test/unit/client/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,7 @@ def test_create_sign_request(mock_client, mock_box_session, mock_sign_request_re
mock_box_session.post.return_value.json.return_value = mock_sign_request_response

new_sign_request = mock_client.create_sign_request(
files, signers, parent_folder_id,
files, signers, parent_folder_id,
redirect_url=redirect_url, declined_redirect_url=declined_redirect_url)

mock_box_session.post.assert_called_once_with(expected_url, data=data)
Expand Down

0 comments on commit 8bbdb28

Please sign in to comment.