Skip to content

Commit 9106ff2

Browse files
committed
20220110 update : update sdk code for spec json.
1 parent 68393df commit 9106ff2

File tree

263 files changed

+1010
-286
lines changed

Some content is hidden

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

263 files changed

+1010
-286
lines changed

README.md

Lines changed: 2 additions & 2 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/21.12)
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/22.1)
22

33

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

2626
- Improvement for conversion API.
2727
- Improvement for batch data import to support to set cell formula.

asposecellscloud/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# coding: utf-8
22

33
"""
4-
Copyright (c) 2021 Aspose.Cells Cloud
4+
Copyright (c) 2022 Aspose.Cells Cloud
55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
77
in the Software without restriction, including without limitation the rights

asposecellscloud/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# coding: utf-8
22
"""
3-
Copyright (c) 2021 Aspose.Cells Cloud
3+
Copyright (c) 2022 Aspose.Cells Cloud
44
Permission is hereby granted, free of charge, to any person obtaining a copy
55
of this software and associated documentation files (the "Software"), to deal
66
in the Software without restriction, including without limitation the rights
@@ -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 = 'Swagger-Codegen/21.12/python'
86+
self.user_agent = 'Swagger-Codegen/22.1/python'
8787

8888
@property
8989
def user_agent(self):

asposecellscloud/apis/cells_api.py

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# coding: utf-8
22

33
"""
4-
Copyright (c) 2021 Aspose.Cells Cloud
4+
Copyright (c) 2022 Aspose.Cells Cloud
55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
77
in the Software without restriction, including without limitation the rights
@@ -21986,6 +21986,7 @@ def cells_save_as_post_document_save_as(self, name, **kwargs):
2198621986
:param bool is_auto_fit_columns: Autofit columns.
2198721987
:param str folder: The document folder.
2198821988
:param str storage_name: storage name.
21989+
:param str out_storage_name: output storage name.
2198921990
:return: SaveResponse
2199021991
If the method is called asynchronously,
2199121992
returns the request thread.
@@ -22018,12 +22019,13 @@ def cells_save_as_post_document_save_as_with_http_info(self, name, **kwargs):
2201822019
:param bool is_auto_fit_columns: Autofit columns.
2201922020
:param str folder: The document folder.
2202022021
:param str storage_name: storage name.
22022+
:param str out_storage_name: output storage name.
2202122023
:return: SaveResponse
2202222024
If the method is called asynchronously,
2202322025
returns the request thread.
2202422026
"""
2202522027

22026-
all_params = ['name', 'save_options', 'newfilename', 'is_auto_fit_rows', 'is_auto_fit_columns', 'folder', 'storage_name']
22028+
all_params = ['name', 'save_options', 'newfilename', 'is_auto_fit_rows', 'is_auto_fit_columns', 'folder', 'storage_name', 'out_storage_name']
2202722029
all_params.append('callback')
2202822030
all_params.append('_return_http_data_only')
2202922031
all_params.append('_preload_content')
@@ -22060,6 +22062,8 @@ def cells_save_as_post_document_save_as_with_http_info(self, name, **kwargs):
2206022062
query_params.append(('folder', params['folder']))
2206122063
if 'storage_name' in params:
2206222064
query_params.append(('storageName', params['storage_name']))
22065+
if 'out_storage_name' in params:
22066+
query_params.append(('outStorageName', params['out_storage_name']))
2206322067

2206422068
header_params = {}
2206522069

@@ -24824,6 +24828,7 @@ def cells_workbook_get_workbook(self, name, **kwargs):
2482424828
:param str folder: The document folder.
2482524829
:param str storage_name: storage name.
2482624830
:param str out_path: The document output folder.
24831+
:param str out_storage_name: output storage name.
2482724832
:return: file
2482824833
If the method is called asynchronously,
2482924834
returns the request thread.
@@ -24857,12 +24862,13 @@ def cells_workbook_get_workbook_with_http_info(self, name, **kwargs):
2485724862
:param str folder: The document folder.
2485824863
:param str storage_name: storage name.
2485924864
:param str out_path: The document output folder.
24865+
:param str out_storage_name: output storage name.
2486024866
:return: file
2486124867
If the method is called asynchronously,
2486224868
returns the request thread.
2486324869
"""
2486424870

24865-
all_params = ['name', 'password', 'format', 'is_auto_fit', 'only_save_table', 'folder', 'storage_name', 'out_path']
24871+
all_params = ['name', 'password', 'format', 'is_auto_fit', 'only_save_table', 'folder', 'storage_name', 'out_path', 'out_storage_name']
2486624872
all_params.append('callback')
2486724873
all_params.append('_return_http_data_only')
2486824874
all_params.append('_preload_content')
@@ -24903,6 +24909,8 @@ def cells_workbook_get_workbook_with_http_info(self, name, **kwargs):
2490324909
query_params.append(('storageName', params['storage_name']))
2490424910
if 'out_path' in params:
2490524911
query_params.append(('outPath', params['out_path']))
24912+
if 'out_storage_name' in params:
24913+
query_params.append(('outStorageName', params['out_storage_name']))
2490624914

2490724915
header_params = {}
2490824916

@@ -26373,6 +26381,7 @@ def cells_workbook_post_workbook_get_smart_marker_result(self, name, **kwargs):
2637326381
:param str folder: The workbook folder full path.
2637426382
:param str storage_name: storage name.
2637526383
:param str out_path: Path to save result
26384+
:param str out_storage_name: output storage name.
2637626385
:return: file
2637726386
If the method is called asynchronously,
2637826387
returns the request thread.
@@ -26403,12 +26412,13 @@ def cells_workbook_post_workbook_get_smart_marker_result_with_http_info(self, na
2640326412
:param str folder: The workbook folder full path.
2640426413
:param str storage_name: storage name.
2640526414
:param str out_path: Path to save result
26415+
:param str out_storage_name: output storage name.
2640626416
:return: file
2640726417
If the method is called asynchronously,
2640826418
returns the request thread.
2640926419
"""
2641026420

26411-
all_params = ['name', 'xml_file', 'folder', 'storage_name', 'out_path']
26421+
all_params = ['name', 'xml_file', 'folder', 'storage_name', 'out_path', 'out_storage_name']
2641226422
all_params.append('callback')
2641326423
all_params.append('_return_http_data_only')
2641426424
all_params.append('_preload_content')
@@ -26443,6 +26453,8 @@ def cells_workbook_post_workbook_get_smart_marker_result_with_http_info(self, na
2644326453
query_params.append(('storageName', params['storage_name']))
2644426454
if 'out_path' in params:
2644526455
query_params.append(('outPath', params['out_path']))
26456+
if 'out_storage_name' in params:
26457+
query_params.append(('outStorageName', params['out_storage_name']))
2644626458

2644726459
header_params = {}
2644826460

@@ -26615,6 +26627,7 @@ def cells_workbook_post_workbook_split(self, name, **kwargs):
2661526627
:param str folder: The workbook folder.
2661626628
:param str out_folder: out Folder.
2661726629
:param str storage_name: storage name.
26630+
:param str out_storage_name: output storage name.
2661826631
:return: SplitResultResponse
2661926632
If the method is called asynchronously,
2662026633
returns the request thread.
@@ -26649,12 +26662,13 @@ def cells_workbook_post_workbook_split_with_http_info(self, name, **kwargs):
2664926662
:param str folder: The workbook folder.
2665026663
:param str out_folder: out Folder.
2665126664
:param str storage_name: storage name.
26665+
:param str out_storage_name: output storage name.
2665226666
:return: SplitResultResponse
2665326667
If the method is called asynchronously,
2665426668
returns the request thread.
2665526669
"""
2665626670

26657-
all_params = ['name', 'format', '_from', 'to', 'horizontal_resolution', 'vertical_resolution', 'folder', 'out_folder', 'storage_name']
26671+
all_params = ['name', 'format', '_from', 'to', 'horizontal_resolution', 'vertical_resolution', 'folder', 'out_folder', 'storage_name', 'out_storage_name']
2665826672
all_params.append('callback')
2665926673
all_params.append('_return_http_data_only')
2666026674
all_params.append('_preload_content')
@@ -26697,6 +26711,8 @@ def cells_workbook_post_workbook_split_with_http_info(self, name, **kwargs):
2669726711
query_params.append(('outFolder', params['out_folder']))
2669826712
if 'storage_name' in params:
2669926713
query_params.append(('storageName', params['storage_name']))
26714+
if 'out_storage_name' in params:
26715+
query_params.append(('outStorageName', params['out_storage_name']))
2670026716

2670126717
header_params = {}
2670226718

@@ -26747,6 +26763,7 @@ def cells_workbook_post_workbooks_merge(self, name, merge_with, **kwargs):
2674726763
:param str merge_with: The workbook to merge with. (required)
2674826764
:param str folder: Source workbook folder.
2674926765
:param str storage_name: storage name.
26766+
:param str merged_storage_name: merged file storage name.
2675026767
:return: WorkbookResponse
2675126768
If the method is called asynchronously,
2675226769
returns the request thread.
@@ -26776,12 +26793,13 @@ def cells_workbook_post_workbooks_merge_with_http_info(self, name, merge_with, *
2677626793
:param str merge_with: The workbook to merge with. (required)
2677726794
:param str folder: Source workbook folder.
2677826795
:param str storage_name: storage name.
26796+
:param str merged_storage_name: merged file storage name.
2677926797
:return: WorkbookResponse
2678026798
If the method is called asynchronously,
2678126799
returns the request thread.
2678226800
"""
2678326801

26784-
all_params = ['name', 'merge_with', 'folder', 'storage_name']
26802+
all_params = ['name', 'merge_with', 'folder', 'storage_name', 'merged_storage_name']
2678526803
all_params.append('callback')
2678626804
all_params.append('_return_http_data_only')
2678726805
all_params.append('_preload_content')
@@ -26817,6 +26835,8 @@ def cells_workbook_post_workbooks_merge_with_http_info(self, name, merge_with, *
2681726835
query_params.append(('folder', params['folder']))
2681826836
if 'storage_name' in params:
2681926837
query_params.append(('storageName', params['storage_name']))
26838+
if 'merged_storage_name' in params:
26839+
query_params.append(('mergedStorageName', params['merged_storage_name']))
2682026840

2682126841
header_params = {}
2682226842

asposecellscloud/apis/lite_cells_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# coding: utf-8
22

33
"""
4-
Copyright (c) 2021 Aspose.Cells Cloud
4+
Copyright (c) 2022 Aspose.Cells Cloud
55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
77
in the Software without restriction, including without limitation the rights

asposecellscloud/configuration.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# coding: utf-8
22

33
"""
4-
Copyright (c) 2021 Aspose.Cells Cloud
4+
Copyright (c) 2022 Aspose.Cells Cloud
55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
77
in the Software without restriction, including without limitation the rights
@@ -103,6 +103,8 @@ def __init__(self):
103103
self.proxy = None
104104
# Safe chars for path_param
105105
self.safe_chars_for_path_param = '/'
106+
# self.proxy = 'https://127.0.0.1:8888'
107+
# self.ssl_ca_cert = 'C://projects//FiddlerRoot.pem'
106108

107109
@property
108110
def logger_file(self):
@@ -254,6 +256,6 @@ def to_debug_report(self):
254256
return "Python SDK Debug Report:\n"\
255257
"OS: {env}\n"\
256258
"Python Version: {pyversion}\n"\
257-
"Version of the API: 21.12\n"\
258-
"SDK Package Version: 21.12".\
259+
"Version of the API: 22.1\n"\
260+
"SDK Package Version: 22.1".\
259261
format(env=sys.platform, pyversion=sys.version)

asposecellscloud/models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# coding: utf-8
22

33
"""
4-
Copyright (c) 2021 Aspose.Cells Cloud
4+
Copyright (c) 2022 Aspose.Cells Cloud
55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
77
in the Software without restriction, including without limitation the rights

asposecellscloud/models/above_average.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# coding: utf-8
22

33
"""
4-
Copyright (c) 2021 Aspose.Cells Cloud
4+
Copyright (c) 2022 Aspose.Cells Cloud
55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
77
in the Software without restriction, including without limitation the rights

asposecellscloud/models/access_token_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# coding: utf-8
22

33
"""
4-
Copyright (c) 2021 Aspose.Cells Cloud
4+
Copyright (c) 2022 Aspose.Cells Cloud
55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
77
in the Software without restriction, including without limitation the rights

asposecellscloud/models/area.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# coding: utf-8
22

33
"""
4-
Copyright (c) 2021 Aspose.Cells Cloud
4+
Copyright (c) 2022 Aspose.Cells Cloud
55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
77
in the Software without restriction, including without limitation the rights

0 commit comments

Comments
 (0)