alibabacloud-ehpcinstant20230701 2.0.1__tar.gz → 2.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of alibabacloud-ehpcinstant20230701 might be problematic. Click here for more details.

Files changed (17) hide show
  1. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.2}/ChangeLog.md +6 -0
  2. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.2}/PKG-INFO +1 -1
  3. alibabacloud_ehpcinstant20230701-2.0.2/alibabacloud_ehpcinstant20230701/__init__.py +1 -0
  4. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.2}/alibabacloud_ehpcinstant20230701/client.py +168 -420
  5. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.2}/alibabacloud_ehpcinstant20230701/models.py +12 -0
  6. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.2}/alibabacloud_ehpcinstant20230701.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.2}/alibabacloud_ehpcinstant20230701.egg-info/requires.txt +1 -1
  8. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.2}/setup.py +2 -2
  9. alibabacloud_ehpcinstant20230701-2.0.1/alibabacloud_ehpcinstant20230701/__init__.py +0 -1
  10. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.2}/LICENSE +0 -0
  11. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.2}/MANIFEST.in +0 -0
  12. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.2}/README-CN.md +0 -0
  13. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.2}/README.md +0 -0
  14. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.2}/alibabacloud_ehpcinstant20230701.egg-info/SOURCES.txt +0 -0
  15. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.2}/alibabacloud_ehpcinstant20230701.egg-info/dependency_links.txt +0 -0
  16. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.2}/alibabacloud_ehpcinstant20230701.egg-info/top_level.txt +0 -0
  17. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.2}/setup.cfg +0 -0
@@ -1,3 +1,9 @@
1
+ 2025-03-31 Version: 2.0.1
2
+ - Update API CreateJob: add request parameters DeploymentPolicy.Level.
3
+ - Update API GetJob: add response parameters Body.JobInfo.DeploymentPolicy.Level.
4
+ - Update API GetJob: add response parameters Body.JobInfo.DeploymentPolicy.Network.EnableENIMapping.
5
+
6
+
1
7
  2025-02-12 Version: 2.0.0
2
8
  - Update API CreateJob: add param SecurityPolicy.
3
9
  - Update API ListExecutors: update param PageNumber.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_ehpcinstant20230701
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: Alibaba Cloud EhpcInstant (20230701) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -87,16 +87,10 @@ class Client(OpenApiClient):
87
87
  req_body_type='formData',
88
88
  body_type='json'
89
89
  )
90
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
91
- return TeaCore.from_map(
92
- ehpc_instant_20230701_models.AddImageResponse(),
93
- self.call_api(params, req, runtime)
94
- )
95
- else:
96
- return TeaCore.from_map(
97
- ehpc_instant_20230701_models.AddImageResponse(),
98
- self.execute(params, req, runtime)
99
- )
90
+ return TeaCore.from_map(
91
+ ehpc_instant_20230701_models.AddImageResponse(),
92
+ self.call_api(params, req, runtime)
93
+ )
100
94
 
101
95
  async def add_image_with_options_async(
102
96
  self,
@@ -144,16 +138,10 @@ class Client(OpenApiClient):
144
138
  req_body_type='formData',
145
139
  body_type='json'
146
140
  )
147
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
148
- return TeaCore.from_map(
149
- ehpc_instant_20230701_models.AddImageResponse(),
150
- await self.call_api_async(params, req, runtime)
151
- )
152
- else:
153
- return TeaCore.from_map(
154
- ehpc_instant_20230701_models.AddImageResponse(),
155
- await self.execute_async(params, req, runtime)
156
- )
141
+ return TeaCore.from_map(
142
+ ehpc_instant_20230701_models.AddImageResponse(),
143
+ await self.call_api_async(params, req, runtime)
144
+ )
157
145
 
158
146
  def add_image(
159
147
  self,
@@ -229,16 +217,10 @@ class Client(OpenApiClient):
229
217
  req_body_type='formData',
230
218
  body_type='json'
231
219
  )
232
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
233
- return TeaCore.from_map(
234
- ehpc_instant_20230701_models.CreateJobResponse(),
235
- self.call_api(params, req, runtime)
236
- )
237
- else:
238
- return TeaCore.from_map(
239
- ehpc_instant_20230701_models.CreateJobResponse(),
240
- self.execute(params, req, runtime)
241
- )
220
+ return TeaCore.from_map(
221
+ ehpc_instant_20230701_models.CreateJobResponse(),
222
+ self.call_api(params, req, runtime)
223
+ )
242
224
 
243
225
  async def create_job_with_options_async(
244
226
  self,
@@ -288,16 +270,10 @@ class Client(OpenApiClient):
288
270
  req_body_type='formData',
289
271
  body_type='json'
290
272
  )
291
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
292
- return TeaCore.from_map(
293
- ehpc_instant_20230701_models.CreateJobResponse(),
294
- await self.call_api_async(params, req, runtime)
295
- )
296
- else:
297
- return TeaCore.from_map(
298
- ehpc_instant_20230701_models.CreateJobResponse(),
299
- await self.execute_async(params, req, runtime)
300
- )
273
+ return TeaCore.from_map(
274
+ ehpc_instant_20230701_models.CreateJobResponse(),
275
+ await self.call_api_async(params, req, runtime)
276
+ )
301
277
 
302
278
  def create_job(
303
279
  self,
@@ -363,16 +339,10 @@ class Client(OpenApiClient):
363
339
  req_body_type='formData',
364
340
  body_type='json'
365
341
  )
366
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
367
- return TeaCore.from_map(
368
- ehpc_instant_20230701_models.CreatePoolResponse(),
369
- self.call_api(params, req, runtime)
370
- )
371
- else:
372
- return TeaCore.from_map(
373
- ehpc_instant_20230701_models.CreatePoolResponse(),
374
- self.execute(params, req, runtime)
375
- )
342
+ return TeaCore.from_map(
343
+ ehpc_instant_20230701_models.CreatePoolResponse(),
344
+ self.call_api(params, req, runtime)
345
+ )
376
346
 
377
347
  async def create_pool_with_options_async(
378
348
  self,
@@ -412,16 +382,10 @@ class Client(OpenApiClient):
412
382
  req_body_type='formData',
413
383
  body_type='json'
414
384
  )
415
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
416
- return TeaCore.from_map(
417
- ehpc_instant_20230701_models.CreatePoolResponse(),
418
- await self.call_api_async(params, req, runtime)
419
- )
420
- else:
421
- return TeaCore.from_map(
422
- ehpc_instant_20230701_models.CreatePoolResponse(),
423
- await self.execute_async(params, req, runtime)
424
- )
385
+ return TeaCore.from_map(
386
+ ehpc_instant_20230701_models.CreatePoolResponse(),
387
+ await self.call_api_async(params, req, runtime)
388
+ )
425
389
 
426
390
  def create_pool(
427
391
  self,
@@ -487,16 +451,10 @@ class Client(OpenApiClient):
487
451
  req_body_type='formData',
488
452
  body_type='json'
489
453
  )
490
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
491
- return TeaCore.from_map(
492
- ehpc_instant_20230701_models.DeleteJobsResponse(),
493
- self.call_api(params, req, runtime)
494
- )
495
- else:
496
- return TeaCore.from_map(
497
- ehpc_instant_20230701_models.DeleteJobsResponse(),
498
- self.execute(params, req, runtime)
499
- )
454
+ return TeaCore.from_map(
455
+ ehpc_instant_20230701_models.DeleteJobsResponse(),
456
+ self.call_api(params, req, runtime)
457
+ )
500
458
 
501
459
  async def delete_jobs_with_options_async(
502
460
  self,
@@ -536,16 +494,10 @@ class Client(OpenApiClient):
536
494
  req_body_type='formData',
537
495
  body_type='json'
538
496
  )
539
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
540
- return TeaCore.from_map(
541
- ehpc_instant_20230701_models.DeleteJobsResponse(),
542
- await self.call_api_async(params, req, runtime)
543
- )
544
- else:
545
- return TeaCore.from_map(
546
- ehpc_instant_20230701_models.DeleteJobsResponse(),
547
- await self.execute_async(params, req, runtime)
548
- )
497
+ return TeaCore.from_map(
498
+ ehpc_instant_20230701_models.DeleteJobsResponse(),
499
+ await self.call_api_async(params, req, runtime)
500
+ )
549
501
 
550
502
  def delete_jobs(
551
503
  self,
@@ -603,16 +555,10 @@ class Client(OpenApiClient):
603
555
  req_body_type='formData',
604
556
  body_type='json'
605
557
  )
606
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
607
- return TeaCore.from_map(
608
- ehpc_instant_20230701_models.DeletePoolResponse(),
609
- self.call_api(params, req, runtime)
610
- )
611
- else:
612
- return TeaCore.from_map(
613
- ehpc_instant_20230701_models.DeletePoolResponse(),
614
- self.execute(params, req, runtime)
615
- )
558
+ return TeaCore.from_map(
559
+ ehpc_instant_20230701_models.DeletePoolResponse(),
560
+ self.call_api(params, req, runtime)
561
+ )
616
562
 
617
563
  async def delete_pool_with_options_async(
618
564
  self,
@@ -644,16 +590,10 @@ class Client(OpenApiClient):
644
590
  req_body_type='formData',
645
591
  body_type='json'
646
592
  )
647
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
648
- return TeaCore.from_map(
649
- ehpc_instant_20230701_models.DeletePoolResponse(),
650
- await self.call_api_async(params, req, runtime)
651
- )
652
- else:
653
- return TeaCore.from_map(
654
- ehpc_instant_20230701_models.DeletePoolResponse(),
655
- await self.execute_async(params, req, runtime)
656
- )
593
+ return TeaCore.from_map(
594
+ ehpc_instant_20230701_models.DeletePoolResponse(),
595
+ await self.call_api_async(params, req, runtime)
596
+ )
657
597
 
658
598
  def delete_pool(
659
599
  self,
@@ -721,16 +661,10 @@ class Client(OpenApiClient):
721
661
  req_body_type='formData',
722
662
  body_type='json'
723
663
  )
724
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
725
- return TeaCore.from_map(
726
- ehpc_instant_20230701_models.DescribeJobMetricDataResponse(),
727
- self.call_api(params, req, runtime)
728
- )
729
- else:
730
- return TeaCore.from_map(
731
- ehpc_instant_20230701_models.DescribeJobMetricDataResponse(),
732
- self.execute(params, req, runtime)
733
- )
664
+ return TeaCore.from_map(
665
+ ehpc_instant_20230701_models.DescribeJobMetricDataResponse(),
666
+ self.call_api(params, req, runtime)
667
+ )
734
668
 
735
669
  async def describe_job_metric_data_with_options_async(
736
670
  self,
@@ -772,16 +706,10 @@ class Client(OpenApiClient):
772
706
  req_body_type='formData',
773
707
  body_type='json'
774
708
  )
775
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
776
- return TeaCore.from_map(
777
- ehpc_instant_20230701_models.DescribeJobMetricDataResponse(),
778
- await self.call_api_async(params, req, runtime)
779
- )
780
- else:
781
- return TeaCore.from_map(
782
- ehpc_instant_20230701_models.DescribeJobMetricDataResponse(),
783
- await self.execute_async(params, req, runtime)
784
- )
709
+ return TeaCore.from_map(
710
+ ehpc_instant_20230701_models.DescribeJobMetricDataResponse(),
711
+ await self.call_api_async(params, req, runtime)
712
+ )
785
713
 
786
714
  def describe_job_metric_data(
787
715
  self,
@@ -847,16 +775,10 @@ class Client(OpenApiClient):
847
775
  req_body_type='formData',
848
776
  body_type='json'
849
777
  )
850
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
851
- return TeaCore.from_map(
852
- ehpc_instant_20230701_models.DescribeJobMetricLastResponse(),
853
- self.call_api(params, req, runtime)
854
- )
855
- else:
856
- return TeaCore.from_map(
857
- ehpc_instant_20230701_models.DescribeJobMetricLastResponse(),
858
- self.execute(params, req, runtime)
859
- )
778
+ return TeaCore.from_map(
779
+ ehpc_instant_20230701_models.DescribeJobMetricLastResponse(),
780
+ self.call_api(params, req, runtime)
781
+ )
860
782
 
861
783
  async def describe_job_metric_last_with_options_async(
862
784
  self,
@@ -896,16 +818,10 @@ class Client(OpenApiClient):
896
818
  req_body_type='formData',
897
819
  body_type='json'
898
820
  )
899
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
900
- return TeaCore.from_map(
901
- ehpc_instant_20230701_models.DescribeJobMetricLastResponse(),
902
- await self.call_api_async(params, req, runtime)
903
- )
904
- else:
905
- return TeaCore.from_map(
906
- ehpc_instant_20230701_models.DescribeJobMetricLastResponse(),
907
- await self.execute_async(params, req, runtime)
908
- )
821
+ return TeaCore.from_map(
822
+ ehpc_instant_20230701_models.DescribeJobMetricLastResponse(),
823
+ await self.call_api_async(params, req, runtime)
824
+ )
909
825
 
910
826
  def describe_job_metric_last(
911
827
  self,
@@ -971,16 +887,10 @@ class Client(OpenApiClient):
971
887
  req_body_type='formData',
972
888
  body_type='json'
973
889
  )
974
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
975
- return TeaCore.from_map(
976
- ehpc_instant_20230701_models.GetAppVersionsResponse(),
977
- self.call_api(params, req, runtime)
978
- )
979
- else:
980
- return TeaCore.from_map(
981
- ehpc_instant_20230701_models.GetAppVersionsResponse(),
982
- self.execute(params, req, runtime)
983
- )
890
+ return TeaCore.from_map(
891
+ ehpc_instant_20230701_models.GetAppVersionsResponse(),
892
+ self.call_api(params, req, runtime)
893
+ )
984
894
 
985
895
  async def get_app_versions_with_options_async(
986
896
  self,
@@ -1020,16 +930,10 @@ class Client(OpenApiClient):
1020
930
  req_body_type='formData',
1021
931
  body_type='json'
1022
932
  )
1023
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1024
- return TeaCore.from_map(
1025
- ehpc_instant_20230701_models.GetAppVersionsResponse(),
1026
- await self.call_api_async(params, req, runtime)
1027
- )
1028
- else:
1029
- return TeaCore.from_map(
1030
- ehpc_instant_20230701_models.GetAppVersionsResponse(),
1031
- await self.execute_async(params, req, runtime)
1032
- )
933
+ return TeaCore.from_map(
934
+ ehpc_instant_20230701_models.GetAppVersionsResponse(),
935
+ await self.call_api_async(params, req, runtime)
936
+ )
1033
937
 
1034
938
  def get_app_versions(
1035
939
  self,
@@ -1091,16 +995,10 @@ class Client(OpenApiClient):
1091
995
  req_body_type='formData',
1092
996
  body_type='json'
1093
997
  )
1094
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1095
- return TeaCore.from_map(
1096
- ehpc_instant_20230701_models.GetImageResponse(),
1097
- self.call_api(params, req, runtime)
1098
- )
1099
- else:
1100
- return TeaCore.from_map(
1101
- ehpc_instant_20230701_models.GetImageResponse(),
1102
- self.execute(params, req, runtime)
1103
- )
998
+ return TeaCore.from_map(
999
+ ehpc_instant_20230701_models.GetImageResponse(),
1000
+ self.call_api(params, req, runtime)
1001
+ )
1104
1002
 
1105
1003
  async def get_image_with_options_async(
1106
1004
  self,
@@ -1136,16 +1034,10 @@ class Client(OpenApiClient):
1136
1034
  req_body_type='formData',
1137
1035
  body_type='json'
1138
1036
  )
1139
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1140
- return TeaCore.from_map(
1141
- ehpc_instant_20230701_models.GetImageResponse(),
1142
- await self.call_api_async(params, req, runtime)
1143
- )
1144
- else:
1145
- return TeaCore.from_map(
1146
- ehpc_instant_20230701_models.GetImageResponse(),
1147
- await self.execute_async(params, req, runtime)
1148
- )
1037
+ return TeaCore.from_map(
1038
+ ehpc_instant_20230701_models.GetImageResponse(),
1039
+ await self.call_api_async(params, req, runtime)
1040
+ )
1149
1041
 
1150
1042
  def get_image(
1151
1043
  self,
@@ -1203,16 +1095,10 @@ class Client(OpenApiClient):
1203
1095
  req_body_type='formData',
1204
1096
  body_type='json'
1205
1097
  )
1206
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1207
- return TeaCore.from_map(
1208
- ehpc_instant_20230701_models.GetJobResponse(),
1209
- self.call_api(params, req, runtime)
1210
- )
1211
- else:
1212
- return TeaCore.from_map(
1213
- ehpc_instant_20230701_models.GetJobResponse(),
1214
- self.execute(params, req, runtime)
1215
- )
1098
+ return TeaCore.from_map(
1099
+ ehpc_instant_20230701_models.GetJobResponse(),
1100
+ self.call_api(params, req, runtime)
1101
+ )
1216
1102
 
1217
1103
  async def get_job_with_options_async(
1218
1104
  self,
@@ -1244,16 +1130,10 @@ class Client(OpenApiClient):
1244
1130
  req_body_type='formData',
1245
1131
  body_type='json'
1246
1132
  )
1247
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1248
- return TeaCore.from_map(
1249
- ehpc_instant_20230701_models.GetJobResponse(),
1250
- await self.call_api_async(params, req, runtime)
1251
- )
1252
- else:
1253
- return TeaCore.from_map(
1254
- ehpc_instant_20230701_models.GetJobResponse(),
1255
- await self.execute_async(params, req, runtime)
1256
- )
1133
+ return TeaCore.from_map(
1134
+ ehpc_instant_20230701_models.GetJobResponse(),
1135
+ await self.call_api_async(params, req, runtime)
1136
+ )
1257
1137
 
1258
1138
  def get_job(
1259
1139
  self,
@@ -1311,16 +1191,10 @@ class Client(OpenApiClient):
1311
1191
  req_body_type='formData',
1312
1192
  body_type='json'
1313
1193
  )
1314
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1315
- return TeaCore.from_map(
1316
- ehpc_instant_20230701_models.GetPoolResponse(),
1317
- self.call_api(params, req, runtime)
1318
- )
1319
- else:
1320
- return TeaCore.from_map(
1321
- ehpc_instant_20230701_models.GetPoolResponse(),
1322
- self.execute(params, req, runtime)
1323
- )
1194
+ return TeaCore.from_map(
1195
+ ehpc_instant_20230701_models.GetPoolResponse(),
1196
+ self.call_api(params, req, runtime)
1197
+ )
1324
1198
 
1325
1199
  async def get_pool_with_options_async(
1326
1200
  self,
@@ -1352,16 +1226,10 @@ class Client(OpenApiClient):
1352
1226
  req_body_type='formData',
1353
1227
  body_type='json'
1354
1228
  )
1355
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1356
- return TeaCore.from_map(
1357
- ehpc_instant_20230701_models.GetPoolResponse(),
1358
- await self.call_api_async(params, req, runtime)
1359
- )
1360
- else:
1361
- return TeaCore.from_map(
1362
- ehpc_instant_20230701_models.GetPoolResponse(),
1363
- await self.execute_async(params, req, runtime)
1364
- )
1229
+ return TeaCore.from_map(
1230
+ ehpc_instant_20230701_models.GetPoolResponse(),
1231
+ await self.call_api_async(params, req, runtime)
1232
+ )
1365
1233
 
1366
1234
  def get_pool(
1367
1235
  self,
@@ -1427,16 +1295,10 @@ class Client(OpenApiClient):
1427
1295
  req_body_type='formData',
1428
1296
  body_type='json'
1429
1297
  )
1430
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1431
- return TeaCore.from_map(
1432
- ehpc_instant_20230701_models.ListExecutorsResponse(),
1433
- self.call_api(params, req, runtime)
1434
- )
1435
- else:
1436
- return TeaCore.from_map(
1437
- ehpc_instant_20230701_models.ListExecutorsResponse(),
1438
- self.execute(params, req, runtime)
1439
- )
1298
+ return TeaCore.from_map(
1299
+ ehpc_instant_20230701_models.ListExecutorsResponse(),
1300
+ self.call_api(params, req, runtime)
1301
+ )
1440
1302
 
1441
1303
  async def list_executors_with_options_async(
1442
1304
  self,
@@ -1476,16 +1338,10 @@ class Client(OpenApiClient):
1476
1338
  req_body_type='formData',
1477
1339
  body_type='json'
1478
1340
  )
1479
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1480
- return TeaCore.from_map(
1481
- ehpc_instant_20230701_models.ListExecutorsResponse(),
1482
- await self.call_api_async(params, req, runtime)
1483
- )
1484
- else:
1485
- return TeaCore.from_map(
1486
- ehpc_instant_20230701_models.ListExecutorsResponse(),
1487
- await self.execute_async(params, req, runtime)
1488
- )
1341
+ return TeaCore.from_map(
1342
+ ehpc_instant_20230701_models.ListExecutorsResponse(),
1343
+ await self.call_api_async(params, req, runtime)
1344
+ )
1489
1345
 
1490
1346
  def list_executors(
1491
1347
  self,
@@ -1561,16 +1417,10 @@ class Client(OpenApiClient):
1561
1417
  req_body_type='formData',
1562
1418
  body_type='json'
1563
1419
  )
1564
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1565
- return TeaCore.from_map(
1566
- ehpc_instant_20230701_models.ListImagesResponse(),
1567
- self.call_api(params, req, runtime)
1568
- )
1569
- else:
1570
- return TeaCore.from_map(
1571
- ehpc_instant_20230701_models.ListImagesResponse(),
1572
- self.execute(params, req, runtime)
1573
- )
1420
+ return TeaCore.from_map(
1421
+ ehpc_instant_20230701_models.ListImagesResponse(),
1422
+ self.call_api(params, req, runtime)
1423
+ )
1574
1424
 
1575
1425
  async def list_images_with_options_async(
1576
1426
  self,
@@ -1620,16 +1470,10 @@ class Client(OpenApiClient):
1620
1470
  req_body_type='formData',
1621
1471
  body_type='json'
1622
1472
  )
1623
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1624
- return TeaCore.from_map(
1625
- ehpc_instant_20230701_models.ListImagesResponse(),
1626
- await self.call_api_async(params, req, runtime)
1627
- )
1628
- else:
1629
- return TeaCore.from_map(
1630
- ehpc_instant_20230701_models.ListImagesResponse(),
1631
- await self.execute_async(params, req, runtime)
1632
- )
1473
+ return TeaCore.from_map(
1474
+ ehpc_instant_20230701_models.ListImagesResponse(),
1475
+ await self.call_api_async(params, req, runtime)
1476
+ )
1633
1477
 
1634
1478
  def list_images(
1635
1479
  self,
@@ -1693,16 +1537,10 @@ class Client(OpenApiClient):
1693
1537
  req_body_type='formData',
1694
1538
  body_type='json'
1695
1539
  )
1696
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1697
- return TeaCore.from_map(
1698
- ehpc_instant_20230701_models.ListJobExecutorsResponse(),
1699
- self.call_api(params, req, runtime)
1700
- )
1701
- else:
1702
- return TeaCore.from_map(
1703
- ehpc_instant_20230701_models.ListJobExecutorsResponse(),
1704
- self.execute(params, req, runtime)
1705
- )
1540
+ return TeaCore.from_map(
1541
+ ehpc_instant_20230701_models.ListJobExecutorsResponse(),
1542
+ self.call_api(params, req, runtime)
1543
+ )
1706
1544
 
1707
1545
  async def list_job_executors_with_options_async(
1708
1546
  self,
@@ -1740,16 +1578,10 @@ class Client(OpenApiClient):
1740
1578
  req_body_type='formData',
1741
1579
  body_type='json'
1742
1580
  )
1743
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1744
- return TeaCore.from_map(
1745
- ehpc_instant_20230701_models.ListJobExecutorsResponse(),
1746
- await self.call_api_async(params, req, runtime)
1747
- )
1748
- else:
1749
- return TeaCore.from_map(
1750
- ehpc_instant_20230701_models.ListJobExecutorsResponse(),
1751
- await self.execute_async(params, req, runtime)
1752
- )
1581
+ return TeaCore.from_map(
1582
+ ehpc_instant_20230701_models.ListJobExecutorsResponse(),
1583
+ await self.call_api_async(params, req, runtime)
1584
+ )
1753
1585
 
1754
1586
  def list_job_executors(
1755
1587
  self,
@@ -1819,16 +1651,10 @@ class Client(OpenApiClient):
1819
1651
  req_body_type='formData',
1820
1652
  body_type='json'
1821
1653
  )
1822
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1823
- return TeaCore.from_map(
1824
- ehpc_instant_20230701_models.ListJobsResponse(),
1825
- self.call_api(params, req, runtime)
1826
- )
1827
- else:
1828
- return TeaCore.from_map(
1829
- ehpc_instant_20230701_models.ListJobsResponse(),
1830
- self.execute(params, req, runtime)
1831
- )
1654
+ return TeaCore.from_map(
1655
+ ehpc_instant_20230701_models.ListJobsResponse(),
1656
+ self.call_api(params, req, runtime)
1657
+ )
1832
1658
 
1833
1659
  async def list_jobs_with_options_async(
1834
1660
  self,
@@ -1872,16 +1698,10 @@ class Client(OpenApiClient):
1872
1698
  req_body_type='formData',
1873
1699
  body_type='json'
1874
1700
  )
1875
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1876
- return TeaCore.from_map(
1877
- ehpc_instant_20230701_models.ListJobsResponse(),
1878
- await self.call_api_async(params, req, runtime)
1879
- )
1880
- else:
1881
- return TeaCore.from_map(
1882
- ehpc_instant_20230701_models.ListJobsResponse(),
1883
- await self.execute_async(params, req, runtime)
1884
- )
1701
+ return TeaCore.from_map(
1702
+ ehpc_instant_20230701_models.ListJobsResponse(),
1703
+ await self.call_api_async(params, req, runtime)
1704
+ )
1885
1705
 
1886
1706
  def list_jobs(
1887
1707
  self,
@@ -1947,16 +1767,10 @@ class Client(OpenApiClient):
1947
1767
  req_body_type='formData',
1948
1768
  body_type='json'
1949
1769
  )
1950
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1951
- return TeaCore.from_map(
1952
- ehpc_instant_20230701_models.ListPoolsResponse(),
1953
- self.call_api(params, req, runtime)
1954
- )
1955
- else:
1956
- return TeaCore.from_map(
1957
- ehpc_instant_20230701_models.ListPoolsResponse(),
1958
- self.execute(params, req, runtime)
1959
- )
1770
+ return TeaCore.from_map(
1771
+ ehpc_instant_20230701_models.ListPoolsResponse(),
1772
+ self.call_api(params, req, runtime)
1773
+ )
1960
1774
 
1961
1775
  async def list_pools_with_options_async(
1962
1776
  self,
@@ -1996,16 +1810,10 @@ class Client(OpenApiClient):
1996
1810
  req_body_type='formData',
1997
1811
  body_type='json'
1998
1812
  )
1999
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2000
- return TeaCore.from_map(
2001
- ehpc_instant_20230701_models.ListPoolsResponse(),
2002
- await self.call_api_async(params, req, runtime)
2003
- )
2004
- else:
2005
- return TeaCore.from_map(
2006
- ehpc_instant_20230701_models.ListPoolsResponse(),
2007
- await self.execute_async(params, req, runtime)
2008
- )
1813
+ return TeaCore.from_map(
1814
+ ehpc_instant_20230701_models.ListPoolsResponse(),
1815
+ await self.call_api_async(params, req, runtime)
1816
+ )
2009
1817
 
2010
1818
  def list_pools(
2011
1819
  self,
@@ -2071,16 +1879,10 @@ class Client(OpenApiClient):
2071
1879
  req_body_type='formData',
2072
1880
  body_type='json'
2073
1881
  )
2074
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2075
- return TeaCore.from_map(
2076
- ehpc_instant_20230701_models.ListTagResourcesResponse(),
2077
- self.call_api(params, req, runtime)
2078
- )
2079
- else:
2080
- return TeaCore.from_map(
2081
- ehpc_instant_20230701_models.ListTagResourcesResponse(),
2082
- self.execute(params, req, runtime)
2083
- )
1882
+ return TeaCore.from_map(
1883
+ ehpc_instant_20230701_models.ListTagResourcesResponse(),
1884
+ self.call_api(params, req, runtime)
1885
+ )
2084
1886
 
2085
1887
  async def list_tag_resources_with_options_async(
2086
1888
  self,
@@ -2120,16 +1922,10 @@ class Client(OpenApiClient):
2120
1922
  req_body_type='formData',
2121
1923
  body_type='json'
2122
1924
  )
2123
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2124
- return TeaCore.from_map(
2125
- ehpc_instant_20230701_models.ListTagResourcesResponse(),
2126
- await self.call_api_async(params, req, runtime)
2127
- )
2128
- else:
2129
- return TeaCore.from_map(
2130
- ehpc_instant_20230701_models.ListTagResourcesResponse(),
2131
- await self.execute_async(params, req, runtime)
2132
- )
1925
+ return TeaCore.from_map(
1926
+ ehpc_instant_20230701_models.ListTagResourcesResponse(),
1927
+ await self.call_api_async(params, req, runtime)
1928
+ )
2133
1929
 
2134
1930
  def list_tag_resources(
2135
1931
  self,
@@ -2189,16 +1985,10 @@ class Client(OpenApiClient):
2189
1985
  req_body_type='formData',
2190
1986
  body_type='json'
2191
1987
  )
2192
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2193
- return TeaCore.from_map(
2194
- ehpc_instant_20230701_models.RemoveImageResponse(),
2195
- self.call_api(params, req, runtime)
2196
- )
2197
- else:
2198
- return TeaCore.from_map(
2199
- ehpc_instant_20230701_models.RemoveImageResponse(),
2200
- self.execute(params, req, runtime)
2201
- )
1988
+ return TeaCore.from_map(
1989
+ ehpc_instant_20230701_models.RemoveImageResponse(),
1990
+ self.call_api(params, req, runtime)
1991
+ )
2202
1992
 
2203
1993
  async def remove_image_with_options_async(
2204
1994
  self,
@@ -2232,16 +2022,10 @@ class Client(OpenApiClient):
2232
2022
  req_body_type='formData',
2233
2023
  body_type='json'
2234
2024
  )
2235
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2236
- return TeaCore.from_map(
2237
- ehpc_instant_20230701_models.RemoveImageResponse(),
2238
- await self.call_api_async(params, req, runtime)
2239
- )
2240
- else:
2241
- return TeaCore.from_map(
2242
- ehpc_instant_20230701_models.RemoveImageResponse(),
2243
- await self.execute_async(params, req, runtime)
2244
- )
2025
+ return TeaCore.from_map(
2026
+ ehpc_instant_20230701_models.RemoveImageResponse(),
2027
+ await self.call_api_async(params, req, runtime)
2028
+ )
2245
2029
 
2246
2030
  def remove_image(
2247
2031
  self,
@@ -2303,16 +2087,10 @@ class Client(OpenApiClient):
2303
2087
  req_body_type='formData',
2304
2088
  body_type='json'
2305
2089
  )
2306
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2307
- return TeaCore.from_map(
2308
- ehpc_instant_20230701_models.TagResourcesResponse(),
2309
- self.call_api(params, req, runtime)
2310
- )
2311
- else:
2312
- return TeaCore.from_map(
2313
- ehpc_instant_20230701_models.TagResourcesResponse(),
2314
- self.execute(params, req, runtime)
2315
- )
2090
+ return TeaCore.from_map(
2091
+ ehpc_instant_20230701_models.TagResourcesResponse(),
2092
+ self.call_api(params, req, runtime)
2093
+ )
2316
2094
 
2317
2095
  async def tag_resources_with_options_async(
2318
2096
  self,
@@ -2348,16 +2126,10 @@ class Client(OpenApiClient):
2348
2126
  req_body_type='formData',
2349
2127
  body_type='json'
2350
2128
  )
2351
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2352
- return TeaCore.from_map(
2353
- ehpc_instant_20230701_models.TagResourcesResponse(),
2354
- await self.call_api_async(params, req, runtime)
2355
- )
2356
- else:
2357
- return TeaCore.from_map(
2358
- ehpc_instant_20230701_models.TagResourcesResponse(),
2359
- await self.execute_async(params, req, runtime)
2360
- )
2129
+ return TeaCore.from_map(
2130
+ ehpc_instant_20230701_models.TagResourcesResponse(),
2131
+ await self.call_api_async(params, req, runtime)
2132
+ )
2361
2133
 
2362
2134
  def tag_resources(
2363
2135
  self,
@@ -2421,16 +2193,10 @@ class Client(OpenApiClient):
2421
2193
  req_body_type='formData',
2422
2194
  body_type='json'
2423
2195
  )
2424
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2425
- return TeaCore.from_map(
2426
- ehpc_instant_20230701_models.UnTagResourcesResponse(),
2427
- self.call_api(params, req, runtime)
2428
- )
2429
- else:
2430
- return TeaCore.from_map(
2431
- ehpc_instant_20230701_models.UnTagResourcesResponse(),
2432
- self.execute(params, req, runtime)
2433
- )
2196
+ return TeaCore.from_map(
2197
+ ehpc_instant_20230701_models.UnTagResourcesResponse(),
2198
+ self.call_api(params, req, runtime)
2199
+ )
2434
2200
 
2435
2201
  async def un_tag_resources_with_options_async(
2436
2202
  self,
@@ -2468,16 +2234,10 @@ class Client(OpenApiClient):
2468
2234
  req_body_type='formData',
2469
2235
  body_type='json'
2470
2236
  )
2471
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2472
- return TeaCore.from_map(
2473
- ehpc_instant_20230701_models.UnTagResourcesResponse(),
2474
- await self.call_api_async(params, req, runtime)
2475
- )
2476
- else:
2477
- return TeaCore.from_map(
2478
- ehpc_instant_20230701_models.UnTagResourcesResponse(),
2479
- await self.execute_async(params, req, runtime)
2480
- )
2237
+ return TeaCore.from_map(
2238
+ ehpc_instant_20230701_models.UnTagResourcesResponse(),
2239
+ await self.call_api_async(params, req, runtime)
2240
+ )
2481
2241
 
2482
2242
  def un_tag_resources(
2483
2243
  self,
@@ -2543,16 +2303,10 @@ class Client(OpenApiClient):
2543
2303
  req_body_type='formData',
2544
2304
  body_type='json'
2545
2305
  )
2546
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2547
- return TeaCore.from_map(
2548
- ehpc_instant_20230701_models.UpdatePoolResponse(),
2549
- self.call_api(params, req, runtime)
2550
- )
2551
- else:
2552
- return TeaCore.from_map(
2553
- ehpc_instant_20230701_models.UpdatePoolResponse(),
2554
- self.execute(params, req, runtime)
2555
- )
2306
+ return TeaCore.from_map(
2307
+ ehpc_instant_20230701_models.UpdatePoolResponse(),
2308
+ self.call_api(params, req, runtime)
2309
+ )
2556
2310
 
2557
2311
  async def update_pool_with_options_async(
2558
2312
  self,
@@ -2592,16 +2346,10 @@ class Client(OpenApiClient):
2592
2346
  req_body_type='formData',
2593
2347
  body_type='json'
2594
2348
  )
2595
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2596
- return TeaCore.from_map(
2597
- ehpc_instant_20230701_models.UpdatePoolResponse(),
2598
- await self.call_api_async(params, req, runtime)
2599
- )
2600
- else:
2601
- return TeaCore.from_map(
2602
- ehpc_instant_20230701_models.UpdatePoolResponse(),
2603
- await self.execute_async(params, req, runtime)
2604
- )
2349
+ return TeaCore.from_map(
2350
+ ehpc_instant_20230701_models.UpdatePoolResponse(),
2351
+ await self.call_api_async(params, req, runtime)
2352
+ )
2605
2353
 
2606
2354
  def update_pool(
2607
2355
  self,
@@ -3252,6 +3252,7 @@ class GetJobResponseBodyJobInfoTasks(TeaModel):
3252
3252
  class GetJobResponseBodyJobInfo(TeaModel):
3253
3253
  def __init__(
3254
3254
  self,
3255
+ app_extra_info: str = None,
3255
3256
  create_time: str = None,
3256
3257
  deployment_policy: GetJobResponseBodyJobInfoDeploymentPolicy = None,
3257
3258
  end_time: str = None,
@@ -3263,6 +3264,7 @@ class GetJobResponseBodyJobInfo(TeaModel):
3263
3264
  status: str = None,
3264
3265
  tasks: List[GetJobResponseBodyJobInfoTasks] = None,
3265
3266
  ):
3267
+ self.app_extra_info = app_extra_info
3266
3268
  self.create_time = create_time
3267
3269
  self.deployment_policy = deployment_policy
3268
3270
  self.end_time = end_time
@@ -3288,6 +3290,8 @@ class GetJobResponseBodyJobInfo(TeaModel):
3288
3290
  return _map
3289
3291
 
3290
3292
  result = dict()
3293
+ if self.app_extra_info is not None:
3294
+ result['AppExtraInfo'] = self.app_extra_info
3291
3295
  if self.create_time is not None:
3292
3296
  result['CreateTime'] = self.create_time
3293
3297
  if self.deployment_policy is not None:
@@ -3314,6 +3318,8 @@ class GetJobResponseBodyJobInfo(TeaModel):
3314
3318
 
3315
3319
  def from_map(self, m: dict = None):
3316
3320
  m = m or dict()
3321
+ if m.get('AppExtraInfo') is not None:
3322
+ self.app_extra_info = m.get('AppExtraInfo')
3317
3323
  if m.get('CreateTime') is not None:
3318
3324
  self.create_time = m.get('CreateTime')
3319
3325
  if m.get('DeploymentPolicy') is not None:
@@ -5005,6 +5011,7 @@ class ListJobsResponseBodyJobListTags(TeaModel):
5005
5011
  class ListJobsResponseBodyJobList(TeaModel):
5006
5012
  def __init__(
5007
5013
  self,
5014
+ app_extra_info: str = None,
5008
5015
  app_name: str = None,
5009
5016
  create_time: str = None,
5010
5017
  end_time: str = None,
@@ -5019,6 +5026,7 @@ class ListJobsResponseBodyJobList(TeaModel):
5019
5026
  task_count: int = None,
5020
5027
  task_sustainable: bool = None,
5021
5028
  ):
5029
+ self.app_extra_info = app_extra_info
5022
5030
  self.app_name = app_name
5023
5031
  self.create_time = create_time
5024
5032
  self.end_time = end_time
@@ -5045,6 +5053,8 @@ class ListJobsResponseBodyJobList(TeaModel):
5045
5053
  return _map
5046
5054
 
5047
5055
  result = dict()
5056
+ if self.app_extra_info is not None:
5057
+ result['AppExtraInfo'] = self.app_extra_info
5048
5058
  if self.app_name is not None:
5049
5059
  result['AppName'] = self.app_name
5050
5060
  if self.create_time is not None:
@@ -5077,6 +5087,8 @@ class ListJobsResponseBodyJobList(TeaModel):
5077
5087
 
5078
5088
  def from_map(self, m: dict = None):
5079
5089
  m = m or dict()
5090
+ if m.get('AppExtraInfo') is not None:
5091
+ self.app_extra_info = m.get('AppExtraInfo')
5080
5092
  if m.get('AppName') is not None:
5081
5093
  self.app_name = m.get('AppName')
5082
5094
  if m.get('CreateTime') is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-ehpcinstant20230701
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: Alibaba Cloud EhpcInstant (20230701) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -1,4 +1,4 @@
1
1
  alibabacloud_endpoint_util<1.0.0,>=0.0.3
2
2
  alibabacloud_openapi_util<1.0.0,>=0.2.2
3
- alibabacloud_tea_openapi<1.0.0,>=0.3.12
3
+ alibabacloud_tea_openapi<1.0.0,>=0.3.15
4
4
  alibabacloud_tea_util<1.0.0,>=0.3.13
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_ehpcinstant20230701.
26
26
 
27
- Created on 31/03/2025
27
+ Created on 09/05/2025
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -38,7 +38,7 @@ URL = "https://github.com/aliyun/alibabacloud-python-sdk"
38
38
  VERSION = __import__(PACKAGE).__version__
39
39
  REQUIRES = [
40
40
  "alibabacloud_tea_util>=0.3.13, <1.0.0",
41
- "alibabacloud_tea_openapi>=0.3.12, <1.0.0",
41
+ "alibabacloud_tea_openapi>=0.3.15, <1.0.0",
42
42
  "alibabacloud_openapi_util>=0.2.2, <1.0.0",
43
43
  "alibabacloud_endpoint_util>=0.0.3, <1.0.0"
44
44
  ]