Skip to content

Commit 2f338a3

Browse files
committed
2023-10-15 : Synchronize codes to the origin repository.
1 parent 6a2094e commit 2f338a3

File tree

6 files changed

+15
-19
lines changed

6 files changed

+15
-19
lines changed

README.md

Lines changed: 6 additions & 6 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.9)
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.10)
22

33

44
# Python SDK for Spreadsheet Processing in Cloud
@@ -21,14 +21,14 @@ 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.9
24+
## Feature & Enhancements in Version 23.10
2525

2626
Full list of issues covering all changes in this release:
2727

28-
- Support to data sorting on range controller.
29-
- Support to remove duplicate data on list object.
30-
- Support to insert slicer for list object.
31-
- Optimize list object and related objects.
28+
- Fix protect workbook request.
29+
- Fix range copy API.
30+
- Optimize workbook protect API.
31+
3232

3333

3434
## Read & Write Spreadsheet Formats

asposecellscloud/apis/cells_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9565,17 +9565,17 @@ def delete_document_properties_with_http_info(self, request, **kwargs):
95659565
# <summary>
95669566
# </summary>
95679567
# <param name="request">Request. <see cref="PostWorksheetCellsRangesRequest" /></param>
9568-
def post_worksheet_cells_ranges(self, request, **kwargs):
9568+
def post_worksheet_cells_ranges_copy(self, request, **kwargs):
95699569

95709570
kwargs['_return_http_data_only'] = True
95719571
self.check_access_token()
95729572
if kwargs.get('callback'):
9573-
return self.post_worksheet_cells_ranges_with_http_info(request,**kwargs)
9573+
return self.post_worksheet_cells_ranges_copy_with_http_info(request,**kwargs)
95749574
else:
9575-
(data) = self.post_worksheet_cells_ranges_with_http_info(request,**kwargs)
9575+
(data) = self.post_worksheet_cells_ranges_copy_with_http_info(request,**kwargs)
95769576
return data
95779577

9578-
def post_worksheet_cells_ranges_with_http_info(self, request, **kwargs):
9578+
def post_worksheet_cells_ranges_copy_with_http_info(self, request, **kwargs):
95799579
all_params = []
95809580
all_params.append('callback')
95819581
all_params.append('_return_http_data_only')

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "asposecellscloud"
3-
version = "23.9"
3+
version = "23.10"
44
authors = [
55
{ name="Aspose Cloud", email="[email protected]" },
66
]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from setuptools import setup, find_packages
55

66
NAME = "asposecellscloud"
7-
VERSION = "23.9"
7+
VERSION = "23.10"
88
# To install the library, run the following
99
#
1010
# python setup.py install

test/tests_ranges_controller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ def test_post_worksheet_cells_ranges(self):
4141
result = AuthUtil.Ready(self.api, local_name, remote_folder + '/' + remote_name , '')
4242
self.assertTrue(len(result.uploaded)>0)
4343

44-
request = PostWorksheetCellsRangesRequest( remote_name, 'Sheet1', rangeOperate,folder= remote_folder,storage_name= '')
45-
self.api.post_worksheet_cells_ranges(request)
44+
request = PostWorksheetCellsRangesCopyRequest( remote_name, 'Sheet1', rangeOperate,folder= remote_folder,storage_name= '')
45+
self.api.post_worksheet_cells_ranges_copy(request)
4646

4747

4848
def test_post_worksheet_cells_range_merge(self):

test/tests_workbook_controller.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,8 @@ def test_delete_un_protect_workbook(self):
9292

9393
local_name = 'Book1.xlsx'
9494
remote_name = 'Book1.xlsx'
95-
96-
protection = WorkbookProtectionRequest(password= '123456' ,protection_type= 'ALL' )
97-
result = AuthUtil.Ready(self.api, local_name, remote_folder + '/' + remote_name , '')
98-
self.assertTrue(len(result.uploaded)>0)
9995

100-
request = DeleteUnProtectWorkbookRequest( remote_name, protection,folder= remote_folder,storage_name= '')
96+
request = DeleteUnProtectWorkbookRequest( remote_name, "123456",folder= remote_folder,storage_name= '')
10197
self.api.delete_un_protect_workbook(request)
10298

10399

0 commit comments

Comments
 (0)