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
@@ -1,27 +1,31 @@
1
1
  pulpcore/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
2
2
  pulpcore/client/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
3
- pulpcore/client/pulp_python/__init__.py,sha256=mv3nkxzl5AIrtgG2GN-6-npSUXO8xHWIsDq5PQQLxFQ,5793
3
+ pulpcore/client/pulp_python/__init__.py,sha256=jBDeu47VDdeO_QnI9ZG7T1vzobY5I3PZS02YPrDSO34,6487
4
4
  pulpcore/client/pulp_python/api_client.py,sha256=qejhlzcY2MfP4zjlvbTT4Oat8qj0N7edofLC9alumZc,27515
5
5
  pulpcore/client/pulp_python/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
6
- pulpcore/client/pulp_python/configuration.py,sha256=2z60GF3ToMXUA-qERBEUw1Bqjzb8UG394mfzrnkgY1M,19683
6
+ pulpcore/client/pulp_python/configuration.py,sha256=G2I1CwABFXhNONDWKJ60-sMRQXMoTY76F2cq1yyE0hY,19683
7
7
  pulpcore/client/pulp_python/exceptions.py,sha256=voqdIkPGpfNSUF9SsFqERflJMVs-uYFH60fd1rcsz6Y,5957
8
8
  pulpcore/client/pulp_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  pulpcore/client/pulp_python/rest.py,sha256=g0lqBpRHpu0epc6G4Rwk-SnApSsrKrqgdrNqwg-LlQE,9410
10
- pulpcore/client/pulp_python/api/__init__.py,sha256=2JpLCSYOGsSKSVhOH9-Mc7mg59egjluS7XwWl3spxzw,873
11
- pulpcore/client/pulp_python/api/api_legacy_api.py,sha256=Q-v1KL_o06VbrsACl6PUb6r9GcSeCHgAB_QIYW8Cu14,16641
10
+ pulpcore/client/pulp_python/api/__init__.py,sha256=81dLRV1ID1zLDXNri3xRGsHMbG7ABCCEnpLcCh0g9_M,1060
11
+ pulpcore/client/pulp_python/api/api_integrity_provenance_api.py,sha256=seM6WHSjNpbBG-P7ikybK1IFIUCfQYhN1ELHD4B5BrU,15641
12
+ pulpcore/client/pulp_python/api/api_legacy_api.py,sha256=y7MIVFCQabKNdFBDgVPEFFZXdLnKSI5UfnMYYdlOXVY,21660
12
13
  pulpcore/client/pulp_python/api/api_pypi_api.py,sha256=ULl3RsdIez3kKTrT97HZ7JLeWWQV4_xKN6hhbLCSvvY,14579
13
- pulpcore/client/pulp_python/api/api_simple_api.py,sha256=tsGd9-CLndzlkAqESaYa8xMsSHeQpxDNHrDk0OAfVyg,43565
14
- pulpcore/client/pulp_python/api/content_packages_api.py,sha256=vUCRAs01g8oQpybLalGexVOwWq-11-iCZZqbRYZ1uvo,205644
15
- pulpcore/client/pulp_python/api/distributions_pypi_api.py,sha256=Kz1ZlY_PN3GN2pcVLsfCc_qnmf76rU0YRttdCR2BSI4,185759
14
+ pulpcore/client/pulp_python/api/api_simple_api.py,sha256=BLpXBq29nLMmejwvdnGgpaOtHXIzk_qfQA7cQKPC9iE,49891
15
+ pulpcore/client/pulp_python/api/content_packages_api.py,sha256=u6W_Rol9eufr4yYwdTOdoscC5aj7fQvbB_TpJiTYfmk,210714
16
+ pulpcore/client/pulp_python/api/content_provenance_api.py,sha256=41TOzORwUpYx5hjc17RkAswrgeyDu0AWmfexvY-cB4Y,85075
17
+ pulpcore/client/pulp_python/api/distributions_pypi_api.py,sha256=HngjdQhVpH6L82rcLnz7gQH1uxvrQ-mD5VJnsNEKf4k,186303
16
18
  pulpcore/client/pulp_python/api/publications_pypi_api.py,sha256=AUEjjkXxbrbi-kZpY105aXKru1-UGV8e1kfgVrZ_atQ,128990
17
19
  pulpcore/client/pulp_python/api/pypi_metadata_api.py,sha256=U2Bd8hNodnJg82gahAKbS1tqkZjyXHI4KIKLgn2tBnw,15525
18
- pulpcore/client/pulp_python/api/remotes_python_api.py,sha256=iT_AeFEvmQ8YPIO4l8r9A12OtXgvJZ_69d_K5gqm_CE,212142
19
- pulpcore/client/pulp_python/api/repositories_python_api.py,sha256=Jq4jklKer-zloV9M1jF1rfY8IqFEjjDuYSQigQPlX0I,228146
20
- pulpcore/client/pulp_python/api/repositories_python_versions_api.py,sha256=ZdlUJn5fCLRlRtbpGW7NK1WPZSRya26jUC3U7b4W0vE,78975
21
- pulpcore/client/pulp_python/models/__init__.py,sha256=vVhq0ydtc_OjdnPpmQVfQgqI3TeJ5RF5K9JDxc7bC34,4302
20
+ pulpcore/client/pulp_python/api/remotes_python_api.py,sha256=HcSET_wQMAiH_rXeLwhf0IXs_2vwdH4lJneu9W1phpw,212626
21
+ pulpcore/client/pulp_python/api/repositories_python_api.py,sha256=i8SOVksVjStA6zIXM4MdvzjdjtAuetxmSDORfWR8mNE,228670
22
+ pulpcore/client/pulp_python/api/repositories_python_versions_api.py,sha256=iT-ZEpA_XYDO-s6ejPYipbmtTfhuANe29xqesWj9GEQ,90486
23
+ pulpcore/client/pulp_python/models/__init__.py,sha256=GrNCirUoNouTfCFqH-tu0uo8AfEa9r5uNNTanMGrGto,4809
22
24
  pulpcore/client/pulp_python/models/async_operation_response.py,sha256=IbcgvoCxfMCL9HXaPJDPLgDo8IKE12QKstLIxzhegt8,2558
23
25
  pulpcore/client/pulp_python/models/content_summary_response.py,sha256=lu9_HyGS1qnHpEQLJYe_e9rk9VGohiCNSI7mi7ZeobA,2714
24
26
  pulpcore/client/pulp_python/models/exclude_platforms_enum.py,sha256=04Ppg5ulYtQgbaOloDE-P8pyUDGjzpCoRWkk5DViO1g,861
27
+ pulpcore/client/pulp_python/models/filetype_enum.py,sha256=6LGvvuQPuCH9Fdq76PH20bsfrsQGRHAmPyE5E1gfAFU,777
28
+ pulpcore/client/pulp_python/models/metadata_version_enum.py,sha256=YhHCPxnW_Yt226SQpfAlqQWQzPEok2xSfvG8MZdRkYA,1003
25
29
  pulpcore/client/pulp_python/models/my_permissions_response.py,sha256=q5KI8WcrUykr38UGVLlque5b7NVMZFd7-Gy0exa-YK8,2519
26
30
  pulpcore/client/pulp_python/models/nested_role.py,sha256=_QDbpC49ZywdkvKtd2vWnh9cxhct1kcHizHxQ1pIvH0,3003
27
31
  pulpcore/client/pulp_python/models/nested_role_response.py,sha256=j3oDMZ6T7FdGcuOdhKM5VkAYn0aUbcF73675vaNDOxk,2874
@@ -30,22 +34,25 @@ pulpcore/client/pulp_python/models/package_metadata_response.py,sha256=b6IZOCoNF
30
34
  pulpcore/client/pulp_python/models/package_types_enum.py,sha256=IxfhKcGOGO-63Uewkd9iYmgNVjD-pFctINtq2l7zwbE,1129
31
35
  pulpcore/client/pulp_python/models/package_upload_task_response.py,sha256=j_QpH3B1nI0hbWeQsV6Sv1bulkOu08BvNhhavao0auc,3228
32
36
  pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py,sha256=DCwGeTvm3Joc2zZzFwYQMcasol-yUbJRJhpXsaJYnFk,3799
37
+ pulpcore/client/pulp_python/models/paginatedpython_package_provenance_response_list.py,sha256=5PmlrpTOXdiVWeiJA2hIA4QfC4Q_k0xJcRbkXX8bTr4,3848
33
38
  pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py,sha256=zIGDcx2h2B3f4jAKjpep6lgi-wUxa85pQ0HSBDSYQFE,3856
34
39
  pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py,sha256=63vgaSBmU3hLTuTScpspMS6ijsvXcjUYDE8NHoqvE5Y,3873
35
40
  pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py,sha256=EuuNpoq33czk_hwjCpvAmqlVLRcGvaOjUlQO_30mA04,3848
36
41
  pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py,sha256=I8vYN8_ebtsNfP0bZo31GwPni3gFffXCd9Lb7Eibouw,3808
37
42
  pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py,sha256=akKY8SOimEW3kgodkKmHVw_-qQUnF5R6FQ_VoaLhrKA,3840
38
- pulpcore/client/pulp_python/models/patchedpython_python_distribution.py,sha256=nJhE9g_i4qWzc6_a0t32G47RxEVYbX-A50wKXW5rjG0,5315
39
- pulpcore/client/pulp_python/models/patchedpython_python_remote.py,sha256=-7xpiyfBaqdnA-6XEQeTV3xdU-1SYEwKaDt-1xHyT9U,13790
43
+ pulpcore/client/pulp_python/models/patchedpython_python_distribution.py,sha256=zeviIUWqoXgvg0tJcxO_ljoa_LKzto1Ln86UmQlx5rM,5770
44
+ pulpcore/client/pulp_python/models/patchedpython_python_remote.py,sha256=ogTglrDUaqbEEN0xgm-uHgYesNA9eQjpmCIT2H_Oskk,14035
40
45
  pulpcore/client/pulp_python/models/patchedpython_python_repository.py,sha256=ofq7dZbPQ13tWddW4042rjZoOVzf3GWaTE1xU4R7oOE,4527
41
46
  pulpcore/client/pulp_python/models/policy_enum.py,sha256=alBNbWymx71uIJJLX3vvtlW-2wIql23bfXHM-DtgCww,1254
42
- pulpcore/client/pulp_python/models/python_python_distribution.py,sha256=aiSN6w8RQRPJ9QM1P2PJBMU0c7Vmb_v9KTNhj1clpNM,5246
43
- pulpcore/client/pulp_python/models/python_python_distribution_response.py,sha256=cL2TPh9AJI8T9qTaatoqk1HxepjhG28dgnosmvo3h9Q,6862
44
- pulpcore/client/pulp_python/models/python_python_package_content_response.py,sha256=lRduFbCAfLPk16Je2OS0w9yYBENLwc5fvlHsgouTIQc,13808
47
+ pulpcore/client/pulp_python/models/protocol_version_enum.py,sha256=1q2qEVmae6pmjjhhNO9-H6gOEo8ZssDV_yjbWxEpciE,718
48
+ pulpcore/client/pulp_python/models/python_package_provenance_response.py,sha256=Uc7-zWii52DlVUI1HFcrmMgsOiN1QEGwATHy1up0O6Y,4720
49
+ pulpcore/client/pulp_python/models/python_python_distribution.py,sha256=HYfWg26C-s9VDKAWJu0WVwrGv9qvKuWPlSW_vWH6TaU,5701
50
+ pulpcore/client/pulp_python/models/python_python_distribution_response.py,sha256=9K4HrULwaoCPFI50IJkzgxUtRVbXGHz0UjESC3VvDtk,7317
51
+ pulpcore/client/pulp_python/models/python_python_package_content_response.py,sha256=05KVPgbxU-nvinyD5sv9JZvJHNDVtgKVnu2co3FLtb8,14737
45
52
  pulpcore/client/pulp_python/models/python_python_publication.py,sha256=NUNRy2CVsCeVR-Tw7QxIyhInF0ks5KfuGqiZwdkxTrc,2772
46
53
  pulpcore/client/pulp_python/models/python_python_publication_response.py,sha256=wkFlShKaSjGp2WMwf78MbmCBvUpB2LNxxzZITwhv5mQ,4212
47
- pulpcore/client/pulp_python/models/python_python_remote.py,sha256=T4xJdl9lce0-WKCizr875SuhrtrV_vf4cbJXZDV2OAE,13721
48
- pulpcore/client/pulp_python/models/python_python_remote_response.py,sha256=Xse3DAktTmtLUPLqBcv0fvE-N7_LjZRWWVXQA79hYbU,12959
54
+ pulpcore/client/pulp_python/models/python_python_remote.py,sha256=J1fwNM0vVmSDA2V54d_n2KLeF-xzoKJFr4X3cbnbwSA,13966
55
+ pulpcore/client/pulp_python/models/python_python_remote_response.py,sha256=iDRUdTiL9P7eVIZGg2rVJYRJkZ4LohbU0paQDCwof78,13204
49
56
  pulpcore/client/pulp_python/models/python_python_remote_response_hidden_fields_inner.py,sha256=D0wzaYrrq8FFmXt8Y3th0dX-FCvRmtTw6Cz3Q_9Lu6g,2659
50
57
  pulpcore/client/pulp_python/models/python_python_repository.py,sha256=Vu1Y3AHvCLmoqWwPgj6WEj_DUZEdpjjFmR6X5_RbHr4,4482
51
58
  pulpcore/client/pulp_python/models/python_python_repository_response.py,sha256=vALiK0YNrtMSFw7A6xRVGqiOHFQK5fvDGbKSYsjUReM,5954
@@ -58,7 +65,7 @@ pulpcore/client/pulp_python/models/set_label_response.py,sha256=nUSYQHAxcJ3ATyUm
58
65
  pulpcore/client/pulp_python/models/summary_response.py,sha256=mWm8XQn_U5GVTIjuTWDu6E8FslOI00tuJYzUOWnb3ME,2867
59
66
  pulpcore/client/pulp_python/models/unset_label.py,sha256=m6s6AFgi5_7fKsjPhcLwz7ZjKXsSd_4F6PS7u5eINO0,2858
60
67
  pulpcore/client/pulp_python/models/unset_label_response.py,sha256=-TZohJf66mUqg4qD04k1dNoyAx69bX_VSf-HM9EpqN8,3046
61
- crc_pulp_python_client-20250929.1.dist-info/METADATA,sha256=ZoTdyiK74WQ8CCjF-gxg1EWjWCRxVhje7MNwftijQyg,641
62
- crc_pulp_python_client-20250929.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
63
- crc_pulp_python_client-20250929.1.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
64
- crc_pulp_python_client-20250929.1.dist-info/RECORD,,
68
+ crc_pulp_python_client-20260113.6.dist-info/METADATA,sha256=MSY22cJkpiyYGVa6uW2NAuJ1OyPkKNKkG_lY2pwGuzg,443928
69
+ crc_pulp_python_client-20260113.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
70
+ crc_pulp_python_client-20260113.6.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
71
+ crc_pulp_python_client-20260113.6.dist-info/RECORD,,
@@ -15,13 +15,15 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "20250929.1"
18
+ __version__ = "20260113.6"
19
19
 
20
20
  # import apis into sdk package
21
+ from pulpcore.client.pulp_python.api.api_integrity_provenance_api import ApiIntegrityProvenanceApi
21
22
  from pulpcore.client.pulp_python.api.api_legacy_api import ApiLegacyApi
22
23
  from pulpcore.client.pulp_python.api.api_pypi_api import ApiPypiApi
23
24
  from pulpcore.client.pulp_python.api.api_simple_api import ApiSimpleApi
24
25
  from pulpcore.client.pulp_python.api.content_packages_api import ContentPackagesApi
26
+ from pulpcore.client.pulp_python.api.content_provenance_api import ContentProvenanceApi
25
27
  from pulpcore.client.pulp_python.api.distributions_pypi_api import DistributionsPypiApi
26
28
  from pulpcore.client.pulp_python.api.publications_pypi_api import PublicationsPypiApi
27
29
  from pulpcore.client.pulp_python.api.pypi_metadata_api import PypiMetadataApi
@@ -44,6 +46,8 @@ from pulpcore.client.pulp_python.exceptions import ApiException
44
46
  from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
45
47
  from pulpcore.client.pulp_python.models.content_summary_response import ContentSummaryResponse
46
48
  from pulpcore.client.pulp_python.models.exclude_platforms_enum import ExcludePlatformsEnum
49
+ from pulpcore.client.pulp_python.models.filetype_enum import FiletypeEnum
50
+ from pulpcore.client.pulp_python.models.metadata_version_enum import MetadataVersionEnum
47
51
  from pulpcore.client.pulp_python.models.my_permissions_response import MyPermissionsResponse
48
52
  from pulpcore.client.pulp_python.models.nested_role import NestedRole
49
53
  from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleResponse
@@ -52,6 +56,7 @@ from pulpcore.client.pulp_python.models.package_metadata_response import Package
52
56
  from pulpcore.client.pulp_python.models.package_types_enum import PackageTypesEnum
53
57
  from pulpcore.client.pulp_python.models.package_upload_task_response import PackageUploadTaskResponse
54
58
  from pulpcore.client.pulp_python.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList
59
+ from pulpcore.client.pulp_python.models.paginatedpython_package_provenance_response_list import PaginatedpythonPackageProvenanceResponseList
55
60
  from pulpcore.client.pulp_python.models.paginatedpython_python_distribution_response_list import PaginatedpythonPythonDistributionResponseList
56
61
  from pulpcore.client.pulp_python.models.paginatedpython_python_package_content_response_list import PaginatedpythonPythonPackageContentResponseList
57
62
  from pulpcore.client.pulp_python.models.paginatedpython_python_publication_response_list import PaginatedpythonPythonPublicationResponseList
@@ -61,6 +66,8 @@ from pulpcore.client.pulp_python.models.patchedpython_python_distribution import
61
66
  from pulpcore.client.pulp_python.models.patchedpython_python_remote import PatchedpythonPythonRemote
62
67
  from pulpcore.client.pulp_python.models.patchedpython_python_repository import PatchedpythonPythonRepository
63
68
  from pulpcore.client.pulp_python.models.policy_enum import PolicyEnum
69
+ from pulpcore.client.pulp_python.models.protocol_version_enum import ProtocolVersionEnum
70
+ from pulpcore.client.pulp_python.models.python_package_provenance_response import PythonPackageProvenanceResponse
64
71
  from pulpcore.client.pulp_python.models.python_python_distribution import PythonPythonDistribution
65
72
  from pulpcore.client.pulp_python.models.python_python_distribution_response import PythonPythonDistributionResponse
66
73
  from pulpcore.client.pulp_python.models.python_python_package_content_response import PythonPythonPackageContentResponse
@@ -1,10 +1,12 @@
1
1
  # flake8: noqa
2
2
 
3
3
  # import apis into api package
4
+ from pulpcore.client.pulp_python.api.api_integrity_provenance_api import ApiIntegrityProvenanceApi
4
5
  from pulpcore.client.pulp_python.api.api_legacy_api import ApiLegacyApi
5
6
  from pulpcore.client.pulp_python.api.api_pypi_api import ApiPypiApi
6
7
  from pulpcore.client.pulp_python.api.api_simple_api import ApiSimpleApi
7
8
  from pulpcore.client.pulp_python.api.content_packages_api import ContentPackagesApi
9
+ from pulpcore.client.pulp_python.api.content_provenance_api import ContentProvenanceApi
8
10
  from pulpcore.client.pulp_python.api.distributions_pypi_api import DistributionsPypiApi
9
11
  from pulpcore.client.pulp_python.api.publications_pypi_api import PublicationsPypiApi
10
12
  from pulpcore.client.pulp_python.api.pypi_metadata_api import PypiMetadataApi
@@ -0,0 +1,407 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Pulp 3 API
5
+
6
+ Fetch, Upload, Organize, and Distribute Software Packages
7
+
8
+ The version of the OpenAPI document: v3
9
+ Contact: pulp-list@redhat.com
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+ import warnings
16
+ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
17
+ from typing import Any, Dict, List, Optional, Tuple, Union
18
+ from typing_extensions import Annotated
19
+
20
+ from pydantic import Field, StrictStr
21
+ from typing import List, Optional
22
+ from typing_extensions import Annotated
23
+
24
+ from pulpcore.client.pulp_python.api_client import ApiClient, RequestSerialized
25
+ from pulpcore.client.pulp_python.api_response import ApiResponse
26
+ from pulpcore.client.pulp_python.rest import RESTResponseType
27
+
28
+
29
+ class ApiIntegrityProvenanceApi:
30
+ """NOTE: This class is auto generated by OpenAPI Generator
31
+ Ref: https://openapi-generator.tech
32
+
33
+ Do not edit the class manually.
34
+ """
35
+
36
+ def __init__(self, api_client=None) -> None:
37
+ if api_client is None:
38
+ api_client = ApiClient.get_default()
39
+ self.api_client = api_client
40
+
41
+
42
+ @validate_call
43
+ def read(
44
+ self,
45
+ filename: StrictStr,
46
+ package: StrictStr,
47
+ path: StrictStr,
48
+ version: StrictStr,
49
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
50
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
51
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
52
+ pulp_domain: StrictStr = "default",
53
+ _request_timeout: Union[
54
+ None,
55
+ Annotated[StrictFloat, Field(gt=0)],
56
+ Tuple[
57
+ Annotated[StrictFloat, Field(gt=0)],
58
+ Annotated[StrictFloat, Field(gt=0)]
59
+ ]
60
+ ] = None,
61
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
62
+ _content_type: Optional[StrictStr] = None,
63
+ _headers: Optional[Dict[StrictStr, Any]] = None,
64
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
65
+ ) -> None:
66
+ """Get package provenance
67
+
68
+ Gets the provenance for a package.
69
+
70
+ :param filename: (required)
71
+ :type filename: str
72
+ :param package: (required)
73
+ :type package: str
74
+ :param path: (required)
75
+ :type path: str
76
+ :param pulp_domain: (required)
77
+ :type pulp_domain: str
78
+ :param version: (required)
79
+ :type version: str
80
+ :param x_task_diagnostics: List of profilers to use on tasks.
81
+ :type x_task_diagnostics: List[str]
82
+ :param fields: A list of fields to include in the response.
83
+ :type fields: List[str]
84
+ :param exclude_fields: A list of fields to exclude from the response.
85
+ :type exclude_fields: List[str]
86
+ :param _request_timeout: timeout setting for this request. If one
87
+ number provided, it will be total request
88
+ timeout. It can also be a pair (tuple) of
89
+ (connection, read) timeouts.
90
+ :type _request_timeout: int, tuple(int, int), optional
91
+ :param _request_auth: set to override the auth_settings for an a single
92
+ request; this effectively ignores the
93
+ authentication in the spec for a single request.
94
+ :type _request_auth: dict, optional
95
+ :param _content_type: force content-type for the request.
96
+ :type _content_type: str, Optional
97
+ :param _headers: set to override the headers for a single
98
+ request; this effectively ignores the headers
99
+ in the spec for a single request.
100
+ :type _headers: dict, optional
101
+ :param _host_index: set to override the host_index for a single
102
+ request; this effectively ignores the host_index
103
+ in the spec for a single request.
104
+ :type _host_index: int, optional
105
+ :return: Returns the result object.
106
+ """ # noqa: E501
107
+
108
+ _param = self._read_serialize(
109
+ filename=filename,
110
+ package=package,
111
+ path=path,
112
+ pulp_domain=pulp_domain,
113
+ version=version,
114
+ x_task_diagnostics=x_task_diagnostics,
115
+ fields=fields,
116
+ exclude_fields=exclude_fields,
117
+ _request_auth=_request_auth,
118
+ _content_type=_content_type,
119
+ _headers=_headers,
120
+ _host_index=_host_index
121
+ )
122
+
123
+ _response_types_map: Dict[str, Optional[str]] = {
124
+ '200': None,
125
+ }
126
+ response_data = self.api_client.call_api(
127
+ *_param,
128
+ _request_timeout=_request_timeout
129
+ )
130
+ response_data.read()
131
+ return self.api_client.response_deserialize(
132
+ response_data=response_data,
133
+ response_types_map=_response_types_map,
134
+ ).data
135
+
136
+
137
+ @validate_call
138
+ def read_with_http_info(
139
+ self,
140
+ filename: StrictStr,
141
+ package: StrictStr,
142
+ path: StrictStr,
143
+ version: StrictStr,
144
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
145
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
146
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
147
+ pulp_domain: StrictStr = "default",
148
+ _request_timeout: Union[
149
+ None,
150
+ Annotated[StrictFloat, Field(gt=0)],
151
+ Tuple[
152
+ Annotated[StrictFloat, Field(gt=0)],
153
+ Annotated[StrictFloat, Field(gt=0)]
154
+ ]
155
+ ] = None,
156
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
157
+ _content_type: Optional[StrictStr] = None,
158
+ _headers: Optional[Dict[StrictStr, Any]] = None,
159
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
160
+ ) -> ApiResponse[None]:
161
+ """Get package provenance
162
+
163
+ Gets the provenance for a package.
164
+
165
+ :param filename: (required)
166
+ :type filename: str
167
+ :param package: (required)
168
+ :type package: str
169
+ :param path: (required)
170
+ :type path: str
171
+ :param pulp_domain: (required)
172
+ :type pulp_domain: str
173
+ :param version: (required)
174
+ :type version: str
175
+ :param x_task_diagnostics: List of profilers to use on tasks.
176
+ :type x_task_diagnostics: List[str]
177
+ :param fields: A list of fields to include in the response.
178
+ :type fields: List[str]
179
+ :param exclude_fields: A list of fields to exclude from the response.
180
+ :type exclude_fields: List[str]
181
+ :param _request_timeout: timeout setting for this request. If one
182
+ number provided, it will be total request
183
+ timeout. It can also be a pair (tuple) of
184
+ (connection, read) timeouts.
185
+ :type _request_timeout: int, tuple(int, int), optional
186
+ :param _request_auth: set to override the auth_settings for an a single
187
+ request; this effectively ignores the
188
+ authentication in the spec for a single request.
189
+ :type _request_auth: dict, optional
190
+ :param _content_type: force content-type for the request.
191
+ :type _content_type: str, Optional
192
+ :param _headers: set to override the headers for a single
193
+ request; this effectively ignores the headers
194
+ in the spec for a single request.
195
+ :type _headers: dict, optional
196
+ :param _host_index: set to override the host_index for a single
197
+ request; this effectively ignores the host_index
198
+ in the spec for a single request.
199
+ :type _host_index: int, optional
200
+ :return: Returns the result object.
201
+ """ # noqa: E501
202
+
203
+ _param = self._read_serialize(
204
+ filename=filename,
205
+ package=package,
206
+ path=path,
207
+ pulp_domain=pulp_domain,
208
+ version=version,
209
+ x_task_diagnostics=x_task_diagnostics,
210
+ fields=fields,
211
+ exclude_fields=exclude_fields,
212
+ _request_auth=_request_auth,
213
+ _content_type=_content_type,
214
+ _headers=_headers,
215
+ _host_index=_host_index
216
+ )
217
+
218
+ _response_types_map: Dict[str, Optional[str]] = {
219
+ '200': None,
220
+ }
221
+ response_data = self.api_client.call_api(
222
+ *_param,
223
+ _request_timeout=_request_timeout
224
+ )
225
+ response_data.read()
226
+ return self.api_client.response_deserialize(
227
+ response_data=response_data,
228
+ response_types_map=_response_types_map,
229
+ )
230
+
231
+
232
+ @validate_call
233
+ def read_without_preload_content(
234
+ self,
235
+ filename: StrictStr,
236
+ package: StrictStr,
237
+ path: StrictStr,
238
+ version: StrictStr,
239
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
240
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
241
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
242
+ pulp_domain: StrictStr = "default",
243
+ _request_timeout: Union[
244
+ None,
245
+ Annotated[StrictFloat, Field(gt=0)],
246
+ Tuple[
247
+ Annotated[StrictFloat, Field(gt=0)],
248
+ Annotated[StrictFloat, Field(gt=0)]
249
+ ]
250
+ ] = None,
251
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
252
+ _content_type: Optional[StrictStr] = None,
253
+ _headers: Optional[Dict[StrictStr, Any]] = None,
254
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
255
+ ) -> RESTResponseType:
256
+ """Get package provenance
257
+
258
+ Gets the provenance for a package.
259
+
260
+ :param filename: (required)
261
+ :type filename: str
262
+ :param package: (required)
263
+ :type package: str
264
+ :param path: (required)
265
+ :type path: str
266
+ :param pulp_domain: (required)
267
+ :type pulp_domain: str
268
+ :param version: (required)
269
+ :type version: str
270
+ :param x_task_diagnostics: List of profilers to use on tasks.
271
+ :type x_task_diagnostics: List[str]
272
+ :param fields: A list of fields to include in the response.
273
+ :type fields: List[str]
274
+ :param exclude_fields: A list of fields to exclude from the response.
275
+ :type exclude_fields: List[str]
276
+ :param _request_timeout: timeout setting for this request. If one
277
+ number provided, it will be total request
278
+ timeout. It can also be a pair (tuple) of
279
+ (connection, read) timeouts.
280
+ :type _request_timeout: int, tuple(int, int), optional
281
+ :param _request_auth: set to override the auth_settings for an a single
282
+ request; this effectively ignores the
283
+ authentication in the spec for a single request.
284
+ :type _request_auth: dict, optional
285
+ :param _content_type: force content-type for the request.
286
+ :type _content_type: str, Optional
287
+ :param _headers: set to override the headers for a single
288
+ request; this effectively ignores the headers
289
+ in the spec for a single request.
290
+ :type _headers: dict, optional
291
+ :param _host_index: set to override the host_index for a single
292
+ request; this effectively ignores the host_index
293
+ in the spec for a single request.
294
+ :type _host_index: int, optional
295
+ :return: Returns the result object.
296
+ """ # noqa: E501
297
+
298
+ _param = self._read_serialize(
299
+ filename=filename,
300
+ package=package,
301
+ path=path,
302
+ pulp_domain=pulp_domain,
303
+ version=version,
304
+ x_task_diagnostics=x_task_diagnostics,
305
+ fields=fields,
306
+ exclude_fields=exclude_fields,
307
+ _request_auth=_request_auth,
308
+ _content_type=_content_type,
309
+ _headers=_headers,
310
+ _host_index=_host_index
311
+ )
312
+
313
+ _response_types_map: Dict[str, Optional[str]] = {
314
+ '200': None,
315
+ }
316
+ response_data = self.api_client.call_api(
317
+ *_param,
318
+ _request_timeout=_request_timeout
319
+ )
320
+ return response_data.response
321
+
322
+
323
+ def _read_serialize(
324
+ self,
325
+ filename,
326
+ package,
327
+ path,
328
+ pulp_domain,
329
+ version,
330
+ x_task_diagnostics,
331
+ fields,
332
+ exclude_fields,
333
+ _request_auth,
334
+ _content_type,
335
+ _headers,
336
+ _host_index,
337
+ ) -> RequestSerialized:
338
+
339
+ _host = None
340
+
341
+ _collection_formats: Dict[str, str] = {
342
+ 'X-Task-Diagnostics': 'csv',
343
+ 'fields': 'multi',
344
+ 'exclude_fields': 'multi',
345
+ }
346
+
347
+ _path_params: Dict[str, str] = {}
348
+ _query_params: List[Tuple[str, str]] = []
349
+ _header_params: Dict[str, Optional[str]] = _headers or {}
350
+ _form_params: List[Tuple[str, str]] = []
351
+ _files: Dict[
352
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
353
+ ] = {}
354
+ _body_params: Optional[bytes] = None
355
+
356
+ # process the path parameters
357
+ if filename is not None:
358
+ _path_params['filename'] = filename
359
+ if package is not None:
360
+ _path_params['package'] = package
361
+ if path is not None:
362
+ _path_params['path'] = path
363
+ if pulp_domain is not None:
364
+ _path_params['pulp_domain'] = pulp_domain
365
+ if version is not None:
366
+ _path_params['version'] = version
367
+ # process the query parameters
368
+ if fields is not None:
369
+
370
+ _query_params.append(('fields', fields))
371
+
372
+ if exclude_fields is not None:
373
+
374
+ _query_params.append(('exclude_fields', exclude_fields))
375
+
376
+ # process the header parameters
377
+ if x_task_diagnostics is not None:
378
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
379
+ # process the form parameters
380
+ # process the body parameter
381
+
382
+
383
+
384
+
385
+ # authentication setting
386
+ _auth_settings: List[str] = [
387
+ 'json_header_remote_authentication',
388
+ 'basicAuth',
389
+ 'cookieAuth'
390
+ ]
391
+
392
+ return self.api_client.param_serialize(
393
+ method='GET',
394
+ resource_path='/api/pypi/{pulp_domain}/{path}/integrity/{package}/{version}/{filename}/provenance/',
395
+ path_params=_path_params,
396
+ query_params=_query_params,
397
+ header_params=_header_params,
398
+ body=_body_params,
399
+ post_params=_form_params,
400
+ files=_files,
401
+ auth_settings=_auth_settings,
402
+ collection_formats=_collection_formats,
403
+ _host=_host,
404
+ _request_auth=_request_auth
405
+ )
406
+
407
+