|
16 | 16 |
|
17 | 17 | import re # noqa: F401 |
18 | 18 |
|
19 | | -# python 2 and python 3 compatibility library |
20 | | -import six |
21 | | - |
22 | 19 | from rustici_software_cloud_v2.api_client import ApiClient |
23 | 20 |
|
24 | 21 |
|
@@ -79,7 +76,7 @@ def create_application_with_http_info(self, application_request, **kwargs): # n |
79 | 76 | all_params.append('_request_timeout') |
80 | 77 |
|
81 | 78 | params = locals() |
82 | | - for key, val in six.iteritems(params['kwargs']): |
| 79 | + for key, val in params['kwargs'].items(): |
83 | 80 | if key not in all_params: |
84 | 81 | raise TypeError( |
85 | 82 | "Got an unexpected keyword argument '%s'" |
@@ -180,7 +177,7 @@ def create_credential_with_http_info(self, child_app_id, credential_request, **k |
180 | 177 | all_params.append('_request_timeout') |
181 | 178 |
|
182 | 179 | params = locals() |
183 | | - for key, val in six.iteritems(params['kwargs']): |
| 180 | + for key, val in params['kwargs'].items(): |
184 | 181 | if key not in all_params: |
185 | 182 | raise TypeError( |
186 | 183 | "Got an unexpected keyword argument '%s'" |
@@ -285,7 +282,7 @@ def create_token_with_http_info(self, token_request, **kwargs): # noqa: E501 |
285 | 282 | all_params.append('_request_timeout') |
286 | 283 |
|
287 | 284 | params = locals() |
288 | | - for key, val in six.iteritems(params['kwargs']): |
| 285 | + for key, val in params['kwargs'].items(): |
289 | 286 | if key not in all_params: |
290 | 287 | raise TypeError( |
291 | 288 | "Got an unexpected keyword argument '%s'" |
@@ -321,7 +318,7 @@ def create_token_with_http_info(self, token_request, **kwargs): # noqa: E501 |
321 | 318 | ['application/json']) # noqa: E501 |
322 | 319 |
|
323 | 320 | # Authentication setting |
324 | | - auth_settings = ['APP_NORMAL'] # noqa: E501 |
| 321 | + auth_settings = ['APP_MANAGEMENT', 'APP_NORMAL'] # noqa: E501 |
325 | 322 |
|
326 | 323 | return self.api_client.call_api( |
327 | 324 | '/appManagement/token', 'POST', |
@@ -384,7 +381,7 @@ def delete_application_with_http_info(self, child_app_id, **kwargs): # noqa: E5 |
384 | 381 | all_params.append('_request_timeout') |
385 | 382 |
|
386 | 383 | params = locals() |
387 | | - for key, val in six.iteritems(params['kwargs']): |
| 384 | + for key, val in params['kwargs'].items(): |
388 | 385 | if key not in all_params: |
389 | 386 | raise TypeError( |
390 | 387 | "Got an unexpected keyword argument '%s'" |
@@ -487,7 +484,7 @@ def delete_application_configuration_setting_with_http_info(self, setting_id, ** |
487 | 484 | all_params.append('_request_timeout') |
488 | 485 |
|
489 | 486 | params = locals() |
490 | | - for key, val in six.iteritems(params['kwargs']): |
| 487 | + for key, val in params['kwargs'].items(): |
491 | 488 | if key not in all_params: |
492 | 489 | raise TypeError( |
493 | 490 | "Got an unexpected keyword argument '%s'" |
@@ -592,7 +589,7 @@ def delete_credential_with_http_info(self, child_app_id, credential_id, **kwargs |
592 | 589 | all_params.append('_request_timeout') |
593 | 590 |
|
594 | 591 | params = locals() |
595 | | - for key, val in six.iteritems(params['kwargs']): |
| 592 | + for key, val in params['kwargs'].items(): |
596 | 593 | if key not in all_params: |
597 | 594 | raise TypeError( |
598 | 595 | "Got an unexpected keyword argument '%s'" |
@@ -701,7 +698,7 @@ def get_application_configuration_with_http_info(self, **kwargs): # noqa: E501 |
701 | 698 | all_params.append('_request_timeout') |
702 | 699 |
|
703 | 700 | params = locals() |
704 | | - for key, val in six.iteritems(params['kwargs']): |
| 701 | + for key, val in params['kwargs'].items(): |
705 | 702 | if key not in all_params: |
706 | 703 | raise TypeError( |
707 | 704 | "Got an unexpected keyword argument '%s'" |
@@ -804,7 +801,7 @@ def get_application_info_with_http_info(self, child_app_id, **kwargs): # noqa: |
804 | 801 | all_params.append('_request_timeout') |
805 | 802 |
|
806 | 803 | params = locals() |
807 | | - for key, val in six.iteritems(params['kwargs']): |
| 804 | + for key, val in params['kwargs'].items(): |
808 | 805 | if key not in all_params: |
809 | 806 | raise TypeError( |
810 | 807 | "Got an unexpected keyword argument '%s'" |
@@ -907,7 +904,7 @@ def get_application_list_with_http_info(self, **kwargs): # noqa: E501 |
907 | 904 | all_params.append('_request_timeout') |
908 | 905 |
|
909 | 906 | params = locals() |
910 | | - for key, val in six.iteritems(params['kwargs']): |
| 907 | + for key, val in params['kwargs'].items(): |
911 | 908 | if key not in all_params: |
912 | 909 | raise TypeError( |
913 | 910 | "Got an unexpected keyword argument '%s'" |
@@ -1018,7 +1015,7 @@ def get_applications_with_http_info(self, **kwargs): # noqa: E501 |
1018 | 1015 | all_params.append('_request_timeout') |
1019 | 1016 |
|
1020 | 1017 | params = locals() |
1021 | | - for key, val in six.iteritems(params['kwargs']): |
| 1018 | + for key, val in params['kwargs'].items(): |
1022 | 1019 | if key not in all_params: |
1023 | 1020 | raise TypeError( |
1024 | 1021 | "Got an unexpected keyword argument '%s'" |
@@ -1131,7 +1128,7 @@ def get_credentials_with_http_info(self, child_app_id, **kwargs): # noqa: E501 |
1131 | 1128 | all_params.append('_request_timeout') |
1132 | 1129 |
|
1133 | 1130 | params = locals() |
1134 | | - for key, val in six.iteritems(params['kwargs']): |
| 1131 | + for key, val in params['kwargs'].items(): |
1135 | 1132 | if key not in all_params: |
1136 | 1133 | raise TypeError( |
1137 | 1134 | "Got an unexpected keyword argument '%s'" |
@@ -1234,7 +1231,7 @@ def set_application_configuration_with_http_info(self, configuration_settings, * |
1234 | 1231 | all_params.append('_request_timeout') |
1235 | 1232 |
|
1236 | 1233 | params = locals() |
1237 | | - for key, val in six.iteritems(params['kwargs']): |
| 1234 | + for key, val in params['kwargs'].items(): |
1238 | 1235 | if key not in all_params: |
1239 | 1236 | raise TypeError( |
1240 | 1237 | "Got an unexpected keyword argument '%s'" |
@@ -1339,7 +1336,7 @@ def update_application_with_http_info(self, child_app_id, application_properties |
1339 | 1336 | all_params.append('_request_timeout') |
1340 | 1337 |
|
1341 | 1338 | params = locals() |
1342 | | - for key, val in six.iteritems(params['kwargs']): |
| 1339 | + for key, val in params['kwargs'].items(): |
1343 | 1340 | if key not in all_params: |
1344 | 1341 | raise TypeError( |
1345 | 1342 | "Got an unexpected keyword argument '%s'" |
@@ -1448,7 +1445,7 @@ def update_credential_with_http_info(self, child_app_id, credential_id, credenti |
1448 | 1445 | all_params.append('_request_timeout') |
1449 | 1446 |
|
1450 | 1447 | params = locals() |
1451 | | - for key, val in six.iteritems(params['kwargs']): |
| 1448 | + for key, val in params['kwargs'].items(): |
1452 | 1449 | if key not in all_params: |
1453 | 1450 | raise TypeError( |
1454 | 1451 | "Got an unexpected keyword argument '%s'" |
|
0 commit comments