|
5 | 5 | import re # noqa: F401 |
6 | 6 | import warnings # noqa: F401 |
7 | 7 |
|
8 | | -# python 2 and python 3 compatibility library |
9 | | -import six |
10 | | - |
11 | 8 | from aspose_barcode_cloud.api_client import ApiClient |
12 | 9 |
|
13 | 10 |
|
@@ -254,7 +251,7 @@ def get_barcode_generate_with_http_info(self, type, text, **kwargs): |
254 | 251 | all_params.add("_request_timeout") |
255 | 252 |
|
256 | 253 | params = locals() |
257 | | - for key, val in six.iteritems(params["kwargs"]): |
| 254 | + for key, val in params["kwargs"].items(): |
258 | 255 | if key not in all_params: |
259 | 256 | raise TypeError("Got an unexpected keyword argument '%s'" " to method get_barcode_generate" % key) |
260 | 257 | if val is None: |
@@ -627,7 +624,7 @@ def get_barcode_recognize_with_http_info(self, name, **kwargs): |
627 | 624 | all_params.add("_request_timeout") |
628 | 625 |
|
629 | 626 | params = locals() |
630 | | - for key, val in six.iteritems(params["kwargs"]): |
| 627 | + for key, val in params["kwargs"].items(): |
631 | 628 | if key not in all_params: |
632 | 629 | raise TypeError("Got an unexpected keyword argument '%s'" " to method get_barcode_recognize" % key) |
633 | 630 | if val is None: |
@@ -999,7 +996,7 @@ def post_barcode_recognize_from_url_or_content_with_http_info(self, **kwargs): |
999 | 996 | all_params.add("_request_timeout") |
1000 | 997 |
|
1001 | 998 | params = locals() |
1002 | | - for key, val in six.iteritems(params["kwargs"]): |
| 999 | + for key, val in params["kwargs"].items(): |
1003 | 1000 | if key not in all_params: |
1004 | 1001 | raise TypeError( |
1005 | 1002 | "Got an unexpected keyword argument '%s'" |
@@ -1175,7 +1172,7 @@ def post_generate_multiple_with_http_info(self, generator_params_list, **kwargs) |
1175 | 1172 | all_params.add("_request_timeout") |
1176 | 1173 |
|
1177 | 1174 | params = locals() |
1178 | | - for key, val in six.iteritems(params["kwargs"]): |
| 1175 | + for key, val in params["kwargs"].items(): |
1179 | 1176 | if key not in all_params: |
1180 | 1177 | raise TypeError("Got an unexpected keyword argument '%s'" " to method post_generate_multiple" % key) |
1181 | 1178 | if val is None: |
@@ -1483,7 +1480,7 @@ def put_barcode_generate_file_with_http_info(self, name, type, text, **kwargs): |
1483 | 1480 | all_params.add("_request_timeout") |
1484 | 1481 |
|
1485 | 1482 | params = locals() |
1486 | | - for key, val in six.iteritems(params["kwargs"]): |
| 1483 | + for key, val in params["kwargs"].items(): |
1487 | 1484 | if key not in all_params: |
1488 | 1485 | raise TypeError("Got an unexpected keyword argument '%s'" " to method put_barcode_generate_file" % key) |
1489 | 1486 | if val is None: |
@@ -1673,7 +1670,7 @@ def put_barcode_recognize_from_body_with_http_info(self, name, reader_params, ** |
1673 | 1670 | all_params.add("_request_timeout") |
1674 | 1671 |
|
1675 | 1672 | params = locals() |
1676 | | - for key, val in six.iteritems(params["kwargs"]): |
| 1673 | + for key, val in params["kwargs"].items(): |
1677 | 1674 | if key not in all_params: |
1678 | 1675 | raise TypeError( |
1679 | 1676 | "Got an unexpected keyword argument '%s'" " to method put_barcode_recognize_from_body" % key |
@@ -1794,7 +1791,7 @@ def put_generate_multiple_with_http_info(self, name, generator_params_list, **kw |
1794 | 1791 | all_params.add("_request_timeout") |
1795 | 1792 |
|
1796 | 1793 | params = locals() |
1797 | | - for key, val in six.iteritems(params["kwargs"]): |
| 1794 | + for key, val in params["kwargs"].items(): |
1798 | 1795 | if key not in all_params: |
1799 | 1796 | raise TypeError("Got an unexpected keyword argument '%s'" " to method put_generate_multiple" % key) |
1800 | 1797 | if val is None: |
@@ -1906,7 +1903,7 @@ def scan_barcode_with_http_info(self, image_file, **kwargs): |
1906 | 1903 | all_params.add("_request_timeout") |
1907 | 1904 |
|
1908 | 1905 | params = locals() |
1909 | | - for key, val in six.iteritems(params["kwargs"]): |
| 1906 | + for key, val in params["kwargs"].items(): |
1910 | 1907 | if key not in all_params: |
1911 | 1908 | raise TypeError("Got an unexpected keyword argument '%s'" " to method scan_barcode" % key) |
1912 | 1909 | if val is None: |
|
0 commit comments