crc-pulp-python-client 20250929.1__py3-none-any.whl → 20260113.6__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 (30) hide show
  1. crc_pulp_python_client-20260113.6.dist-info/METADATA +8856 -0
  2. {crc_pulp_python_client-20250929.1.dist-info → crc_pulp_python_client-20260113.6.dist-info}/RECORD +29 -22
  3. pulpcore/client/pulp_python/__init__.py +8 -1
  4. pulpcore/client/pulp_python/api/__init__.py +2 -0
  5. pulpcore/client/pulp_python/api/api_integrity_provenance_api.py +407 -0
  6. pulpcore/client/pulp_python/api/api_legacy_api.py +61 -1
  7. pulpcore/client/pulp_python/api/api_simple_api.py +108 -5
  8. pulpcore/client/pulp_python/api/content_packages_api.py +66 -6
  9. pulpcore/client/pulp_python/api/content_provenance_api.py +1900 -0
  10. pulpcore/client/pulp_python/api/distributions_pypi_api.py +16 -10
  11. pulpcore/client/pulp_python/api/remotes_python_api.py +16 -10
  12. pulpcore/client/pulp_python/api/repositories_python_api.py +16 -10
  13. pulpcore/client/pulp_python/api/repositories_python_versions_api.py +279 -0
  14. pulpcore/client/pulp_python/configuration.py +3 -3
  15. pulpcore/client/pulp_python/models/__init__.py +5 -0
  16. pulpcore/client/pulp_python/models/filetype_enum.py +38 -0
  17. pulpcore/client/pulp_python/models/metadata_version_enum.py +44 -0
  18. pulpcore/client/pulp_python/models/paginatedpython_package_provenance_response_list.py +112 -0
  19. pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +8 -1
  20. pulpcore/client/pulp_python/models/patchedpython_python_remote.py +4 -2
  21. pulpcore/client/pulp_python/models/protocol_version_enum.py +37 -0
  22. pulpcore/client/pulp_python/models/python_package_provenance_response.py +124 -0
  23. pulpcore/client/pulp_python/models/python_python_distribution.py +8 -1
  24. pulpcore/client/pulp_python/models/python_python_distribution_response.py +8 -1
  25. pulpcore/client/pulp_python/models/python_python_package_content_response.py +18 -3
  26. pulpcore/client/pulp_python/models/python_python_remote.py +4 -2
  27. pulpcore/client/pulp_python/models/python_python_remote_response.py +4 -2
  28. crc_pulp_python_client-20250929.1.dist-info/METADATA +0 -25
  29. {crc_pulp_python_client-20250929.1.dist-info → crc_pulp_python_client-20260113.6.dist-info}/WHEEL +0 -0
  30. {crc_pulp_python_client-20250929.1.dist-info → crc_pulp_python_client-20260113.6.dist-info}/top_level.txt +0 -0
@@ -2344,10 +2344,10 @@ class DistributionsPypiApi:
2344
2344
  _content_type: Optional[StrictStr] = None,
2345
2345
  _headers: Optional[Dict[StrictStr, Any]] = None,
2346
2346
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2347
- ) -> AsyncOperationResponse:
2347
+ ) -> PythonPythonDistributionResponse:
2348
2348
  """Update a python distribution
2349
2349
 
2350
- Trigger an asynchronous partial update task
2350
+ Update the entity partially and trigger an asynchronous task if necessary
2351
2351
 
2352
2352
  :param python_python_distribution_href: (required)
2353
2353
  :type python_python_distribution_href: str
@@ -2388,6 +2388,7 @@ class DistributionsPypiApi:
2388
2388
  )
2389
2389
 
2390
2390
  _response_types_map: Dict[str, Optional[str]] = {
2391
+ '200': "PythonPythonDistributionResponse",
2391
2392
  '202': "AsyncOperationResponse",
2392
2393
  }
2393
2394
  response_data = self.api_client.call_api(
@@ -2419,10 +2420,10 @@ class DistributionsPypiApi:
2419
2420
  _content_type: Optional[StrictStr] = None,
2420
2421
  _headers: Optional[Dict[StrictStr, Any]] = None,
2421
2422
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2422
- ) -> ApiResponse[AsyncOperationResponse]:
2423
+ ) -> ApiResponse[PythonPythonDistributionResponse]:
2423
2424
  """Update a python distribution
2424
2425
 
2425
- Trigger an asynchronous partial update task
2426
+ Update the entity partially and trigger an asynchronous task if necessary
2426
2427
 
2427
2428
  :param python_python_distribution_href: (required)
2428
2429
  :type python_python_distribution_href: str
@@ -2463,6 +2464,7 @@ class DistributionsPypiApi:
2463
2464
  )
2464
2465
 
2465
2466
  _response_types_map: Dict[str, Optional[str]] = {
2467
+ '200': "PythonPythonDistributionResponse",
2466
2468
  '202': "AsyncOperationResponse",
2467
2469
  }
2468
2470
  response_data = self.api_client.call_api(
@@ -2497,7 +2499,7 @@ class DistributionsPypiApi:
2497
2499
  ) -> RESTResponseType:
2498
2500
  """Update a python distribution
2499
2501
 
2500
- Trigger an asynchronous partial update task
2502
+ Update the entity partially and trigger an asynchronous task if necessary
2501
2503
 
2502
2504
  :param python_python_distribution_href: (required)
2503
2505
  :type python_python_distribution_href: str
@@ -2538,6 +2540,7 @@ class DistributionsPypiApi:
2538
2540
  )
2539
2541
 
2540
2542
  _response_types_map: Dict[str, Optional[str]] = {
2543
+ '200': "PythonPythonDistributionResponse",
2541
2544
  '202': "AsyncOperationResponse",
2542
2545
  }
2543
2546
  response_data = self.api_client.call_api(
@@ -3895,10 +3898,10 @@ class DistributionsPypiApi:
3895
3898
  _content_type: Optional[StrictStr] = None,
3896
3899
  _headers: Optional[Dict[StrictStr, Any]] = None,
3897
3900
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3898
- ) -> AsyncOperationResponse:
3901
+ ) -> PythonPythonDistributionResponse:
3899
3902
  """Update a python distribution
3900
3903
 
3901
- Trigger an asynchronous update task
3904
+ Update the entity and trigger an asynchronous task if necessary
3902
3905
 
3903
3906
  :param python_python_distribution_href: (required)
3904
3907
  :type python_python_distribution_href: str
@@ -3939,6 +3942,7 @@ class DistributionsPypiApi:
3939
3942
  )
3940
3943
 
3941
3944
  _response_types_map: Dict[str, Optional[str]] = {
3945
+ '200': "PythonPythonDistributionResponse",
3942
3946
  '202': "AsyncOperationResponse",
3943
3947
  }
3944
3948
  response_data = self.api_client.call_api(
@@ -3970,10 +3974,10 @@ class DistributionsPypiApi:
3970
3974
  _content_type: Optional[StrictStr] = None,
3971
3975
  _headers: Optional[Dict[StrictStr, Any]] = None,
3972
3976
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3973
- ) -> ApiResponse[AsyncOperationResponse]:
3977
+ ) -> ApiResponse[PythonPythonDistributionResponse]:
3974
3978
  """Update a python distribution
3975
3979
 
3976
- Trigger an asynchronous update task
3980
+ Update the entity and trigger an asynchronous task if necessary
3977
3981
 
3978
3982
  :param python_python_distribution_href: (required)
3979
3983
  :type python_python_distribution_href: str
@@ -4014,6 +4018,7 @@ class DistributionsPypiApi:
4014
4018
  )
4015
4019
 
4016
4020
  _response_types_map: Dict[str, Optional[str]] = {
4021
+ '200': "PythonPythonDistributionResponse",
4017
4022
  '202': "AsyncOperationResponse",
4018
4023
  }
4019
4024
  response_data = self.api_client.call_api(
@@ -4048,7 +4053,7 @@ class DistributionsPypiApi:
4048
4053
  ) -> RESTResponseType:
4049
4054
  """Update a python distribution
4050
4055
 
4051
- Trigger an asynchronous update task
4056
+ Update the entity and trigger an asynchronous task if necessary
4052
4057
 
4053
4058
  :param python_python_distribution_href: (required)
4054
4059
  :type python_python_distribution_href: str
@@ -4089,6 +4094,7 @@ class DistributionsPypiApi:
4089
4094
  )
4090
4095
 
4091
4096
  _response_types_map: Dict[str, Optional[str]] = {
4097
+ '200': "PythonPythonDistributionResponse",
4092
4098
  '202': "AsyncOperationResponse",
4093
4099
  }
4094
4100
  response_data = self.api_client.call_api(
@@ -2710,10 +2710,10 @@ class RemotesPythonApi:
2710
2710
  _content_type: Optional[StrictStr] = None,
2711
2711
  _headers: Optional[Dict[StrictStr, Any]] = None,
2712
2712
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2713
- ) -> AsyncOperationResponse:
2713
+ ) -> PythonPythonRemoteResponse:
2714
2714
  """Update a python remote
2715
2715
 
2716
- Trigger an asynchronous partial update task
2716
+ Update the entity partially and trigger an asynchronous task if necessary
2717
2717
 
2718
2718
  :param python_python_remote_href: (required)
2719
2719
  :type python_python_remote_href: str
@@ -2754,6 +2754,7 @@ class RemotesPythonApi:
2754
2754
  )
2755
2755
 
2756
2756
  _response_types_map: Dict[str, Optional[str]] = {
2757
+ '200': "PythonPythonRemoteResponse",
2757
2758
  '202': "AsyncOperationResponse",
2758
2759
  }
2759
2760
  response_data = self.api_client.call_api(
@@ -2785,10 +2786,10 @@ class RemotesPythonApi:
2785
2786
  _content_type: Optional[StrictStr] = None,
2786
2787
  _headers: Optional[Dict[StrictStr, Any]] = None,
2787
2788
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2788
- ) -> ApiResponse[AsyncOperationResponse]:
2789
+ ) -> ApiResponse[PythonPythonRemoteResponse]:
2789
2790
  """Update a python remote
2790
2791
 
2791
- Trigger an asynchronous partial update task
2792
+ Update the entity partially and trigger an asynchronous task if necessary
2792
2793
 
2793
2794
  :param python_python_remote_href: (required)
2794
2795
  :type python_python_remote_href: str
@@ -2829,6 +2830,7 @@ class RemotesPythonApi:
2829
2830
  )
2830
2831
 
2831
2832
  _response_types_map: Dict[str, Optional[str]] = {
2833
+ '200': "PythonPythonRemoteResponse",
2832
2834
  '202': "AsyncOperationResponse",
2833
2835
  }
2834
2836
  response_data = self.api_client.call_api(
@@ -2863,7 +2865,7 @@ class RemotesPythonApi:
2863
2865
  ) -> RESTResponseType:
2864
2866
  """Update a python remote
2865
2867
 
2866
- Trigger an asynchronous partial update task
2868
+ Update the entity partially and trigger an asynchronous task if necessary
2867
2869
 
2868
2870
  :param python_python_remote_href: (required)
2869
2871
  :type python_python_remote_href: str
@@ -2904,6 +2906,7 @@ class RemotesPythonApi:
2904
2906
  )
2905
2907
 
2906
2908
  _response_types_map: Dict[str, Optional[str]] = {
2909
+ '200': "PythonPythonRemoteResponse",
2907
2910
  '202': "AsyncOperationResponse",
2908
2911
  }
2909
2912
  response_data = self.api_client.call_api(
@@ -4261,10 +4264,10 @@ class RemotesPythonApi:
4261
4264
  _content_type: Optional[StrictStr] = None,
4262
4265
  _headers: Optional[Dict[StrictStr, Any]] = None,
4263
4266
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4264
- ) -> AsyncOperationResponse:
4267
+ ) -> PythonPythonRemoteResponse:
4265
4268
  """Update a python remote
4266
4269
 
4267
- Trigger an asynchronous update task
4270
+ Update the entity and trigger an asynchronous task if necessary
4268
4271
 
4269
4272
  :param python_python_remote_href: (required)
4270
4273
  :type python_python_remote_href: str
@@ -4305,6 +4308,7 @@ class RemotesPythonApi:
4305
4308
  )
4306
4309
 
4307
4310
  _response_types_map: Dict[str, Optional[str]] = {
4311
+ '200': "PythonPythonRemoteResponse",
4308
4312
  '202': "AsyncOperationResponse",
4309
4313
  }
4310
4314
  response_data = self.api_client.call_api(
@@ -4336,10 +4340,10 @@ class RemotesPythonApi:
4336
4340
  _content_type: Optional[StrictStr] = None,
4337
4341
  _headers: Optional[Dict[StrictStr, Any]] = None,
4338
4342
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4339
- ) -> ApiResponse[AsyncOperationResponse]:
4343
+ ) -> ApiResponse[PythonPythonRemoteResponse]:
4340
4344
  """Update a python remote
4341
4345
 
4342
- Trigger an asynchronous update task
4346
+ Update the entity and trigger an asynchronous task if necessary
4343
4347
 
4344
4348
  :param python_python_remote_href: (required)
4345
4349
  :type python_python_remote_href: str
@@ -4380,6 +4384,7 @@ class RemotesPythonApi:
4380
4384
  )
4381
4385
 
4382
4386
  _response_types_map: Dict[str, Optional[str]] = {
4387
+ '200': "PythonPythonRemoteResponse",
4383
4388
  '202': "AsyncOperationResponse",
4384
4389
  }
4385
4390
  response_data = self.api_client.call_api(
@@ -4414,7 +4419,7 @@ class RemotesPythonApi:
4414
4419
  ) -> RESTResponseType:
4415
4420
  """Update a python remote
4416
4421
 
4417
- Trigger an asynchronous update task
4422
+ Update the entity and trigger an asynchronous task if necessary
4418
4423
 
4419
4424
  :param python_python_remote_href: (required)
4420
4425
  :type python_python_remote_href: str
@@ -4455,6 +4460,7 @@ class RemotesPythonApi:
4455
4460
  )
4456
4461
 
4457
4462
  _response_types_map: Dict[str, Optional[str]] = {
4463
+ '200': "PythonPythonRemoteResponse",
4458
4464
  '202': "AsyncOperationResponse",
4459
4465
  }
4460
4466
  response_data = self.api_client.call_api(
@@ -2705,10 +2705,10 @@ class RepositoriesPythonApi:
2705
2705
  _content_type: Optional[StrictStr] = None,
2706
2706
  _headers: Optional[Dict[StrictStr, Any]] = None,
2707
2707
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2708
- ) -> AsyncOperationResponse:
2708
+ ) -> PythonPythonRepositoryResponse:
2709
2709
  """Update a python repository
2710
2710
 
2711
- Trigger an asynchronous partial update task
2711
+ Update the entity partially and trigger an asynchronous task if necessary
2712
2712
 
2713
2713
  :param python_python_repository_href: (required)
2714
2714
  :type python_python_repository_href: str
@@ -2749,6 +2749,7 @@ class RepositoriesPythonApi:
2749
2749
  )
2750
2750
 
2751
2751
  _response_types_map: Dict[str, Optional[str]] = {
2752
+ '200': "PythonPythonRepositoryResponse",
2752
2753
  '202': "AsyncOperationResponse",
2753
2754
  }
2754
2755
  response_data = self.api_client.call_api(
@@ -2780,10 +2781,10 @@ class RepositoriesPythonApi:
2780
2781
  _content_type: Optional[StrictStr] = None,
2781
2782
  _headers: Optional[Dict[StrictStr, Any]] = None,
2782
2783
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2783
- ) -> ApiResponse[AsyncOperationResponse]:
2784
+ ) -> ApiResponse[PythonPythonRepositoryResponse]:
2784
2785
  """Update a python repository
2785
2786
 
2786
- Trigger an asynchronous partial update task
2787
+ Update the entity partially and trigger an asynchronous task if necessary
2787
2788
 
2788
2789
  :param python_python_repository_href: (required)
2789
2790
  :type python_python_repository_href: str
@@ -2824,6 +2825,7 @@ class RepositoriesPythonApi:
2824
2825
  )
2825
2826
 
2826
2827
  _response_types_map: Dict[str, Optional[str]] = {
2828
+ '200': "PythonPythonRepositoryResponse",
2827
2829
  '202': "AsyncOperationResponse",
2828
2830
  }
2829
2831
  response_data = self.api_client.call_api(
@@ -2858,7 +2860,7 @@ class RepositoriesPythonApi:
2858
2860
  ) -> RESTResponseType:
2859
2861
  """Update a python repository
2860
2862
 
2861
- Trigger an asynchronous partial update task
2863
+ Update the entity partially and trigger an asynchronous task if necessary
2862
2864
 
2863
2865
  :param python_python_repository_href: (required)
2864
2866
  :type python_python_repository_href: str
@@ -2899,6 +2901,7 @@ class RepositoriesPythonApi:
2899
2901
  )
2900
2902
 
2901
2903
  _response_types_map: Dict[str, Optional[str]] = {
2904
+ '200': "PythonPythonRepositoryResponse",
2902
2905
  '202': "AsyncOperationResponse",
2903
2906
  }
2904
2907
  response_data = self.api_client.call_api(
@@ -4844,10 +4847,10 @@ class RepositoriesPythonApi:
4844
4847
  _content_type: Optional[StrictStr] = None,
4845
4848
  _headers: Optional[Dict[StrictStr, Any]] = None,
4846
4849
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4847
- ) -> AsyncOperationResponse:
4850
+ ) -> PythonPythonRepositoryResponse:
4848
4851
  """Update a python repository
4849
4852
 
4850
- Trigger an asynchronous update task
4853
+ Update the entity and trigger an asynchronous task if necessary
4851
4854
 
4852
4855
  :param python_python_repository_href: (required)
4853
4856
  :type python_python_repository_href: str
@@ -4888,6 +4891,7 @@ class RepositoriesPythonApi:
4888
4891
  )
4889
4892
 
4890
4893
  _response_types_map: Dict[str, Optional[str]] = {
4894
+ '200': "PythonPythonRepositoryResponse",
4891
4895
  '202': "AsyncOperationResponse",
4892
4896
  }
4893
4897
  response_data = self.api_client.call_api(
@@ -4919,10 +4923,10 @@ class RepositoriesPythonApi:
4919
4923
  _content_type: Optional[StrictStr] = None,
4920
4924
  _headers: Optional[Dict[StrictStr, Any]] = None,
4921
4925
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4922
- ) -> ApiResponse[AsyncOperationResponse]:
4926
+ ) -> ApiResponse[PythonPythonRepositoryResponse]:
4923
4927
  """Update a python repository
4924
4928
 
4925
- Trigger an asynchronous update task
4929
+ Update the entity and trigger an asynchronous task if necessary
4926
4930
 
4927
4931
  :param python_python_repository_href: (required)
4928
4932
  :type python_python_repository_href: str
@@ -4963,6 +4967,7 @@ class RepositoriesPythonApi:
4963
4967
  )
4964
4968
 
4965
4969
  _response_types_map: Dict[str, Optional[str]] = {
4970
+ '200': "PythonPythonRepositoryResponse",
4966
4971
  '202': "AsyncOperationResponse",
4967
4972
  }
4968
4973
  response_data = self.api_client.call_api(
@@ -4997,7 +5002,7 @@ class RepositoriesPythonApi:
4997
5002
  ) -> RESTResponseType:
4998
5003
  """Update a python repository
4999
5004
 
5000
- Trigger an asynchronous update task
5005
+ Update the entity and trigger an asynchronous task if necessary
5001
5006
 
5002
5007
  :param python_python_repository_href: (required)
5003
5008
  :type python_python_repository_href: str
@@ -5038,6 +5043,7 @@ class RepositoriesPythonApi:
5038
5043
  )
5039
5044
 
5040
5045
  _response_types_map: Dict[str, Optional[str]] = {
5046
+ '200': "PythonPythonRepositoryResponse",
5041
5047
  '202': "AsyncOperationResponse",
5042
5048
  }
5043
5049
  response_data = self.api_client.call_api(
@@ -1668,3 +1668,282 @@ class RepositoriesPythonVersionsApi:
1668
1668
  )
1669
1669
 
1670
1670
 
1671
+
1672
+
1673
+ @validate_call
1674
+ def scan(
1675
+ self,
1676
+ python_python_repository_version_href: StrictStr,
1677
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1678
+ _request_timeout: Union[
1679
+ None,
1680
+ Annotated[StrictFloat, Field(gt=0)],
1681
+ Tuple[
1682
+ Annotated[StrictFloat, Field(gt=0)],
1683
+ Annotated[StrictFloat, Field(gt=0)]
1684
+ ]
1685
+ ] = None,
1686
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1687
+ _content_type: Optional[StrictStr] = None,
1688
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1689
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1690
+ ) -> AsyncOperationResponse:
1691
+ """Generate vulnerability report
1692
+
1693
+ Scan a repository version for vulnerabilities.
1694
+
1695
+ :param python_python_repository_version_href: (required)
1696
+ :type python_python_repository_version_href: str
1697
+ :param x_task_diagnostics: List of profilers to use on tasks.
1698
+ :type x_task_diagnostics: List[str]
1699
+ :param _request_timeout: timeout setting for this request. If one
1700
+ number provided, it will be total request
1701
+ timeout. It can also be a pair (tuple) of
1702
+ (connection, read) timeouts.
1703
+ :type _request_timeout: int, tuple(int, int), optional
1704
+ :param _request_auth: set to override the auth_settings for an a single
1705
+ request; this effectively ignores the
1706
+ authentication in the spec for a single request.
1707
+ :type _request_auth: dict, optional
1708
+ :param _content_type: force content-type for the request.
1709
+ :type _content_type: str, Optional
1710
+ :param _headers: set to override the headers for a single
1711
+ request; this effectively ignores the headers
1712
+ in the spec for a single request.
1713
+ :type _headers: dict, optional
1714
+ :param _host_index: set to override the host_index for a single
1715
+ request; this effectively ignores the host_index
1716
+ in the spec for a single request.
1717
+ :type _host_index: int, optional
1718
+ :return: Returns the result object.
1719
+ """ # noqa: E501
1720
+
1721
+ _param = self._scan_serialize(
1722
+ python_python_repository_version_href=python_python_repository_version_href,
1723
+ x_task_diagnostics=x_task_diagnostics,
1724
+ _request_auth=_request_auth,
1725
+ _content_type=_content_type,
1726
+ _headers=_headers,
1727
+ _host_index=_host_index
1728
+ )
1729
+
1730
+ _response_types_map: Dict[str, Optional[str]] = {
1731
+ '202': "AsyncOperationResponse",
1732
+ }
1733
+ response_data = self.api_client.call_api(
1734
+ *_param,
1735
+ _request_timeout=_request_timeout
1736
+ )
1737
+ response_data.read()
1738
+ return self.api_client.response_deserialize(
1739
+ response_data=response_data,
1740
+ response_types_map=_response_types_map,
1741
+ ).data
1742
+
1743
+
1744
+ @validate_call
1745
+ def scan_with_http_info(
1746
+ self,
1747
+ python_python_repository_version_href: StrictStr,
1748
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1749
+ _request_timeout: Union[
1750
+ None,
1751
+ Annotated[StrictFloat, Field(gt=0)],
1752
+ Tuple[
1753
+ Annotated[StrictFloat, Field(gt=0)],
1754
+ Annotated[StrictFloat, Field(gt=0)]
1755
+ ]
1756
+ ] = None,
1757
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1758
+ _content_type: Optional[StrictStr] = None,
1759
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1760
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1761
+ ) -> ApiResponse[AsyncOperationResponse]:
1762
+ """Generate vulnerability report
1763
+
1764
+ Scan a repository version for vulnerabilities.
1765
+
1766
+ :param python_python_repository_version_href: (required)
1767
+ :type python_python_repository_version_href: str
1768
+ :param x_task_diagnostics: List of profilers to use on tasks.
1769
+ :type x_task_diagnostics: List[str]
1770
+ :param _request_timeout: timeout setting for this request. If one
1771
+ number provided, it will be total request
1772
+ timeout. It can also be a pair (tuple) of
1773
+ (connection, read) timeouts.
1774
+ :type _request_timeout: int, tuple(int, int), optional
1775
+ :param _request_auth: set to override the auth_settings for an a single
1776
+ request; this effectively ignores the
1777
+ authentication in the spec for a single request.
1778
+ :type _request_auth: dict, optional
1779
+ :param _content_type: force content-type for the request.
1780
+ :type _content_type: str, Optional
1781
+ :param _headers: set to override the headers for a single
1782
+ request; this effectively ignores the headers
1783
+ in the spec for a single request.
1784
+ :type _headers: dict, optional
1785
+ :param _host_index: set to override the host_index for a single
1786
+ request; this effectively ignores the host_index
1787
+ in the spec for a single request.
1788
+ :type _host_index: int, optional
1789
+ :return: Returns the result object.
1790
+ """ # noqa: E501
1791
+
1792
+ _param = self._scan_serialize(
1793
+ python_python_repository_version_href=python_python_repository_version_href,
1794
+ x_task_diagnostics=x_task_diagnostics,
1795
+ _request_auth=_request_auth,
1796
+ _content_type=_content_type,
1797
+ _headers=_headers,
1798
+ _host_index=_host_index
1799
+ )
1800
+
1801
+ _response_types_map: Dict[str, Optional[str]] = {
1802
+ '202': "AsyncOperationResponse",
1803
+ }
1804
+ response_data = self.api_client.call_api(
1805
+ *_param,
1806
+ _request_timeout=_request_timeout
1807
+ )
1808
+ response_data.read()
1809
+ return self.api_client.response_deserialize(
1810
+ response_data=response_data,
1811
+ response_types_map=_response_types_map,
1812
+ )
1813
+
1814
+
1815
+ @validate_call
1816
+ def scan_without_preload_content(
1817
+ self,
1818
+ python_python_repository_version_href: StrictStr,
1819
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1820
+ _request_timeout: Union[
1821
+ None,
1822
+ Annotated[StrictFloat, Field(gt=0)],
1823
+ Tuple[
1824
+ Annotated[StrictFloat, Field(gt=0)],
1825
+ Annotated[StrictFloat, Field(gt=0)]
1826
+ ]
1827
+ ] = None,
1828
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1829
+ _content_type: Optional[StrictStr] = None,
1830
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1831
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1832
+ ) -> RESTResponseType:
1833
+ """Generate vulnerability report
1834
+
1835
+ Scan a repository version for vulnerabilities.
1836
+
1837
+ :param python_python_repository_version_href: (required)
1838
+ :type python_python_repository_version_href: str
1839
+ :param x_task_diagnostics: List of profilers to use on tasks.
1840
+ :type x_task_diagnostics: List[str]
1841
+ :param _request_timeout: timeout setting for this request. If one
1842
+ number provided, it will be total request
1843
+ timeout. It can also be a pair (tuple) of
1844
+ (connection, read) timeouts.
1845
+ :type _request_timeout: int, tuple(int, int), optional
1846
+ :param _request_auth: set to override the auth_settings for an a single
1847
+ request; this effectively ignores the
1848
+ authentication in the spec for a single request.
1849
+ :type _request_auth: dict, optional
1850
+ :param _content_type: force content-type for the request.
1851
+ :type _content_type: str, Optional
1852
+ :param _headers: set to override the headers for a single
1853
+ request; this effectively ignores the headers
1854
+ in the spec for a single request.
1855
+ :type _headers: dict, optional
1856
+ :param _host_index: set to override the host_index for a single
1857
+ request; this effectively ignores the host_index
1858
+ in the spec for a single request.
1859
+ :type _host_index: int, optional
1860
+ :return: Returns the result object.
1861
+ """ # noqa: E501
1862
+
1863
+ _param = self._scan_serialize(
1864
+ python_python_repository_version_href=python_python_repository_version_href,
1865
+ x_task_diagnostics=x_task_diagnostics,
1866
+ _request_auth=_request_auth,
1867
+ _content_type=_content_type,
1868
+ _headers=_headers,
1869
+ _host_index=_host_index
1870
+ )
1871
+
1872
+ _response_types_map: Dict[str, Optional[str]] = {
1873
+ '202': "AsyncOperationResponse",
1874
+ }
1875
+ response_data = self.api_client.call_api(
1876
+ *_param,
1877
+ _request_timeout=_request_timeout
1878
+ )
1879
+ return response_data.response
1880
+
1881
+
1882
+ def _scan_serialize(
1883
+ self,
1884
+ python_python_repository_version_href,
1885
+ x_task_diagnostics,
1886
+ _request_auth,
1887
+ _content_type,
1888
+ _headers,
1889
+ _host_index,
1890
+ ) -> RequestSerialized:
1891
+
1892
+ _host = None
1893
+
1894
+ _collection_formats: Dict[str, str] = {
1895
+ 'X-Task-Diagnostics': 'csv',
1896
+ }
1897
+
1898
+ _path_params: Dict[str, str] = {}
1899
+ _query_params: List[Tuple[str, str]] = []
1900
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1901
+ _form_params: List[Tuple[str, str]] = []
1902
+ _files: Dict[
1903
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1904
+ ] = {}
1905
+ _body_params: Optional[bytes] = None
1906
+
1907
+ # process the path parameters
1908
+ if python_python_repository_version_href is not None:
1909
+ _path_params['python_python_repository_version_href'] = python_python_repository_version_href
1910
+ # process the query parameters
1911
+ # process the header parameters
1912
+ if x_task_diagnostics is not None:
1913
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1914
+ # process the form parameters
1915
+ # process the body parameter
1916
+
1917
+
1918
+ # set the HTTP header `Accept`
1919
+ if 'Accept' not in _header_params:
1920
+ _header_params['Accept'] = self.api_client.select_header_accept(
1921
+ [
1922
+ 'application/json'
1923
+ ]
1924
+ )
1925
+
1926
+
1927
+ # authentication setting
1928
+ _auth_settings: List[str] = [
1929
+ 'json_header_remote_authentication',
1930
+ 'basicAuth',
1931
+ 'cookieAuth'
1932
+ ]
1933
+
1934
+ return self.api_client.param_serialize(
1935
+ method='POST',
1936
+ resource_path='{python_python_repository_version_href}scan/',
1937
+ path_params=_path_params,
1938
+ query_params=_query_params,
1939
+ header_params=_header_params,
1940
+ body=_body_params,
1941
+ post_params=_form_params,
1942
+ files=_files,
1943
+ auth_settings=_auth_settings,
1944
+ collection_formats=_collection_formats,
1945
+ _host=_host,
1946
+ _request_auth=_request_auth
1947
+ )
1948
+
1949
+
@@ -225,7 +225,7 @@ conf = pulpcore.client.pulp_python.Configuration(
225
225
  ) -> None:
226
226
  """Constructor
227
227
  """
228
- self._base_path = "https://env-ephemeral-vxppxe.apps.crc-eph.r9lp.p1.openshiftapps.com" if host is None else host
228
+ self._base_path = "https://env-ephemeral-bbj48a.apps.crc-eph.r9lp.p1.openshiftapps.com" if host is None else host
229
229
  """Default Base url
230
230
  """
231
231
  self.server_index = 0 if server_index is None and host is None else server_index
@@ -557,7 +557,7 @@ conf = pulpcore.client.pulp_python.Configuration(
557
557
  "OS: {env}\n"\
558
558
  "Python Version: {pyversion}\n"\
559
559
  "Version of the API: v3\n"\
560
- "SDK Package Version: 20250929.1".\
560
+ "SDK Package Version: 20260113.6".\
561
561
  format(env=sys.platform, pyversion=sys.version)
562
562
 
563
563
  def get_host_settings(self) -> List[HostSetting]:
@@ -567,7 +567,7 @@ conf = pulpcore.client.pulp_python.Configuration(
567
567
  """
568
568
  return [
569
569
  {
570
- 'url': "https://env-ephemeral-vxppxe.apps.crc-eph.r9lp.p1.openshiftapps.com",
570
+ 'url': "https://env-ephemeral-bbj48a.apps.crc-eph.r9lp.p1.openshiftapps.com",
571
571
  'description': "No description provided",
572
572
  }
573
573
  ]
@@ -18,6 +18,8 @@
18
18
  from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
19
19
  from pulpcore.client.pulp_python.models.content_summary_response import ContentSummaryResponse
20
20
  from pulpcore.client.pulp_python.models.exclude_platforms_enum import ExcludePlatformsEnum
21
+ from pulpcore.client.pulp_python.models.filetype_enum import FiletypeEnum
22
+ from pulpcore.client.pulp_python.models.metadata_version_enum import MetadataVersionEnum
21
23
  from pulpcore.client.pulp_python.models.my_permissions_response import MyPermissionsResponse
22
24
  from pulpcore.client.pulp_python.models.nested_role import NestedRole
23
25
  from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleResponse
@@ -26,6 +28,7 @@ from pulpcore.client.pulp_python.models.package_metadata_response import Package
26
28
  from pulpcore.client.pulp_python.models.package_types_enum import PackageTypesEnum
27
29
  from pulpcore.client.pulp_python.models.package_upload_task_response import PackageUploadTaskResponse
28
30
  from pulpcore.client.pulp_python.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList
31
+ from pulpcore.client.pulp_python.models.paginatedpython_package_provenance_response_list import PaginatedpythonPackageProvenanceResponseList
29
32
  from pulpcore.client.pulp_python.models.paginatedpython_python_distribution_response_list import PaginatedpythonPythonDistributionResponseList
30
33
  from pulpcore.client.pulp_python.models.paginatedpython_python_package_content_response_list import PaginatedpythonPythonPackageContentResponseList
31
34
  from pulpcore.client.pulp_python.models.paginatedpython_python_publication_response_list import PaginatedpythonPythonPublicationResponseList
@@ -35,6 +38,8 @@ from pulpcore.client.pulp_python.models.patchedpython_python_distribution import
35
38
  from pulpcore.client.pulp_python.models.patchedpython_python_remote import PatchedpythonPythonRemote
36
39
  from pulpcore.client.pulp_python.models.patchedpython_python_repository import PatchedpythonPythonRepository
37
40
  from pulpcore.client.pulp_python.models.policy_enum import PolicyEnum
41
+ from pulpcore.client.pulp_python.models.protocol_version_enum import ProtocolVersionEnum
42
+ from pulpcore.client.pulp_python.models.python_package_provenance_response import PythonPackageProvenanceResponse
38
43
  from pulpcore.client.pulp_python.models.python_python_distribution import PythonPythonDistribution
39
44
  from pulpcore.client.pulp_python.models.python_python_distribution_response import PythonPythonDistributionResponse
40
45
  from pulpcore.client.pulp_python.models.python_python_package_content_response import PythonPythonPackageContentResponse