Skip to content

Commit 3a65632

Browse files
committed
Release Aspose.Cells Cloud SDK 23.7
1 parent f967826 commit 3a65632

File tree

9 files changed

+52
-349
lines changed

9 files changed

+52
-349
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Python Cloud SDK wraps Aspose.Cells REST API so you could seamlessly integrate M
2424
## Feature & Enhancements in Version 23.7
2525

2626
- Support to repair api.
27-
27+
- Remove GetExtractBarcodes API.
2828

2929
## Read & Write Spreadsheet Formats
3030

TestCellsCloudSDK.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
python .\test\tests_auto_filter_controller.py
22
python .\test\tests_batch_controller.py
3-
python .\test\tests_cells_barcodes_controller.py
43
python .\test\tests_cells_controller.py
54
python .\test\tests_cells_status_controller.py
65
python .\test\tests_chart_area_controller.py

asposecellscloud/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
from .models.area import Area
3030
from .models.auto_fitter_options import AutoFitterOptions
3131
from .models.axis import Axis
32-
from .models.barcode_response import BarcodeResponse
33-
from .models.barcode_response_list import BarcodeResponseList
3432
from .models.batch_convert_request import BatchConvertRequest
3533
from .models.batch_lock_request import BatchLockRequest
3634
from .models.batch_protect_request import BatchProtectRequest
@@ -313,7 +311,6 @@
313311
from .requests.post_batch_lock_request import PostBatchLockRequest
314312
from .requests.post_batch_unlock_request import PostBatchUnlockRequest
315313
from .requests.post_batch_split_request import PostBatchSplitRequest
316-
from .requests.get_extract_barcodes_request import GetExtractBarcodesRequest
317314
from .requests.post_clear_contents_request import PostClearContentsRequest
318315
from .requests.post_clear_formats_request import PostClearFormatsRequest
319316
from .requests.post_update_worksheet_range_style_request import PostUpdateWorksheetRangeStyleRequest

asposecellscloud/apis/cells_api.py

Lines changed: 0 additions & 174 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,52 +1016,6 @@ def post_batch_split_with_http_info(self, request, **kwargs):
10161016
collection_formats=http_params['collection_formats'])
10171017

10181018

1019-
# <summary>
1020-
# </summary>
1021-
# <param name="request">Request. <see cref="GetExtractBarcodesRequest" /></param>
1022-
def get_extract_barcodes(self, request, **kwargs):
1023-
1024-
kwargs['_return_http_data_only'] = True
1025-
self.check_access_token()
1026-
if kwargs.get('callback'):
1027-
return self.get_extract_barcodes_with_http_info(request,**kwargs)
1028-
else:
1029-
(data) = self.get_extract_barcodes_with_http_info(request,**kwargs)
1030-
return data
1031-
1032-
def get_extract_barcodes_with_http_info(self, request, **kwargs):
1033-
all_params = []
1034-
all_params.append('callback')
1035-
all_params.append('_return_http_data_only')
1036-
all_params.append('_preload_content')
1037-
all_params.append('_request_timeout')
1038-
params = locals()
1039-
for key, val in iteritems(params['kwargs']):
1040-
if key not in all_params:
1041-
raise TypeError(
1042-
"Got an unexpected keyword argument '%s'"
1043-
" to method get_extract_barcodes" % key
1044-
)
1045-
params[key] = val
1046-
del params['kwargs']
1047-
1048-
http_params = request.create_http_request(self.api_client)
1049-
return self.api_client.call_api(http_params['path'], http_params['method'],
1050-
None,
1051-
http_params['query_params'],
1052-
http_params['header_params'],
1053-
body=http_params['body'],
1054-
post_params=http_params['form_params'],
1055-
files=http_params['files'],
1056-
response_type=http_params['response_type'],
1057-
auth_settings=http_params['auth_settings'],
1058-
callback=params.get('callback'),
1059-
_return_http_data_only=params.get('_return_http_data_only'),
1060-
_preload_content=params.get('_preload_content', True),
1061-
_request_timeout=params.get('_request_timeout'),
1062-
collection_formats=http_params['collection_formats'])
1063-
1064-
10651019

10661020
# <summary>
10671021
# </summary>
@@ -28816,134 +28770,6 @@ def cells_page_setup_post_page_setup_with_http_info(self, name, sheet_name, **kw
2881628770
_preload_content=params.get('_preload_content', True),
2881728771
_request_timeout=params.get('_request_timeout'),
2881828772
collection_formats=collection_formats)
28819-
def cells_picture_get_extract_barcodes(self, name, sheet_name, picture_index, **kwargs):
28820-
warnings.warn("CellsApi is deprecated", DeprecationWarning)
28821-
"""
28822-
Get chart area border info.
28823-
This method makes a synchronous HTTP request by default. To make an
28824-
asynchronous HTTP request, please define a `callback` function
28825-
to be invoked when receiving the response.
28826-
>>> def callback_function(response):
28827-
>>> pprint(response)
28828-
>>>
28829-
>>> thread = api.cells_picture_get_extract_barcodes(name, sheet_name, picture_index, callback=callback_function)
28830-
28831-
:param callback function: The callback function
28832-
for asynchronous request. (optional)
28833-
:param str name: Workbook name. (required)
28834-
:param str sheet_name: Worksheet name. (required)
28835-
:param int picture_index: The picture index. (required)
28836-
:param str folder: Workbook folder.
28837-
:param str storage_name: storage name.
28838-
:return: BarcodeResponseList
28839-
If the method is called asynchronously,
28840-
returns the request thread.
28841-
"""
28842-
kwargs['_return_http_data_only'] = True
28843-
self.check_access_token()
28844-
if kwargs.get('callback'):
28845-
return self.cells_picture_get_extract_barcodes_with_http_info(name, sheet_name, picture_index, **kwargs)
28846-
else:
28847-
(data) = self.cells_picture_get_extract_barcodes_with_http_info(name, sheet_name, picture_index, **kwargs)
28848-
return data
28849-
28850-
def cells_picture_get_extract_barcodes_with_http_info(self, name, sheet_name, picture_index, **kwargs):
28851-
warnings.warn("CellsApi is deprecated", DeprecationWarning)
28852-
"""
28853-
Get chart area border info.
28854-
This method makes a synchronous HTTP request by default. To make an
28855-
asynchronous HTTP request, please define a `callback` function
28856-
to be invoked when receiving the response.
28857-
>>> def callback_function(response):
28858-
>>> pprint(response)
28859-
>>>
28860-
>>> thread = api.cells_picture_get_extract_barcodes_with_http_info(name, sheet_name, picture_index, callback=callback_function)
28861-
28862-
:param callback function: The callback function
28863-
for asynchronous request. (optional)
28864-
:param str name: Workbook name. (required)
28865-
:param str sheet_name: Worksheet name. (required)
28866-
:param int picture_index: The picture index. (required)
28867-
:param str folder: Workbook folder.
28868-
:param str storage_name: storage name.
28869-
:return: BarcodeResponseList
28870-
If the method is called asynchronously,
28871-
returns the request thread.
28872-
"""
28873-
28874-
all_params = ['name', 'sheet_name', 'picture_index', 'folder', 'storage_name']
28875-
all_params.append('callback')
28876-
all_params.append('_return_http_data_only')
28877-
all_params.append('_preload_content')
28878-
all_params.append('_request_timeout')
28879-
28880-
params = locals()
28881-
for key, val in iteritems(params['kwargs']):
28882-
if key not in all_params:
28883-
raise TypeError(
28884-
"Got an unexpected keyword argument '%s'"
28885-
" to method cells_picture_get_extract_barcodes" % key
28886-
)
28887-
params[key] = val
28888-
del params['kwargs']
28889-
# verify the required parameter 'name' is set
28890-
if ('name' not in params) or (params['name'] is None):
28891-
raise ValueError("Missing the required parameter `name` when calling `cells_picture_get_extract_barcodes`")
28892-
# verify the required parameter 'sheet_name' is set
28893-
if ('sheet_name' not in params) or (params['sheet_name'] is None):
28894-
raise ValueError("Missing the required parameter `sheet_name` when calling `cells_picture_get_extract_barcodes`")
28895-
# verify the required parameter 'picture_index' is set
28896-
if ('picture_index' not in params) or (params['picture_index'] is None):
28897-
raise ValueError("Missing the required parameter `picture_index` when calling `cells_picture_get_extract_barcodes`")
28898-
28899-
28900-
collection_formats = {}
28901-
28902-
path_params = {}
28903-
if 'name' in params:
28904-
path_params['name'] = params['name']
28905-
if 'sheet_name' in params:
28906-
path_params['sheetName'] = params['sheet_name']
28907-
if 'picture_index' in params:
28908-
path_params['pictureIndex'] = params['picture_index']
28909-
28910-
query_params = []
28911-
if 'folder' in params:
28912-
query_params.append(('folder', params['folder']))
28913-
if 'storage_name' in params:
28914-
query_params.append(('storageName', params['storage_name']))
28915-
28916-
header_params = {}
28917-
28918-
form_params = []
28919-
local_var_files = {}
28920-
28921-
body_params = None
28922-
# HTTP header `Accept`
28923-
header_params['Accept'] = self.api_client.\
28924-
select_header_accept(['application/json'])
28925-
28926-
# HTTP header `Content-Type`
28927-
header_params['Content-Type'] = self.api_client.\
28928-
select_header_content_type(['application/json'])
28929-
28930-
# Authentication setting
28931-
auth_settings = []
28932-
28933-
return self.api_client.call_api('/cells/{name}/worksheets/{sheetName}/pictures/{pictureIndex}/recognize', 'GET',
28934-
path_params,
28935-
query_params,
28936-
header_params,
28937-
body=body_params,
28938-
post_params=form_params,
28939-
files=local_var_files,
28940-
response_type='BarcodeResponseList',
28941-
auth_settings=auth_settings,
28942-
callback=params.get('callback'),
28943-
_return_http_data_only=params.get('_return_http_data_only'),
28944-
_preload_content=params.get('_preload_content', True),
28945-
_request_timeout=params.get('_request_timeout'),
28946-
collection_formats=collection_formats)
2894728773

2894828774
def cells_pictures_delete_worksheet_picture(self, name, sheet_name, picture_index, **kwargs):
2894928775
warnings.warn("CellsApi is deprecated", DeprecationWarning)

asposecellscloud/requests/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
from asposecellscloud.requests.post_batch_protect_request import PostBatchProtectRequest
4747
from asposecellscloud.requests.post_batch_split_request import PostBatchSplitRequest
4848
from asposecellscloud.requests.post_batch_unlock_request import PostBatchUnlockRequest
49-
from asposecellscloud.requests.get_extract_barcodes_request import GetExtractBarcodesRequest
5049
from asposecellscloud.requests.post_clear_contents_request import PostClearContentsRequest
5150
from asposecellscloud.requests.post_clear_formats_request import PostClearFormatsRequest
5251
from asposecellscloud.requests.post_update_worksheet_range_style_request import PostUpdateWorksheetRangeStyleRequest

asposecellscloud/requests/get_extract_barcodes_request.py

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

test/tests_cells_barcodes_controller.py

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

0 commit comments

Comments
 (0)