Skip to content

Commit 1354ec5

Browse files
committed
Release Aspose.Cells Cloud SDK 23.6
1 parent 60ef7b9 commit 1354ec5

File tree

121 files changed

+33200
-25
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+33200
-25
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![PyPI](https://img.shields.io/pypi/v/asposecellscloud) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/asposecellscloud) ![PyPI - Downloads](https://img.shields.io/pypi/dm/asposecellscloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-python)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-python/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-python/23.5)
1+
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![PyPI](https://img.shields.io/pypi/v/asposecellscloud) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/asposecellscloud) ![PyPI - Downloads](https://img.shields.io/pypi/dm/asposecellscloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-python)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-python/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-python/23.6)
22

33

44
# Python SDK for Spreadsheet Processing in Cloud
@@ -21,9 +21,13 @@ Python Cloud SDK wraps Aspose.Cells REST API so you could seamlessly integrate M
2121
- Convert worksheets to PDF, XPS & SVG formats.
2222
- Inter-convert files to popular Excel formats.
2323

24-
## Feature & Enhancements in Version 23.5
24+
## Feature & Enhancements in Version 23.6
2525

26-
- Fix few method names for spelling error.
26+
- Support to batch lock multi-files.
27+
- Support to batch unlock multi-files.
28+
- Support to protect lock multi-files.
29+
- Support to split lock multi-files.
30+
- Fix put document property api.
2731

2832

2933
## Read & Write Spreadsheet Formats

asposecellscloud/__init__.py

Lines changed: 323 additions & 0 deletions
Large diffs are not rendered by default.

asposecellscloud/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def __init__(self, host=None, header_name=None, header_value=None, cookie=None):
8383
self.host = host
8484
self.cookie = cookie
8585
# Set default User-Agent.
86-
self.user_agent = 'Aspose.Cells.Cloud/23.5.1/python'
86+
self.user_agent = 'Aspose.Cells.Cloud/23.6/python'
8787

8888
@property
8989
def user_agent(self):

asposecellscloud/apis/cells_api.py

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,191 @@ def post_batch_convert_with_http_info(self, request, **kwargs):
829829
_request_timeout=params.get('_request_timeout'),
830830
collection_formats=http_params['collection_formats'])
831831

832+
# <summary>
833+
# </summary>
834+
# <param name="request">Request. <see cref="PostBatchProtectRequest" /></param>
835+
def post_batch_protect(self, request, **kwargs):
836+
837+
kwargs['_return_http_data_only'] = True
838+
self.check_access_token()
839+
if kwargs.get('callback'):
840+
return self.post_batch_protect_with_http_info(request,**kwargs)
841+
else:
842+
(data) = self.post_batch_protect_with_http_info(request,**kwargs)
843+
return data
844+
845+
def post_batch_protect_with_http_info(self, request, **kwargs):
846+
all_params = []
847+
all_params.append('callback')
848+
all_params.append('_return_http_data_only')
849+
all_params.append('_preload_content')
850+
all_params.append('_request_timeout')
851+
params = locals()
852+
for key, val in iteritems(params['kwargs']):
853+
if key not in all_params:
854+
raise TypeError(
855+
"Got an unexpected keyword argument '%s'"
856+
" to method post_batch_protect" % key
857+
)
858+
params[key] = val
859+
del params['kwargs']
860+
861+
http_params = request.create_http_request(self.api_client)
862+
return self.api_client.call_api(http_params['path'], http_params['method'],
863+
None,
864+
http_params['query_params'],
865+
http_params['header_params'],
866+
body=http_params['body'],
867+
post_params=http_params['form_params'],
868+
files=http_params['files'],
869+
response_type=http_params['response_type'],
870+
auth_settings=http_params['auth_settings'],
871+
callback=params.get('callback'),
872+
_return_http_data_only=params.get('_return_http_data_only'),
873+
_preload_content=params.get('_preload_content', True),
874+
_request_timeout=params.get('_request_timeout'),
875+
collection_formats=http_params['collection_formats'])
876+
877+
878+
879+
# <summary>
880+
# </summary>
881+
# <param name="request">Request. <see cref="PostBatchLockRequest" /></param>
882+
def post_batch_lock(self, request, **kwargs):
883+
884+
kwargs['_return_http_data_only'] = True
885+
self.check_access_token()
886+
if kwargs.get('callback'):
887+
return self.post_batch_lock_with_http_info(request,**kwargs)
888+
else:
889+
(data) = self.post_batch_lock_with_http_info(request,**kwargs)
890+
return data
891+
892+
def post_batch_lock_with_http_info(self, request, **kwargs):
893+
all_params = []
894+
all_params.append('callback')
895+
all_params.append('_return_http_data_only')
896+
all_params.append('_preload_content')
897+
all_params.append('_request_timeout')
898+
params = locals()
899+
for key, val in iteritems(params['kwargs']):
900+
if key not in all_params:
901+
raise TypeError(
902+
"Got an unexpected keyword argument '%s'"
903+
" to method post_batch_lock" % key
904+
)
905+
params[key] = val
906+
del params['kwargs']
907+
908+
http_params = request.create_http_request(self.api_client)
909+
return self.api_client.call_api(http_params['path'], http_params['method'],
910+
None,
911+
http_params['query_params'],
912+
http_params['header_params'],
913+
body=http_params['body'],
914+
post_params=http_params['form_params'],
915+
files=http_params['files'],
916+
response_type=http_params['response_type'],
917+
auth_settings=http_params['auth_settings'],
918+
callback=params.get('callback'),
919+
_return_http_data_only=params.get('_return_http_data_only'),
920+
_preload_content=params.get('_preload_content', True),
921+
_request_timeout=params.get('_request_timeout'),
922+
collection_formats=http_params['collection_formats'])
923+
924+
925+
926+
# <summary>
927+
# </summary>
928+
# <param name="request">Request. <see cref="PostBatchUnlockRequest" /></param>
929+
def post_batch_unlock(self, request, **kwargs):
930+
931+
kwargs['_return_http_data_only'] = True
932+
self.check_access_token()
933+
if kwargs.get('callback'):
934+
return self.post_batch_unlock_with_http_info(request,**kwargs)
935+
else:
936+
(data) = self.post_batch_unlock_with_http_info(request,**kwargs)
937+
return data
938+
939+
def post_batch_unlock_with_http_info(self, request, **kwargs):
940+
all_params = []
941+
all_params.append('callback')
942+
all_params.append('_return_http_data_only')
943+
all_params.append('_preload_content')
944+
all_params.append('_request_timeout')
945+
params = locals()
946+
for key, val in iteritems(params['kwargs']):
947+
if key not in all_params:
948+
raise TypeError(
949+
"Got an unexpected keyword argument '%s'"
950+
" to method post_batch_unlock" % key
951+
)
952+
params[key] = val
953+
del params['kwargs']
954+
955+
http_params = request.create_http_request(self.api_client)
956+
return self.api_client.call_api(http_params['path'], http_params['method'],
957+
None,
958+
http_params['query_params'],
959+
http_params['header_params'],
960+
body=http_params['body'],
961+
post_params=http_params['form_params'],
962+
files=http_params['files'],
963+
response_type=http_params['response_type'],
964+
auth_settings=http_params['auth_settings'],
965+
callback=params.get('callback'),
966+
_return_http_data_only=params.get('_return_http_data_only'),
967+
_preload_content=params.get('_preload_content', True),
968+
_request_timeout=params.get('_request_timeout'),
969+
collection_formats=http_params['collection_formats'])
970+
971+
972+
973+
# <summary>
974+
# </summary>
975+
# <param name="request">Request. <see cref="PostBatchSplitRequest" /></param>
976+
def post_batch_split(self, request, **kwargs):
977+
978+
kwargs['_return_http_data_only'] = True
979+
self.check_access_token()
980+
if kwargs.get('callback'):
981+
return self.post_batch_split_with_http_info(request,**kwargs)
982+
else:
983+
(data) = self.post_batch_split_with_http_info(request,**kwargs)
984+
return data
985+
986+
def post_batch_split_with_http_info(self, request, **kwargs):
987+
all_params = []
988+
all_params.append('callback')
989+
all_params.append('_return_http_data_only')
990+
all_params.append('_preload_content')
991+
all_params.append('_request_timeout')
992+
params = locals()
993+
for key, val in iteritems(params['kwargs']):
994+
if key not in all_params:
995+
raise TypeError(
996+
"Got an unexpected keyword argument '%s'"
997+
" to method post_batch_split" % key
998+
)
999+
params[key] = val
1000+
del params['kwargs']
1001+
1002+
http_params = request.create_http_request(self.api_client)
1003+
return self.api_client.call_api(http_params['path'], http_params['method'],
1004+
None,
1005+
http_params['query_params'],
1006+
http_params['header_params'],
1007+
body=http_params['body'],
1008+
post_params=http_params['form_params'],
1009+
files=http_params['files'],
1010+
response_type=http_params['response_type'],
1011+
auth_settings=http_params['auth_settings'],
1012+
callback=params.get('callback'),
1013+
_return_http_data_only=params.get('_return_http_data_only'),
1014+
_preload_content=params.get('_preload_content', True),
1015+
_request_timeout=params.get('_request_timeout'),
1016+
collection_formats=http_params['collection_formats'])
8321017

8331018

8341019
# <summary>

asposecellscloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,5 +255,5 @@ def to_debug_report(self):
255255
"OS: {env}\n"\
256256
"Python Version: {pyversion}\n"\
257257
"Version of the API: v3.0\n"\
258-
"SDK Package Version: 23.4".\
258+
"SDK Package Version: 23.6".\
259259
format(env=sys.platform, pyversion=sys.version)

asposecellscloud/models/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
from .barcode_response import BarcodeResponse
3333
from .barcode_response_list import BarcodeResponseList
3434
from .batch_convert_request import BatchConvertRequest
35+
from .batch_lock_request import BatchLockRequest
36+
from .batch_protect_request import BatchProtectRequest
37+
from .batch_split_request import BatchSplitRequest
3538
from .border import Border
3639
from .calculation_options import CalculationOptions
3740
from .cell_area import CellArea

0 commit comments

Comments
 (0)