@@ -1016,52 +1016,6 @@ def post_batch_split_with_http_info(self, request, **kwargs):
1016
1016
collection_formats=http_params['collection_formats'])
1017
1017
1018
1018
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
-
1065
1019
1066
1020
# <summary>
1067
1021
# </summary>
@@ -28816,134 +28770,6 @@ def cells_page_setup_post_page_setup_with_http_info(self, name, sheet_name, **kw
28816
28770
_preload_content=params.get('_preload_content', True),
28817
28771
_request_timeout=params.get('_request_timeout'),
28818
28772
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)
28947
28773
28948
28774
def cells_pictures_delete_worksheet_picture(self, name, sheet_name, picture_index, **kwargs):
28949
28775
warnings.warn("CellsApi is deprecated", DeprecationWarning)
0 commit comments