huaweicloudsdkeihealth 3.1.107__py2.py3-none-any.whl → 3.1.109__py2.py3-none-any.whl

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.
Files changed (57) hide show
  1. huaweicloudsdkeihealth/v1/__init__.py +31 -0
  2. huaweicloudsdkeihealth/v1/eihealth_async_client.py +543 -0
  3. huaweicloudsdkeihealth/v1/eihealth_client.py +543 -0
  4. huaweicloudsdkeihealth/v1/model/__init__.py +31 -0
  5. huaweicloudsdkeihealth/v1/model/base_model.py +142 -0
  6. huaweicloudsdkeihealth/v1/model/base_model_dto.py +231 -0
  7. huaweicloudsdkeihealth/v1/model/bind_site_dto.py +3 -3
  8. huaweicloudsdkeihealth/v1/model/cpi_receptor.py +226 -0
  9. huaweicloudsdkeihealth/v1/model/create_admet_job_req.py +61 -3
  10. huaweicloudsdkeihealth/v1/model/create_cpi_job_req.py +166 -0
  11. huaweicloudsdkeihealth/v1/model/create_cpi_job_request.py +139 -0
  12. huaweicloudsdkeihealth/v1/model/create_cpi_job_response.py +145 -0
  13. huaweicloudsdkeihealth/v1/model/create_dock_job_req.py +32 -3
  14. huaweicloudsdkeihealth/v1/model/create_drug_ligand_interaction2d_svg_req.py +32 -3
  15. huaweicloudsdkeihealth/v1/model/create_gen_job_req.py +338 -0
  16. huaweicloudsdkeihealth/v1/model/create_gen_job_request.py +139 -0
  17. huaweicloudsdkeihealth/v1/model/create_gen_job_response.py +145 -0
  18. huaweicloudsdkeihealth/v1/model/create_ligand_preview_task_req.py +32 -3
  19. huaweicloudsdkeihealth/v1/model/create_model_req.py +32 -3
  20. huaweicloudsdkeihealth/v1/model/create_optm_job_req.py +30 -1
  21. huaweicloudsdkeihealth/v1/model/create_target_opt_job_req.py +184 -0
  22. huaweicloudsdkeihealth/v1/model/create_target_opt_job_request.py +139 -0
  23. huaweicloudsdkeihealth/v1/model/create_target_opt_job_response.py +145 -0
  24. huaweicloudsdkeihealth/v1/model/fasta_receptor.py +197 -0
  25. huaweicloudsdkeihealth/v1/model/interaction.py +166 -0
  26. huaweicloudsdkeihealth/v1/model/interaction_constraint_dto.py +167 -0
  27. huaweicloudsdkeihealth/v1/model/interaction_type.py +91 -0
  28. huaweicloudsdkeihealth/v1/model/list_base_model_request.py +202 -0
  29. huaweicloudsdkeihealth/v1/model/list_base_model_response.py +145 -0
  30. huaweicloudsdkeihealth/v1/model/list_drug_model_request.py +35 -6
  31. huaweicloudsdkeihealth/v1/model/md_param.py +169 -0
  32. huaweicloudsdkeihealth/v1/model/md_step_param.py +202 -0
  33. huaweicloudsdkeihealth/v1/model/model_dto.py +61 -3
  34. huaweicloudsdkeihealth/v1/model/pocket_fragment.py +30 -1
  35. huaweicloudsdkeihealth/v1/model/run_fasta_preprocess_req.py +168 -0
  36. huaweicloudsdkeihealth/v1/model/run_fasta_preprocess_request.py +139 -0
  37. huaweicloudsdkeihealth/v1/model/run_fasta_preprocess_response.py +145 -0
  38. huaweicloudsdkeihealth/v1/model/show_admet_job_response.py +57 -3
  39. huaweicloudsdkeihealth/v1/model/show_cpi_job_request.py +142 -0
  40. huaweicloudsdkeihealth/v1/model/show_cpi_job_response.py +170 -0
  41. huaweicloudsdkeihealth/v1/model/show_docking_job_response.py +30 -1
  42. huaweicloudsdkeihealth/v1/model/show_gen_job_request.py +142 -0
  43. huaweicloudsdkeihealth/v1/model/show_gen_job_response.py +365 -0
  44. huaweicloudsdkeihealth/v1/model/show_optm_job_response.py +26 -1
  45. huaweicloudsdkeihealth/v1/model/show_target_opt_job_request.py +142 -0
  46. huaweicloudsdkeihealth/v1/model/show_target_opt_job_response.py +187 -0
  47. huaweicloudsdkeihealth/v1/model/strong_constraint_dto.py +28 -3
  48. huaweicloudsdkeihealth/v1/model/strong_constraint_type.py +1 -0
  49. huaweicloudsdkeihealth/v1/model/target_opt_ligand.py +139 -0
  50. huaweicloudsdkeihealth/v1/model/target_opt_receptor.py +255 -0
  51. huaweicloudsdkeihealth/v1/model/weak_constraint_dto.py +28 -3
  52. huaweicloudsdkeihealth/v1/model/weak_constraint_type.py +1 -0
  53. {huaweicloudsdkeihealth-3.1.107.dist-info → huaweicloudsdkeihealth-3.1.109.dist-info}/METADATA +2 -2
  54. {huaweicloudsdkeihealth-3.1.107.dist-info → huaweicloudsdkeihealth-3.1.109.dist-info}/RECORD +57 -26
  55. {huaweicloudsdkeihealth-3.1.107.dist-info → huaweicloudsdkeihealth-3.1.109.dist-info}/WHEEL +1 -1
  56. {huaweicloudsdkeihealth-3.1.107.dist-info → huaweicloudsdkeihealth-3.1.109.dist-info}/LICENSE +0 -0
  57. {huaweicloudsdkeihealth-3.1.107.dist-info → huaweicloudsdkeihealth-3.1.109.dist-info}/top_level.txt +0 -0
@@ -2298,6 +2298,73 @@ class EiHealthClient(Client):
2298
2298
 
2299
2299
  return http_info
2300
2300
 
2301
+ def create_gen_job(self, request):
2302
+ """创建分子生成作业
2303
+
2304
+ 创建分子生成作业
2305
+
2306
+ Please refer to HUAWEI cloud API Explorer for details.
2307
+
2308
+ :param request: Request instance for CreateGenJob
2309
+ :type request: :class:`huaweicloudsdkeihealth.v1.CreateGenJobRequest`
2310
+ :rtype: :class:`huaweicloudsdkeihealth.v1.CreateGenJobResponse`
2311
+ """
2312
+ http_info = self._create_gen_job_http_info(request)
2313
+ return self._call_api(**http_info)
2314
+
2315
+ def create_gen_job_invoker(self, request):
2316
+ http_info = self._create_gen_job_http_info(request)
2317
+ return SyncInvoker(self, http_info)
2318
+
2319
+ @classmethod
2320
+ def _create_gen_job_http_info(cls, request):
2321
+ http_info = {
2322
+ "method": "POST",
2323
+ "resource_path": "/v1/{project_id}/eihealth-projects/{eihealth_project_id}/drug-jobs/generation",
2324
+ "request_type": request.__class__.__name__,
2325
+ "response_type": "CreateGenJobResponse"
2326
+ }
2327
+
2328
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2329
+
2330
+ cname = None
2331
+
2332
+ collection_formats = {}
2333
+
2334
+ path_params = {}
2335
+ if 'eihealth_project_id' in local_var_params:
2336
+ path_params['eihealth_project_id'] = local_var_params['eihealth_project_id']
2337
+
2338
+ query_params = []
2339
+
2340
+ header_params = {}
2341
+
2342
+ form_params = {}
2343
+
2344
+ body = None
2345
+ if 'body' in local_var_params:
2346
+ body = local_var_params['body']
2347
+ if isinstance(request, SdkStreamRequest):
2348
+ body = request.get_file_stream()
2349
+
2350
+ response_headers = []
2351
+
2352
+ header_params['Content-Type'] = http_utils.select_header_content_type(
2353
+ ['application/json'])
2354
+
2355
+ auth_settings = []
2356
+
2357
+ http_info["cname"] = cname
2358
+ http_info["collection_formats"] = collection_formats
2359
+ http_info["path_params"] = path_params
2360
+ http_info["query_params"] = query_params
2361
+ http_info["header_params"] = header_params
2362
+ http_info["post_params"] = form_params
2363
+ http_info["body"] = body
2364
+ http_info["response_headers"] = response_headers
2365
+
2366
+ return http_info
2367
+
2301
2368
  def create_image(self, request):
2302
2369
  """创建镜像
2303
2370
 
@@ -3297,6 +3364,73 @@ class EiHealthClient(Client):
3297
3364
 
3298
3365
  return http_info
3299
3366
 
3367
+ def create_target_opt_job(self, request):
3368
+ """创建靶点优化作业
3369
+
3370
+ 创建靶点优化作业
3371
+
3372
+ Please refer to HUAWEI cloud API Explorer for details.
3373
+
3374
+ :param request: Request instance for CreateTargetOptJob
3375
+ :type request: :class:`huaweicloudsdkeihealth.v1.CreateTargetOptJobRequest`
3376
+ :rtype: :class:`huaweicloudsdkeihealth.v1.CreateTargetOptJobResponse`
3377
+ """
3378
+ http_info = self._create_target_opt_job_http_info(request)
3379
+ return self._call_api(**http_info)
3380
+
3381
+ def create_target_opt_job_invoker(self, request):
3382
+ http_info = self._create_target_opt_job_http_info(request)
3383
+ return SyncInvoker(self, http_info)
3384
+
3385
+ @classmethod
3386
+ def _create_target_opt_job_http_info(cls, request):
3387
+ http_info = {
3388
+ "method": "POST",
3389
+ "resource_path": "/v1/{project_id}/eihealth-projects/{eihealth_project_id}/drug-jobs/target-optimization",
3390
+ "request_type": request.__class__.__name__,
3391
+ "response_type": "CreateTargetOptJobResponse"
3392
+ }
3393
+
3394
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
3395
+
3396
+ cname = None
3397
+
3398
+ collection_formats = {}
3399
+
3400
+ path_params = {}
3401
+ if 'eihealth_project_id' in local_var_params:
3402
+ path_params['eihealth_project_id'] = local_var_params['eihealth_project_id']
3403
+
3404
+ query_params = []
3405
+
3406
+ header_params = {}
3407
+
3408
+ form_params = {}
3409
+
3410
+ body = None
3411
+ if 'body' in local_var_params:
3412
+ body = local_var_params['body']
3413
+ if isinstance(request, SdkStreamRequest):
3414
+ body = request.get_file_stream()
3415
+
3416
+ response_headers = []
3417
+
3418
+ header_params['Content-Type'] = http_utils.select_header_content_type(
3419
+ ['application/json'])
3420
+
3421
+ auth_settings = []
3422
+
3423
+ http_info["cname"] = cname
3424
+ http_info["collection_formats"] = collection_formats
3425
+ http_info["path_params"] = path_params
3426
+ http_info["query_params"] = query_params
3427
+ http_info["header_params"] = header_params
3428
+ http_info["post_params"] = form_params
3429
+ http_info["body"] = body
3430
+ http_info["response_headers"] = response_headers
3431
+
3432
+ return http_info
3433
+
3300
3434
  def create_template(self, request):
3301
3435
  """创建模板
3302
3436
 
@@ -6586,6 +6720,77 @@ class EiHealthClient(Client):
6586
6720
 
6587
6721
  return http_info
6588
6722
 
6723
+ def list_base_model(self, request):
6724
+ """获取基模型列表
6725
+
6726
+ 获取基模型列表
6727
+
6728
+ Please refer to HUAWEI cloud API Explorer for details.
6729
+
6730
+ :param request: Request instance for ListBaseModel
6731
+ :type request: :class:`huaweicloudsdkeihealth.v1.ListBaseModelRequest`
6732
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ListBaseModelResponse`
6733
+ """
6734
+ http_info = self._list_base_model_http_info(request)
6735
+ return self._call_api(**http_info)
6736
+
6737
+ def list_base_model_invoker(self, request):
6738
+ http_info = self._list_base_model_http_info(request)
6739
+ return SyncInvoker(self, http_info)
6740
+
6741
+ @classmethod
6742
+ def _list_base_model_http_info(cls, request):
6743
+ http_info = {
6744
+ "method": "GET",
6745
+ "resource_path": "/v1/{project_id}/base-models",
6746
+ "request_type": request.__class__.__name__,
6747
+ "response_type": "ListBaseModelResponse"
6748
+ }
6749
+
6750
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
6751
+
6752
+ cname = None
6753
+
6754
+ collection_formats = {}
6755
+
6756
+ path_params = {}
6757
+
6758
+ query_params = []
6759
+ if 'limit' in local_var_params:
6760
+ query_params.append(('limit', local_var_params['limit']))
6761
+ if 'offset' in local_var_params:
6762
+ query_params.append(('offset', local_var_params['offset']))
6763
+ if 'sort_dir' in local_var_params:
6764
+ query_params.append(('sort_dir', local_var_params['sort_dir']))
6765
+ if 'sort_key' in local_var_params:
6766
+ query_params.append(('sort_key', local_var_params['sort_key']))
6767
+
6768
+ header_params = {}
6769
+
6770
+ form_params = {}
6771
+
6772
+ body = None
6773
+ if isinstance(request, SdkStreamRequest):
6774
+ body = request.get_file_stream()
6775
+
6776
+ response_headers = []
6777
+
6778
+ header_params['Content-Type'] = http_utils.select_header_content_type(
6779
+ ['application/json'])
6780
+
6781
+ auth_settings = []
6782
+
6783
+ http_info["cname"] = cname
6784
+ http_info["collection_formats"] = collection_formats
6785
+ http_info["path_params"] = path_params
6786
+ http_info["query_params"] = query_params
6787
+ http_info["header_params"] = header_params
6788
+ http_info["post_params"] = form_params
6789
+ http_info["body"] = body
6790
+ http_info["response_headers"] = response_headers
6791
+
6792
+ return http_info
6793
+
6589
6794
  def list_bucket(self, request):
6590
6795
  """获取桶列表
6591
6796
 
@@ -7512,6 +7717,9 @@ class EiHealthClient(Client):
7512
7717
  query_params.append(('limit', local_var_params['limit']))
7513
7718
  if 'offset' in local_var_params:
7514
7719
  query_params.append(('offset', local_var_params['offset']))
7720
+ if 'base_model_list' in local_var_params:
7721
+ query_params.append(('base_model_list', local_var_params['base_model_list']))
7722
+ collection_formats['base_model_list'] = 'csv'
7515
7723
 
7516
7724
  header_params = {}
7517
7725
 
@@ -10454,6 +10662,73 @@ class EiHealthClient(Client):
10454
10662
 
10455
10663
  return http_info
10456
10664
 
10665
+ def run_fasta_preprocess(self, request):
10666
+ """受体预处理(Fasta格式)
10667
+
10668
+ 受体预处理(Fasta格式),用于前端计算预期扣费次数
10669
+
10670
+ Please refer to HUAWEI cloud API Explorer for details.
10671
+
10672
+ :param request: Request instance for RunFastaPreprocess
10673
+ :type request: :class:`huaweicloudsdkeihealth.v1.RunFastaPreprocessRequest`
10674
+ :rtype: :class:`huaweicloudsdkeihealth.v1.RunFastaPreprocessResponse`
10675
+ """
10676
+ http_info = self._run_fasta_preprocess_http_info(request)
10677
+ return self._call_api(**http_info)
10678
+
10679
+ def run_fasta_preprocess_invoker(self, request):
10680
+ http_info = self._run_fasta_preprocess_http_info(request)
10681
+ return SyncInvoker(self, http_info)
10682
+
10683
+ @classmethod
10684
+ def _run_fasta_preprocess_http_info(cls, request):
10685
+ http_info = {
10686
+ "method": "POST",
10687
+ "resource_path": "/v1/{project_id}/eihealth-projects/{eihealth_project_id}/drug-common/receptor/fasta-preprocess",
10688
+ "request_type": request.__class__.__name__,
10689
+ "response_type": "RunFastaPreprocessResponse"
10690
+ }
10691
+
10692
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
10693
+
10694
+ cname = None
10695
+
10696
+ collection_formats = {}
10697
+
10698
+ path_params = {}
10699
+ if 'eihealth_project_id' in local_var_params:
10700
+ path_params['eihealth_project_id'] = local_var_params['eihealth_project_id']
10701
+
10702
+ query_params = []
10703
+
10704
+ header_params = {}
10705
+
10706
+ form_params = {}
10707
+
10708
+ body = None
10709
+ if 'body' in local_var_params:
10710
+ body = local_var_params['body']
10711
+ if isinstance(request, SdkStreamRequest):
10712
+ body = request.get_file_stream()
10713
+
10714
+ response_headers = []
10715
+
10716
+ header_params['Content-Type'] = http_utils.select_header_content_type(
10717
+ ['application/json'])
10718
+
10719
+ auth_settings = []
10720
+
10721
+ http_info["cname"] = cname
10722
+ http_info["collection_formats"] = collection_formats
10723
+ http_info["path_params"] = path_params
10724
+ http_info["query_params"] = query_params
10725
+ http_info["header_params"] = header_params
10726
+ http_info["post_params"] = form_params
10727
+ http_info["body"] = body
10728
+ http_info["response_headers"] = response_headers
10729
+
10730
+ return http_info
10731
+
10457
10732
  def show3d_structure_content(self, request):
10458
10733
  """获取生成study作业3D结构的内容
10459
10734
 
@@ -11652,6 +11927,73 @@ class EiHealthClient(Client):
11652
11927
 
11653
11928
  return http_info
11654
11929
 
11930
+ def show_gen_job(self, request):
11931
+ """查询分子生成作业详情
11932
+
11933
+ 查询分子生成作业详情
11934
+
11935
+ Please refer to HUAWEI cloud API Explorer for details.
11936
+
11937
+ :param request: Request instance for ShowGenJob
11938
+ :type request: :class:`huaweicloudsdkeihealth.v1.ShowGenJobRequest`
11939
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ShowGenJobResponse`
11940
+ """
11941
+ http_info = self._show_gen_job_http_info(request)
11942
+ return self._call_api(**http_info)
11943
+
11944
+ def show_gen_job_invoker(self, request):
11945
+ http_info = self._show_gen_job_http_info(request)
11946
+ return SyncInvoker(self, http_info)
11947
+
11948
+ @classmethod
11949
+ def _show_gen_job_http_info(cls, request):
11950
+ http_info = {
11951
+ "method": "GET",
11952
+ "resource_path": "/v1/{project_id}/eihealth-projects/{eihealth_project_id}/drug-jobs/generation/{job_id}",
11953
+ "request_type": request.__class__.__name__,
11954
+ "response_type": "ShowGenJobResponse"
11955
+ }
11956
+
11957
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
11958
+
11959
+ cname = None
11960
+
11961
+ collection_formats = {}
11962
+
11963
+ path_params = {}
11964
+ if 'eihealth_project_id' in local_var_params:
11965
+ path_params['eihealth_project_id'] = local_var_params['eihealth_project_id']
11966
+ if 'job_id' in local_var_params:
11967
+ path_params['job_id'] = local_var_params['job_id']
11968
+
11969
+ query_params = []
11970
+
11971
+ header_params = {}
11972
+
11973
+ form_params = {}
11974
+
11975
+ body = None
11976
+ if isinstance(request, SdkStreamRequest):
11977
+ body = request.get_file_stream()
11978
+
11979
+ response_headers = []
11980
+
11981
+ header_params['Content-Type'] = http_utils.select_header_content_type(
11982
+ ['application/json'])
11983
+
11984
+ auth_settings = []
11985
+
11986
+ http_info["cname"] = cname
11987
+ http_info["collection_formats"] = collection_formats
11988
+ http_info["path_params"] = path_params
11989
+ http_info["query_params"] = query_params
11990
+ http_info["header_params"] = header_params
11991
+ http_info["post_params"] = form_params
11992
+ http_info["body"] = body
11993
+ http_info["response_headers"] = response_headers
11994
+
11995
+ return http_info
11996
+
11655
11997
  def show_instance(self, request):
11656
11998
  """查询实例详情
11657
11999
 
@@ -13187,6 +13529,73 @@ class EiHealthClient(Client):
13187
13529
 
13188
13530
  return http_info
13189
13531
 
13532
+ def show_target_opt_job(self, request):
13533
+ """查询靶点优化作业详情
13534
+
13535
+ 查询靶点优化作业详情
13536
+
13537
+ Please refer to HUAWEI cloud API Explorer for details.
13538
+
13539
+ :param request: Request instance for ShowTargetOptJob
13540
+ :type request: :class:`huaweicloudsdkeihealth.v1.ShowTargetOptJobRequest`
13541
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ShowTargetOptJobResponse`
13542
+ """
13543
+ http_info = self._show_target_opt_job_http_info(request)
13544
+ return self._call_api(**http_info)
13545
+
13546
+ def show_target_opt_job_invoker(self, request):
13547
+ http_info = self._show_target_opt_job_http_info(request)
13548
+ return SyncInvoker(self, http_info)
13549
+
13550
+ @classmethod
13551
+ def _show_target_opt_job_http_info(cls, request):
13552
+ http_info = {
13553
+ "method": "GET",
13554
+ "resource_path": "/v1/{project_id}/eihealth-projects/{eihealth_project_id}/drug-jobs/target-optimization/{job_id}",
13555
+ "request_type": request.__class__.__name__,
13556
+ "response_type": "ShowTargetOptJobResponse"
13557
+ }
13558
+
13559
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
13560
+
13561
+ cname = None
13562
+
13563
+ collection_formats = {}
13564
+
13565
+ path_params = {}
13566
+ if 'eihealth_project_id' in local_var_params:
13567
+ path_params['eihealth_project_id'] = local_var_params['eihealth_project_id']
13568
+ if 'job_id' in local_var_params:
13569
+ path_params['job_id'] = local_var_params['job_id']
13570
+
13571
+ query_params = []
13572
+
13573
+ header_params = {}
13574
+
13575
+ form_params = {}
13576
+
13577
+ body = None
13578
+ if isinstance(request, SdkStreamRequest):
13579
+ body = request.get_file_stream()
13580
+
13581
+ response_headers = []
13582
+
13583
+ header_params['Content-Type'] = http_utils.select_header_content_type(
13584
+ ['application/json'])
13585
+
13586
+ auth_settings = []
13587
+
13588
+ http_info["cname"] = cname
13589
+ http_info["collection_formats"] = collection_formats
13590
+ http_info["path_params"] = path_params
13591
+ http_info["query_params"] = query_params
13592
+ http_info["header_params"] = header_params
13593
+ http_info["post_params"] = form_params
13594
+ http_info["body"] = body
13595
+ http_info["response_headers"] = response_headers
13596
+
13597
+ return http_info
13598
+
13190
13599
  def show_task_events(self, request):
13191
13600
  """获取子任务启动事件
13192
13601
 
@@ -16985,6 +17394,73 @@ class EiHealthClient(Client):
16985
17394
 
16986
17395
  return http_info
16987
17396
 
17397
+ def create_cpi_job(self, request):
17398
+ """创建CPI作业
17399
+
17400
+ 创建CPI作业
17401
+
17402
+ Please refer to HUAWEI cloud API Explorer for details.
17403
+
17404
+ :param request: Request instance for CreateCpiJob
17405
+ :type request: :class:`huaweicloudsdkeihealth.v1.CreateCpiJobRequest`
17406
+ :rtype: :class:`huaweicloudsdkeihealth.v1.CreateCpiJobResponse`
17407
+ """
17408
+ http_info = self._create_cpi_job_http_info(request)
17409
+ return self._call_api(**http_info)
17410
+
17411
+ def create_cpi_job_invoker(self, request):
17412
+ http_info = self._create_cpi_job_http_info(request)
17413
+ return SyncInvoker(self, http_info)
17414
+
17415
+ @classmethod
17416
+ def _create_cpi_job_http_info(cls, request):
17417
+ http_info = {
17418
+ "method": "POST",
17419
+ "resource_path": "/v1/{project_id}/eihealth-projects/{eihealth_project_id}/drug-jobs/cpi",
17420
+ "request_type": request.__class__.__name__,
17421
+ "response_type": "CreateCpiJobResponse"
17422
+ }
17423
+
17424
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
17425
+
17426
+ cname = None
17427
+
17428
+ collection_formats = {}
17429
+
17430
+ path_params = {}
17431
+ if 'eihealth_project_id' in local_var_params:
17432
+ path_params['eihealth_project_id'] = local_var_params['eihealth_project_id']
17433
+
17434
+ query_params = []
17435
+
17436
+ header_params = {}
17437
+
17438
+ form_params = {}
17439
+
17440
+ body = None
17441
+ if 'body' in local_var_params:
17442
+ body = local_var_params['body']
17443
+ if isinstance(request, SdkStreamRequest):
17444
+ body = request.get_file_stream()
17445
+
17446
+ response_headers = []
17447
+
17448
+ header_params['Content-Type'] = http_utils.select_header_content_type(
17449
+ ['application/json'])
17450
+
17451
+ auth_settings = []
17452
+
17453
+ http_info["cname"] = cname
17454
+ http_info["collection_formats"] = collection_formats
17455
+ http_info["path_params"] = path_params
17456
+ http_info["query_params"] = query_params
17457
+ http_info["header_params"] = header_params
17458
+ http_info["post_params"] = form_params
17459
+ http_info["body"] = body
17460
+ http_info["response_headers"] = response_headers
17461
+
17462
+ return http_info
17463
+
16988
17464
  def create_cpi_task(self, request):
16989
17465
  """新建CPI任务接口
16990
17466
 
@@ -17050,6 +17526,73 @@ class EiHealthClient(Client):
17050
17526
 
17051
17527
  return http_info
17052
17528
 
17529
+ def show_cpi_job(self, request):
17530
+ """查询CPI作业详情
17531
+
17532
+ 查询CPI作业详情
17533
+
17534
+ Please refer to HUAWEI cloud API Explorer for details.
17535
+
17536
+ :param request: Request instance for ShowCpiJob
17537
+ :type request: :class:`huaweicloudsdkeihealth.v1.ShowCpiJobRequest`
17538
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ShowCpiJobResponse`
17539
+ """
17540
+ http_info = self._show_cpi_job_http_info(request)
17541
+ return self._call_api(**http_info)
17542
+
17543
+ def show_cpi_job_invoker(self, request):
17544
+ http_info = self._show_cpi_job_http_info(request)
17545
+ return SyncInvoker(self, http_info)
17546
+
17547
+ @classmethod
17548
+ def _show_cpi_job_http_info(cls, request):
17549
+ http_info = {
17550
+ "method": "GET",
17551
+ "resource_path": "/v1/{project_id}/eihealth-projects/{eihealth_project_id}/drug-jobs/cpi/{job_id}",
17552
+ "request_type": request.__class__.__name__,
17553
+ "response_type": "ShowCpiJobResponse"
17554
+ }
17555
+
17556
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
17557
+
17558
+ cname = None
17559
+
17560
+ collection_formats = {}
17561
+
17562
+ path_params = {}
17563
+ if 'eihealth_project_id' in local_var_params:
17564
+ path_params['eihealth_project_id'] = local_var_params['eihealth_project_id']
17565
+ if 'job_id' in local_var_params:
17566
+ path_params['job_id'] = local_var_params['job_id']
17567
+
17568
+ query_params = []
17569
+
17570
+ header_params = {}
17571
+
17572
+ form_params = {}
17573
+
17574
+ body = None
17575
+ if isinstance(request, SdkStreamRequest):
17576
+ body = request.get_file_stream()
17577
+
17578
+ response_headers = []
17579
+
17580
+ header_params['Content-Type'] = http_utils.select_header_content_type(
17581
+ ['application/json'])
17582
+
17583
+ auth_settings = []
17584
+
17585
+ http_info["cname"] = cname
17586
+ http_info["collection_formats"] = collection_formats
17587
+ http_info["path_params"] = path_params
17588
+ http_info["query_params"] = query_params
17589
+ http_info["header_params"] = header_params
17590
+ http_info["post_params"] = form_params
17591
+ http_info["body"] = body
17592
+ http_info["response_headers"] = response_headers
17593
+
17594
+ return http_info
17595
+
17053
17596
  def show_cpi_task_result(self, request):
17054
17597
  """查询CPI任务
17055
17598