Skip to content

Commit 50ccd3b

Browse files
committed
Release Aspose.Cells Cloud SDK 24.7
1 parent de17d8b commit 50ccd3b

18 files changed

+778
-14
lines changed

README.md

Lines changed: 9 additions & 4 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/24.6)
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/24.7)
22

33
Aspose.Cells Cloud for Python enables you to handle various aspects of Excel files, including cell data, styles, formulas, charts, pivot tables, data validation, comments, drawing objects, images, hyperlinks, and so on. Additionally, it supports operations such as splitting, merging, repairing, and converting to other compatible file formats.
44

@@ -19,12 +19,12 @@ Enhance your Python applications with the [Aspose.Cells Cloud](https://products.
1919
- Import/Export: Facilitates importing data from various sources into spreadsheets and exporting spreadsheet data to other formats.
2020
- Security Management: Offers a range of security features like data encryption, access control, and permission management to safeguard the security and integrity of spreadsheet data.
2121

22-
## Feature & Enhancements in Version 24.6
22+
## Feature & Enhancements in Version 24.7
2323

2424
Full list of issues covering all changes in this release:
2525

26-
- Optimize load data function of data transformation.
27-
- Optimize the data conversion applied steps.
26+
- Add a new feature about adding text content.
27+
- Add get access token by client id and client secret.
2828

2929
## Support file format
3030

@@ -121,6 +121,11 @@ api.put_convert_workbook(request)
121121

122122
# Release history version
123123

124+
## Enhancements in Version 24.6
125+
126+
- Optimize load data function of data transformation.
127+
- Optimize the data conversion applied steps.
128+
124129
## Enhancements in Version 24.5
125130

126131
- Add merge queries method for loading data of data transformation.

asposecellscloud/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,8 @@
343343
from asposecellscloud.models.pivot_item import PivotItem
344344
from asposecellscloud.models.pivot_table import PivotTable
345345
from asposecellscloud.models.pivot_tables import PivotTables
346+
from asposecellscloud.models.add_text_options import AddTextOptions
347+
from asposecellscloud.models.base_operate_options import BaseOperateOptions
346348
from asposecellscloud.models.cell_value import CellValue
347349
from asposecellscloud.models.custom_parser_config import CustomParserConfig
348350
from asposecellscloud.models.import2_dimension_double_array_option import Import2DimensionDoubleArrayOption
@@ -457,6 +459,7 @@
457459
from asposecellscloud.requests.post_batch_lock_request import PostBatchLockRequest
458460
from asposecellscloud.requests.post_batch_unlock_request import PostBatchUnlockRequest
459461
from asposecellscloud.requests.post_batch_split_request import PostBatchSplitRequest
462+
from asposecellscloud.requests.post_access_token_request import PostAccessTokenRequest
460463
from asposecellscloud.requests.post_clear_contents_request import PostClearContentsRequest
461464
from asposecellscloud.requests.post_clear_formats_request import PostClearFormatsRequest
462465
from asposecellscloud.requests.post_update_worksheet_range_style_request import PostUpdateWorksheetRangeStyleRequest
@@ -689,6 +692,7 @@
689692
from asposecellscloud.requests.put_worksheet_sparkline_group_request import PutWorksheetSparklineGroupRequest
690693
from asposecellscloud.requests.post_worksheet_sparkline_group_request import PostWorksheetSparklineGroupRequest
691694
from asposecellscloud.requests.post_run_task_request import PostRunTaskRequest
695+
from asposecellscloud.requests.post_add_text_content_request import PostAddTextContentRequest
692696
from asposecellscloud.requests.get_workbook_default_style_request import GetWorkbookDefaultStyleRequest
693697
from asposecellscloud.requests.get_workbook_text_items_request import GetWorkbookTextItemsRequest
694698
from asposecellscloud.requests.get_workbook_names_request import GetWorkbookNamesRequest

asposecellscloud/api_client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,8 @@ def __init__(self, host=None, header_name=None, header_value=None, cookie=None):
8787
else:
8888
self.host = host
8989
self.cookie = cookie
90-
self.default_headers['x-aspose-client'] = 'python sdk'
91-
self.default_headers['x-aspose-client-version'] = '24.6'
9290
# Set default User-Agent.
93-
self.user_agent = 'Aspose.Cells.Cloud/24.6/python'
91+
self.user_agent = 'Aspose.Cells.Cloud/24.7/python'
9492

9593
@property
9694
def user_agent(self):

asposecellscloud/apis/cells_api.py

Lines changed: 96 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,6 +1088,54 @@ def post_batch_split_with_http_info(self, request, **kwargs):
10881088

10891089

10901090

1091+
# <summary>
1092+
# Get Access Token Result
1093+
# </summary>
1094+
# <param name="request">Request. <see cref="PostAccessTokenRequest" /></param>
1095+
def post_access_token(self, request, **kwargs):
1096+
1097+
kwargs['_return_http_data_only'] = True
1098+
self.check_access_token()
1099+
if kwargs.get('callback'):
1100+
return self.post_access_token_with_http_info(request,**kwargs)
1101+
else:
1102+
(data) = self.post_access_token_with_http_info(request,**kwargs)
1103+
return data
1104+
1105+
def post_access_token_with_http_info(self, request, **kwargs):
1106+
all_params = []
1107+
all_params.append('callback')
1108+
all_params.append('_return_http_data_only')
1109+
all_params.append('_preload_content')
1110+
all_params.append('_request_timeout')
1111+
params = locals()
1112+
for key, val in iteritems(params['kwargs']):
1113+
if key not in all_params:
1114+
raise TypeError(
1115+
"Got an unexpected keyword argument '%s'"
1116+
" to method post_access_token" % key
1117+
)
1118+
params[key] = val
1119+
del params['kwargs']
1120+
1121+
http_params = request.create_http_request(self.api_client)
1122+
return self.api_client.call_api(http_params['path'], http_params['method'],
1123+
None,
1124+
http_params['query_params'],
1125+
http_params['header_params'],
1126+
body=http_params['body'],
1127+
post_params=http_params['form_params'],
1128+
files=http_params['files'],
1129+
response_type=http_params['response_type'],
1130+
auth_settings=http_params['auth_settings'],
1131+
callback=params.get('callback'),
1132+
_return_http_data_only=params.get('_return_http_data_only'),
1133+
_preload_content=params.get('_preload_content', True),
1134+
_request_timeout=params.get('_request_timeout'),
1135+
collection_formats=http_params['collection_formats'])
1136+
1137+
1138+
10911139
# <summary>
10921140
# Clear cell area contents in the worksheet.
10931141
# </summary>
@@ -12226,7 +12274,54 @@ def post_run_task_with_http_info(self, request, **kwargs):
1222612274

1222712275

1222812276
# <summary>
12229-
# Retrieve the description of the default style for the workbook.
12277+
# </summary>
12278+
# <param name="request">Request. <see cref="PostAddTextContentRequest" /></param>
12279+
def post_add_text_content(self, request, **kwargs):
12280+
12281+
kwargs['_return_http_data_only'] = True
12282+
self.check_access_token()
12283+
if kwargs.get('callback'):
12284+
return self.post_add_text_content_with_http_info(request,**kwargs)
12285+
else:
12286+
(data) = self.post_add_text_content_with_http_info(request,**kwargs)
12287+
return data
12288+
12289+
def post_add_text_content_with_http_info(self, request, **kwargs):
12290+
all_params = []
12291+
all_params.append('callback')
12292+
all_params.append('_return_http_data_only')
12293+
all_params.append('_preload_content')
12294+
all_params.append('_request_timeout')
12295+
params = locals()
12296+
for key, val in iteritems(params['kwargs']):
12297+
if key not in all_params:
12298+
raise TypeError(
12299+
"Got an unexpected keyword argument '%s'"
12300+
" to method post_add_text_content" % key
12301+
)
12302+
params[key] = val
12303+
del params['kwargs']
12304+
12305+
http_params = request.create_http_request(self.api_client)
12306+
return self.api_client.call_api(http_params['path'], http_params['method'],
12307+
None,
12308+
http_params['query_params'],
12309+
http_params['header_params'],
12310+
body=http_params['body'],
12311+
post_params=http_params['form_params'],
12312+
files=http_params['files'],
12313+
response_type=http_params['response_type'],
12314+
auth_settings=http_params['auth_settings'],
12315+
callback=params.get('callback'),
12316+
_return_http_data_only=params.get('_return_http_data_only'),
12317+
_preload_content=params.get('_preload_content', True),
12318+
_request_timeout=params.get('_request_timeout'),
12319+
collection_formats=http_params['collection_formats'])
12320+
12321+
12322+
12323+
# <summary>
12324+
# Retrieve the description of the default style for the workbook .
1223012325
# </summary>
1223112326
# <param name="request">Request. <see cref="GetWorkbookDefaultStyleRequest" /></param>
1223212327
def get_workbook_default_style(self, request, **kwargs):

asposecellscloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,5 +259,5 @@ def to_debug_report(self):
259259
"OS: {env}\n"\
260260
"Python Version: {pyversion}\n"\
261261
"Version of the API: v3.0\n"\
262-
"SDK Package Version: 24.6".\
262+
"SDK Package Version: 24.7".\
263263
format(env=sys.platform, pyversion=sys.version)

asposecellscloud/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,8 @@
344344
from asposecellscloud.models.pivot_item import PivotItem
345345
from asposecellscloud.models.pivot_table import PivotTable
346346
from asposecellscloud.models.pivot_tables import PivotTables
347+
from asposecellscloud.models.add_text_options import AddTextOptions
348+
from asposecellscloud.models.base_operate_options import BaseOperateOptions
347349
from asposecellscloud.models.cell_value import CellValue
348350
from asposecellscloud.models.custom_parser_config import CustomParserConfig
349351
from asposecellscloud.models.import2_dimension_double_array_option import Import2DimensionDoubleArrayOption

0 commit comments

Comments
 (0)