Skip to content

Commit 7706483

Browse files
authored
Merge pull request #39 from aspose-pdf-cloud/develop
update to 21.12
2 parents 920c1df + c83de83 commit 7706483

File tree

6 files changed

+9
-15
lines changed

6 files changed

+9
-15
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ XLS, XLSX, PPTX, DOC, DOCX, MobiXML, JPEG, EMF, PNG, BMP, GIF, TIFF, Text
3030
## Read PDF Formats
3131
MHT, PCL, PS, XSLFO, MD
3232

33-
## Enhancements in Version 21.11
33+
## Enhancements in Version 21.12
3434
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3535

3636
## Enhancements in Version 20.9

asposepdfcloud/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def __init__(self, app_key, app_sid, host=None):
8383
self.rest_client = RESTClientObject()
8484
self.default_headers = {}
8585
self.default_headers['x-aspose-client'] = 'python sdk'
86-
self.default_headers['x-aspose-client-version'] = '21.11.0'
86+
self.default_headers['x-aspose-client-version'] = '21.12.0'
8787

8888
self.app_key = app_key
8989
self.app_sid = app_sid

asposepdfcloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,5 +199,5 @@ def to_debug_report(self):
199199
"OS: {env}\n"\
200200
"Python Version: {pyversion}\n"\
201201
"Version of the API: 3.0\n"\
202-
"SDK Package Version: 21.11.0".\
202+
"SDK Package Version: 21.12.0".\
203203
format(env=sys.platform, pyversion=sys.version)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from setuptools import setup, find_packages
3333

3434
NAME = "asposepdfcloud"
35-
VERSION = "21.11.0"
35+
VERSION = "21.12.0"
3636
# To install the library, run the following
3737
#
3838
# python setup.py install

test/pdf_tests.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@
4646
class PdfTests(unittest.TestCase):
4747

4848
def setUp(self):
49-
with open('test/setup.json') as json_file:
49+
with open('../../Settings/servercreds.json') as json_file:
5050
data = json.load(json_file)
5151

5252
self.pdf_api_client = asposepdfcloud.api_client.ApiClient(
53-
app_key=str(data['app_key']),
54-
app_sid=str(data['app_sid']),
55-
host=str(data['product_uri']))
53+
app_key=str(data['AppKey']),
54+
app_sid=str(data['AppSID']),
55+
host=str(data['ProductUri']))
5656

5757
self.pdf_api = PdfApi(self.pdf_api_client)
5858

59-
self.output_path = str(data['output_location'])
59+
self.output_path = str(data['OutputLocation'])
6060

6161
self.temp_folder = 'TempPdfCloud'
6262
self.test_data_path = 'test_data/'

test/setup.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)