crc-pulpcore-client 20250819.1__py3-none-any.whl → 20250821.1__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.

Potentially problematic release.


This version of crc-pulpcore-client might be problematic. Click here for more details.

Files changed (239) hide show
  1. crc-pulpcore-client/api_client.py +1 -1
  2. crc-pulpcore-client/configuration.py +3 -3
  3. crc-pulpcore-client/models/artifact_distribution_response.py +13 -13
  4. {crc_pulpcore_client-20250819.1.dist-info → crc_pulpcore_client-20250821.1.dist-info}/METADATA +1 -1
  5. crc_pulpcore_client-20250821.1.dist-info/RECORD +234 -0
  6. crc_pulpcore_client-20250821.1.dist-info/top_level.txt +1 -0
  7. crc_pulpcore_client-20250819.1.dist-info/RECORD +0 -464
  8. crc_pulpcore_client-20250819.1.dist-info/top_level.txt +0 -2
  9. services-pulpcore-client/__init__.py +0 -2
  10. services-pulpcore-client/api/__init__.py +0 -53
  11. services-pulpcore-client/api/access_policies_api.py +0 -1864
  12. services-pulpcore-client/api/artifacts_api.py +0 -1615
  13. services-pulpcore-client/api/content_api.py +0 -598
  14. services-pulpcore-client/api/content_openpgp_publickey_api.py +0 -1887
  15. services-pulpcore-client/api/content_openpgp_publicsubkey_api.py +0 -1518
  16. services-pulpcore-client/api/content_openpgp_signature_api.py +0 -1518
  17. services-pulpcore-client/api/content_openpgp_userattribute_api.py +0 -1518
  18. services-pulpcore-client/api/content_openpgp_userid_api.py +0 -1655
  19. services-pulpcore-client/api/contentguards_api.py +0 -667
  20. services-pulpcore-client/api/contentguards_composite_api.py +0 -3401
  21. services-pulpcore-client/api/contentguards_content_redirect_api.py +0 -3401
  22. services-pulpcore-client/api/contentguards_header_api.py +0 -3401
  23. services-pulpcore-client/api/contentguards_rbac_api.py +0 -3401
  24. services-pulpcore-client/api/distributions_api.py +0 -822
  25. services-pulpcore-client/api/distributions_artifacts_api.py +0 -1103
  26. services-pulpcore-client/api/distributions_openpgp_api.py +0 -2676
  27. services-pulpcore-client/api/domains_api.py +0 -3106
  28. services-pulpcore-client/api/exporters_filesystem_api.py +0 -2157
  29. services-pulpcore-client/api/exporters_filesystem_exports_api.py +0 -1288
  30. services-pulpcore-client/api/exporters_pulp_api.py +0 -2157
  31. services-pulpcore-client/api/exporters_pulp_exports_api.py +0 -1288
  32. services-pulpcore-client/api/groups_api.py +0 -3368
  33. services-pulpcore-client/api/groups_roles_api.py +0 -1496
  34. services-pulpcore-client/api/groups_users_api.py +0 -972
  35. services-pulpcore-client/api/importers_pulp_api.py +0 -2149
  36. services-pulpcore-client/api/importers_pulp_import_check_api.py +0 -350
  37. services-pulpcore-client/api/importers_pulp_imports_api.py +0 -1288
  38. services-pulpcore-client/api/livez_api.py +0 -329
  39. services-pulpcore-client/api/login_api.py +0 -897
  40. services-pulpcore-client/api/orphans_api.py +0 -319
  41. services-pulpcore-client/api/orphans_cleanup_api.py +0 -350
  42. services-pulpcore-client/api/publications_api.py +0 -765
  43. services-pulpcore-client/api/remotes_api.py +0 -850
  44. services-pulpcore-client/api/repair_api.py +0 -350
  45. services-pulpcore-client/api/repositories_api.py +0 -872
  46. services-pulpcore-client/api/repositories_openpgp_keyring_api.py +0 -4546
  47. services-pulpcore-client/api/repositories_reclaim_space_api.py +0 -350
  48. services-pulpcore-client/api/repository_versions_api.py +0 -764
  49. services-pulpcore-client/api/roles_api.py +0 -2269
  50. services-pulpcore-client/api/signing_services_api.py +0 -811
  51. services-pulpcore-client/api/status_api.py +0 -337
  52. services-pulpcore-client/api/task_groups_api.py +0 -1012
  53. services-pulpcore-client/api/task_schedules_api.py +0 -2114
  54. services-pulpcore-client/api/tasks_api.py +0 -4299
  55. services-pulpcore-client/api/uploads_api.py +0 -3346
  56. services-pulpcore-client/api/upstream_pulps_api.py +0 -4001
  57. services-pulpcore-client/api/users_api.py +0 -2373
  58. services-pulpcore-client/api/users_roles_api.py +0 -1496
  59. services-pulpcore-client/api/workers_api.py +0 -1148
  60. services-pulpcore-client/api_client.py +0 -798
  61. services-pulpcore-client/api_response.py +0 -21
  62. services-pulpcore-client/configuration.py +0 -628
  63. services-pulpcore-client/exceptions.py +0 -200
  64. services-pulpcore-client/models/__init__.py +0 -189
  65. services-pulpcore-client/models/access_policy.py +0 -94
  66. services-pulpcore-client/models/access_policy_response.py +0 -119
  67. services-pulpcore-client/models/api_app_status_response.py +0 -99
  68. services-pulpcore-client/models/artifact_distribution_response.py +0 -126
  69. services-pulpcore-client/models/artifact_response.py +0 -149
  70. services-pulpcore-client/models/async_operation_response.py +0 -88
  71. services-pulpcore-client/models/composite_content_guard.py +0 -98
  72. services-pulpcore-client/models/composite_content_guard_response.py +0 -114
  73. services-pulpcore-client/models/content_app_status_response.py +0 -99
  74. services-pulpcore-client/models/content_guard_response.py +0 -112
  75. services-pulpcore-client/models/content_redirect_content_guard.py +0 -96
  76. services-pulpcore-client/models/content_redirect_content_guard_response.py +0 -112
  77. services-pulpcore-client/models/content_settings_response.py +0 -95
  78. services-pulpcore-client/models/content_summary_response.py +0 -92
  79. services-pulpcore-client/models/database_connection_response.py +0 -88
  80. services-pulpcore-client/models/distribution_response.py +0 -133
  81. services-pulpcore-client/models/domain.py +0 -114
  82. services-pulpcore-client/models/domain_backend_migrator.py +0 -91
  83. services-pulpcore-client/models/domain_response.py +0 -131
  84. services-pulpcore-client/models/evaluation_response.py +0 -92
  85. services-pulpcore-client/models/filesystem_export.py +0 -99
  86. services-pulpcore-client/models/filesystem_export_response.py +0 -118
  87. services-pulpcore-client/models/filesystem_exporter.py +0 -94
  88. services-pulpcore-client/models/filesystem_exporter_response.py +0 -110
  89. services-pulpcore-client/models/generic_remote_response.py +0 -199
  90. services-pulpcore-client/models/generic_remote_response_hidden_fields_inner.py +0 -90
  91. services-pulpcore-client/models/generic_remote_response_policy_enum.py +0 -39
  92. services-pulpcore-client/models/group.py +0 -89
  93. services-pulpcore-client/models/group_progress_report_response.py +0 -111
  94. services-pulpcore-client/models/group_response.py +0 -101
  95. services-pulpcore-client/models/group_role.py +0 -110
  96. services-pulpcore-client/models/group_role_response.py +0 -134
  97. services-pulpcore-client/models/group_user.py +0 -89
  98. services-pulpcore-client/models/group_user_response.py +0 -97
  99. services-pulpcore-client/models/header_content_guard.py +0 -107
  100. services-pulpcore-client/models/header_content_guard_response.py +0 -123
  101. services-pulpcore-client/models/import_response.py +0 -107
  102. services-pulpcore-client/models/login_response.py +0 -98
  103. services-pulpcore-client/models/method_enum.py +0 -39
  104. services-pulpcore-client/models/minimal_task_response.py +0 -125
  105. services-pulpcore-client/models/multiple_artifact_content_response.py +0 -107
  106. services-pulpcore-client/models/my_permissions_response.py +0 -88
  107. services-pulpcore-client/models/nested_open_pgp_public_subkey.py +0 -92
  108. services-pulpcore-client/models/nested_open_pgp_public_subkey_response.py +0 -104
  109. services-pulpcore-client/models/nested_open_pgp_signature.py +0 -120
  110. services-pulpcore-client/models/nested_open_pgp_signature_response.py +0 -124
  111. services-pulpcore-client/models/nested_open_pgp_user_attribute.py +0 -89
  112. services-pulpcore-client/models/nested_open_pgp_user_attribute_response.py +0 -101
  113. services-pulpcore-client/models/nested_open_pgp_user_id.py +0 -89
  114. services-pulpcore-client/models/nested_open_pgp_user_id_response.py +0 -100
  115. services-pulpcore-client/models/nested_role.py +0 -93
  116. services-pulpcore-client/models/nested_role_response.py +0 -92
  117. services-pulpcore-client/models/object_roles_response.py +0 -96
  118. services-pulpcore-client/models/open_pgp_distribution.py +0 -116
  119. services-pulpcore-client/models/open_pgp_distribution_response.py +0 -140
  120. services-pulpcore-client/models/open_pgp_keyring.py +0 -112
  121. services-pulpcore-client/models/open_pgp_keyring_response.py +0 -137
  122. services-pulpcore-client/models/open_pgp_public_key_response.py +0 -150
  123. services-pulpcore-client/models/open_pgp_public_subkey_response.py +0 -126
  124. services-pulpcore-client/models/open_pgp_signature_response.py +0 -146
  125. services-pulpcore-client/models/open_pgp_user_attribute_response.py +0 -124
  126. services-pulpcore-client/models/open_pgp_user_id_response.py +0 -123
  127. services-pulpcore-client/models/orphans_cleanup.py +0 -96
  128. services-pulpcore-client/models/paginated_access_policy_response_list.py +0 -112
  129. services-pulpcore-client/models/paginated_artifact_distribution_response_list.py +0 -112
  130. services-pulpcore-client/models/paginated_artifact_response_list.py +0 -112
  131. services-pulpcore-client/models/paginated_composite_content_guard_response_list.py +0 -112
  132. services-pulpcore-client/models/paginated_content_guard_response_list.py +0 -112
  133. services-pulpcore-client/models/paginated_content_redirect_content_guard_response_list.py +0 -112
  134. services-pulpcore-client/models/paginated_distribution_response_list.py +0 -112
  135. services-pulpcore-client/models/paginated_domain_response_list.py +0 -112
  136. services-pulpcore-client/models/paginated_filesystem_export_response_list.py +0 -112
  137. services-pulpcore-client/models/paginated_filesystem_exporter_response_list.py +0 -112
  138. services-pulpcore-client/models/paginated_generic_remote_response_list.py +0 -112
  139. services-pulpcore-client/models/paginated_group_response_list.py +0 -112
  140. services-pulpcore-client/models/paginated_group_role_response_list.py +0 -112
  141. services-pulpcore-client/models/paginated_group_user_response_list.py +0 -112
  142. services-pulpcore-client/models/paginated_header_content_guard_response_list.py +0 -112
  143. services-pulpcore-client/models/paginated_import_response_list.py +0 -112
  144. services-pulpcore-client/models/paginated_multiple_artifact_content_response_list.py +0 -112
  145. services-pulpcore-client/models/paginated_open_pgp_distribution_response_list.py +0 -112
  146. services-pulpcore-client/models/paginated_open_pgp_keyring_response_list.py +0 -112
  147. services-pulpcore-client/models/paginated_open_pgp_public_key_response_list.py +0 -112
  148. services-pulpcore-client/models/paginated_open_pgp_public_subkey_response_list.py +0 -112
  149. services-pulpcore-client/models/paginated_open_pgp_signature_response_list.py +0 -112
  150. services-pulpcore-client/models/paginated_open_pgp_user_attribute_response_list.py +0 -112
  151. services-pulpcore-client/models/paginated_open_pgp_user_id_response_list.py +0 -112
  152. services-pulpcore-client/models/paginated_publication_response_list.py +0 -112
  153. services-pulpcore-client/models/paginated_pulp_export_response_list.py +0 -112
  154. services-pulpcore-client/models/paginated_pulp_exporter_response_list.py +0 -112
  155. services-pulpcore-client/models/paginated_pulp_importer_response_list.py +0 -112
  156. services-pulpcore-client/models/paginated_rbac_content_guard_response_list.py +0 -112
  157. services-pulpcore-client/models/paginated_repository_response_list.py +0 -112
  158. services-pulpcore-client/models/paginated_repository_version_response_list.py +0 -112
  159. services-pulpcore-client/models/paginated_role_response_list.py +0 -112
  160. services-pulpcore-client/models/paginated_signing_service_response_list.py +0 -112
  161. services-pulpcore-client/models/paginated_task_group_response_list.py +0 -112
  162. services-pulpcore-client/models/paginated_task_response_list.py +0 -112
  163. services-pulpcore-client/models/paginated_task_schedule_response_list.py +0 -112
  164. services-pulpcore-client/models/paginated_upload_response_list.py +0 -112
  165. services-pulpcore-client/models/paginated_upstream_pulp_response_list.py +0 -112
  166. services-pulpcore-client/models/paginated_user_response_list.py +0 -112
  167. services-pulpcore-client/models/paginated_user_role_response_list.py +0 -112
  168. services-pulpcore-client/models/paginated_worker_response_list.py +0 -112
  169. services-pulpcore-client/models/patched_access_policy.py +0 -94
  170. services-pulpcore-client/models/patched_composite_content_guard.py +0 -98
  171. services-pulpcore-client/models/patched_content_redirect_content_guard.py +0 -96
  172. services-pulpcore-client/models/patched_domain.py +0 -117
  173. services-pulpcore-client/models/patched_filesystem_exporter.py +0 -94
  174. services-pulpcore-client/models/patched_group.py +0 -89
  175. services-pulpcore-client/models/patched_header_content_guard.py +0 -107
  176. services-pulpcore-client/models/patched_open_pgp_distribution.py +0 -116
  177. services-pulpcore-client/models/patched_open_pgp_keyring.py +0 -112
  178. services-pulpcore-client/models/patched_pulp_exporter.py +0 -100
  179. services-pulpcore-client/models/patched_pulp_importer.py +0 -91
  180. services-pulpcore-client/models/patched_rbac_content_guard.py +0 -96
  181. services-pulpcore-client/models/patched_role.py +0 -98
  182. services-pulpcore-client/models/patched_task_cancel.py +0 -89
  183. services-pulpcore-client/models/patched_upstream_pulp.py +0 -147
  184. services-pulpcore-client/models/patched_user.py +0 -106
  185. services-pulpcore-client/models/policy357_enum.py +0 -39
  186. services-pulpcore-client/models/profile_artifact_response.py +0 -88
  187. services-pulpcore-client/models/progress_report_response.py +0 -115
  188. services-pulpcore-client/models/publication_response.py +0 -107
  189. services-pulpcore-client/models/pulp_export.py +0 -104
  190. services-pulpcore-client/models/pulp_export_response.py +0 -126
  191. services-pulpcore-client/models/pulp_exporter.py +0 -100
  192. services-pulpcore-client/models/pulp_exporter_response.py +0 -116
  193. services-pulpcore-client/models/pulp_import.py +0 -93
  194. services-pulpcore-client/models/pulp_import_check.py +0 -93
  195. services-pulpcore-client/models/pulp_import_check_response.py +0 -102
  196. services-pulpcore-client/models/pulp_importer.py +0 -91
  197. services-pulpcore-client/models/pulp_importer_response.py +0 -107
  198. services-pulpcore-client/models/purge.py +0 -92
  199. services-pulpcore-client/models/rbac_content_guard.py +0 -96
  200. services-pulpcore-client/models/rbac_content_guard_response.py +0 -136
  201. services-pulpcore-client/models/reclaim_space.py +0 -90
  202. services-pulpcore-client/models/redis_connection_response.py +0 -88
  203. services-pulpcore-client/models/repair.py +0 -88
  204. services-pulpcore-client/models/repository_add_remove_content.py +0 -93
  205. services-pulpcore-client/models/repository_response.py +0 -137
  206. services-pulpcore-client/models/repository_version_response.py +0 -121
  207. services-pulpcore-client/models/role.py +0 -98
  208. services-pulpcore-client/models/role_response.py +0 -118
  209. services-pulpcore-client/models/set_label.py +0 -103
  210. services-pulpcore-client/models/set_label_response.py +0 -103
  211. services-pulpcore-client/models/signing_service_response.py +0 -111
  212. services-pulpcore-client/models/states_enum.py +0 -40
  213. services-pulpcore-client/models/status_response.py +0 -152
  214. services-pulpcore-client/models/storage_class_enum.py +0 -40
  215. services-pulpcore-client/models/storage_response.py +0 -108
  216. services-pulpcore-client/models/task_group_operation_response.py +0 -88
  217. services-pulpcore-client/models/task_group_response.py +0 -150
  218. services-pulpcore-client/models/task_response.py +0 -167
  219. services-pulpcore-client/models/task_schedule_response.py +0 -127
  220. services-pulpcore-client/models/unset_label.py +0 -96
  221. services-pulpcore-client/models/unset_label_response.py +0 -100
  222. services-pulpcore-client/models/upload.py +0 -88
  223. services-pulpcore-client/models/upload_chunk_response.py +0 -94
  224. services-pulpcore-client/models/upload_commit.py +0 -89
  225. services-pulpcore-client/models/upload_detail_response.py +0 -121
  226. services-pulpcore-client/models/upload_response.py +0 -109
  227. services-pulpcore-client/models/upstream_pulp.py +0 -147
  228. services-pulpcore-client/models/upstream_pulp_response.py +0 -158
  229. services-pulpcore-client/models/user.py +0 -106
  230. services-pulpcore-client/models/user_group.py +0 -89
  231. services-pulpcore-client/models/user_group_response.py +0 -97
  232. services-pulpcore-client/models/user_response.py +0 -140
  233. services-pulpcore-client/models/user_role.py +0 -110
  234. services-pulpcore-client/models/user_role_response.py +0 -134
  235. services-pulpcore-client/models/version_response.py +0 -96
  236. services-pulpcore-client/models/worker_response.py +0 -119
  237. services-pulpcore-client/py.typed +0 -0
  238. services-pulpcore-client/rest.py +0 -258
  239. {crc_pulpcore_client-20250819.1.dist-info → crc_pulpcore_client-20250821.1.dist-info}/WHEEL +0 -0
@@ -1,822 +0,0 @@
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, StrictBool, StrictInt, StrictStr, field_validator
21
- from typing import List, Optional
22
- from typing_extensions import Annotated
23
- from services-pulpcore-client.models.paginated_distribution_response_list import PaginatedDistributionResponseList
24
-
25
- from services-pulpcore-client.api_client import ApiClient, RequestSerialized
26
- from services-pulpcore-client.api_response import ApiResponse
27
- from services-pulpcore-client.rest import RESTResponseType
28
-
29
-
30
- class DistributionsApi:
31
- """NOTE: This class is auto generated by OpenAPI Generator
32
- Ref: https://openapi-generator.tech
33
-
34
- Do not edit the class manually.
35
- """
36
-
37
- def __init__(self, api_client=None) -> None:
38
- if api_client is None:
39
- api_client = ApiClient.get_default()
40
- self.api_client = api_client
41
-
42
-
43
- @validate_call
44
- def list(
45
- self,
46
- x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
47
- base_path: Annotated[Optional[StrictStr], Field(description="Filter results where base_path matches value")] = None,
48
- base_path__contains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
49
- base_path__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
50
- base_path__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where base_path is in a comma-separated list of values")] = None,
51
- checkpoint: Annotated[Optional[StrictBool], Field(description="Filter results where checkpoint matches value")] = None,
52
- limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
53
- name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
54
- name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
55
- name__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
56
- name__iexact: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
57
- name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
58
- name__iregex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
59
- name__istartswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
60
- name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
61
- name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
62
- offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
63
- ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
64
- prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
65
- pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
66
- pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
67
- pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
68
- pulp_type: Annotated[Optional[StrictStr], Field(description="Pulp type * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `container.pull-through` - container.pull-through * `container.container` - container.container * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `file.file` - file.file")] = None,
69
- pulp_type__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas. * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `container.pull-through` - container.pull-through * `container.container` - container.container * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `file.file` - file.file")] = None,
70
- q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
71
- repository: Annotated[Optional[StrictStr], Field(description="Filter results where repository matches value")] = None,
72
- repository__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where repository is in a comma-separated list of values")] = None,
73
- with_content: Annotated[Optional[StrictStr], Field(description="Filter distributions based on the content served by them")] = None,
74
- fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
75
- exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
76
- pulp_domain: StrictStr = "default",
77
- _request_timeout: Union[
78
- None,
79
- Annotated[StrictFloat, Field(gt=0)],
80
- Tuple[
81
- Annotated[StrictFloat, Field(gt=0)],
82
- Annotated[StrictFloat, Field(gt=0)]
83
- ]
84
- ] = None,
85
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
86
- _content_type: Optional[StrictStr] = None,
87
- _headers: Optional[Dict[StrictStr, Any]] = None,
88
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
89
- ) -> PaginatedDistributionResponseList:
90
- """List distributions
91
-
92
- Provides base viewset for Distributions.
93
-
94
- :param pulp_domain: (required)
95
- :type pulp_domain: str
96
- :param x_task_diagnostics: List of profilers to use on tasks.
97
- :type x_task_diagnostics: List[str]
98
- :param base_path: Filter results where base_path matches value
99
- :type base_path: str
100
- :param base_path__contains: Filter results where base_path contains value
101
- :type base_path__contains: str
102
- :param base_path__icontains: Filter results where base_path contains value
103
- :type base_path__icontains: str
104
- :param base_path__in: Filter results where base_path is in a comma-separated list of values
105
- :type base_path__in: List[str]
106
- :param checkpoint: Filter results where checkpoint matches value
107
- :type checkpoint: bool
108
- :param limit: Number of results to return per page.
109
- :type limit: int
110
- :param name: Filter results where name matches value
111
- :type name: str
112
- :param name__contains: Filter results where name contains value
113
- :type name__contains: str
114
- :param name__icontains: Filter results where name contains value
115
- :type name__icontains: str
116
- :param name__iexact: Filter results where name matches value
117
- :type name__iexact: str
118
- :param name__in: Filter results where name is in a comma-separated list of values
119
- :type name__in: List[str]
120
- :param name__iregex: Filter results where name matches regex value
121
- :type name__iregex: str
122
- :param name__istartswith: Filter results where name starts with value
123
- :type name__istartswith: str
124
- :param name__regex: Filter results where name matches regex value
125
- :type name__regex: str
126
- :param name__startswith: Filter results where name starts with value
127
- :type name__startswith: str
128
- :param offset: The initial index from which to return the results.
129
- :type offset: int
130
- :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
131
- :type ordering: List[str]
132
- :param prn__in: Multiple values may be separated by commas.
133
- :type prn__in: List[str]
134
- :param pulp_href__in: Multiple values may be separated by commas.
135
- :type pulp_href__in: List[str]
136
- :param pulp_id__in: Multiple values may be separated by commas.
137
- :type pulp_id__in: List[str]
138
- :param pulp_label_select: Filter labels by search string
139
- :type pulp_label_select: str
140
- :param pulp_type: Pulp type * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `container.pull-through` - container.pull-through * `container.container` - container.container * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `file.file` - file.file
141
- :type pulp_type: str
142
- :param pulp_type__in: Multiple values may be separated by commas. * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `container.pull-through` - container.pull-through * `container.container` - container.container * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `file.file` - file.file
143
- :type pulp_type__in: List[str]
144
- :param q: Filter results by using NOT, AND and OR operations on other filters
145
- :type q: str
146
- :param repository: Filter results where repository matches value
147
- :type repository: str
148
- :param repository__in: Filter results where repository is in a comma-separated list of values
149
- :type repository__in: List[str]
150
- :param with_content: Filter distributions based on the content served by them
151
- :type with_content: str
152
- :param fields: A list of fields to include in the response.
153
- :type fields: List[str]
154
- :param exclude_fields: A list of fields to exclude from the response.
155
- :type exclude_fields: List[str]
156
- :param _request_timeout: timeout setting for this request. If one
157
- number provided, it will be total request
158
- timeout. It can also be a pair (tuple) of
159
- (connection, read) timeouts.
160
- :type _request_timeout: int, tuple(int, int), optional
161
- :param _request_auth: set to override the auth_settings for an a single
162
- request; this effectively ignores the
163
- authentication in the spec for a single request.
164
- :type _request_auth: dict, optional
165
- :param _content_type: force content-type for the request.
166
- :type _content_type: str, Optional
167
- :param _headers: set to override the headers for a single
168
- request; this effectively ignores the headers
169
- in the spec for a single request.
170
- :type _headers: dict, optional
171
- :param _host_index: set to override the host_index for a single
172
- request; this effectively ignores the host_index
173
- in the spec for a single request.
174
- :type _host_index: int, optional
175
- :return: Returns the result object.
176
- """ # noqa: E501
177
-
178
- _param = self._list_serialize(
179
- pulp_domain=pulp_domain,
180
- x_task_diagnostics=x_task_diagnostics,
181
- base_path=base_path,
182
- base_path__contains=base_path__contains,
183
- base_path__icontains=base_path__icontains,
184
- base_path__in=base_path__in,
185
- checkpoint=checkpoint,
186
- limit=limit,
187
- name=name,
188
- name__contains=name__contains,
189
- name__icontains=name__icontains,
190
- name__iexact=name__iexact,
191
- name__in=name__in,
192
- name__iregex=name__iregex,
193
- name__istartswith=name__istartswith,
194
- name__regex=name__regex,
195
- name__startswith=name__startswith,
196
- offset=offset,
197
- ordering=ordering,
198
- prn__in=prn__in,
199
- pulp_href__in=pulp_href__in,
200
- pulp_id__in=pulp_id__in,
201
- pulp_label_select=pulp_label_select,
202
- pulp_type=pulp_type,
203
- pulp_type__in=pulp_type__in,
204
- q=q,
205
- repository=repository,
206
- repository__in=repository__in,
207
- with_content=with_content,
208
- fields=fields,
209
- exclude_fields=exclude_fields,
210
- _request_auth=_request_auth,
211
- _content_type=_content_type,
212
- _headers=_headers,
213
- _host_index=_host_index
214
- )
215
-
216
- _response_types_map: Dict[str, Optional[str]] = {
217
- '200': "PaginatedDistributionResponseList",
218
- }
219
- response_data = self.api_client.call_api(
220
- *_param,
221
- _request_timeout=_request_timeout
222
- )
223
- response_data.read()
224
- return self.api_client.response_deserialize(
225
- response_data=response_data,
226
- response_types_map=_response_types_map,
227
- ).data
228
-
229
-
230
- @validate_call
231
- def list_with_http_info(
232
- self,
233
- x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
234
- base_path: Annotated[Optional[StrictStr], Field(description="Filter results where base_path matches value")] = None,
235
- base_path__contains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
236
- base_path__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
237
- base_path__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where base_path is in a comma-separated list of values")] = None,
238
- checkpoint: Annotated[Optional[StrictBool], Field(description="Filter results where checkpoint matches value")] = None,
239
- limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
240
- name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
241
- name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
242
- name__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
243
- name__iexact: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
244
- name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
245
- name__iregex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
246
- name__istartswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
247
- name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
248
- name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
249
- offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
250
- ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
251
- prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
252
- pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
253
- pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
254
- pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
255
- pulp_type: Annotated[Optional[StrictStr], Field(description="Pulp type * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `container.pull-through` - container.pull-through * `container.container` - container.container * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `file.file` - file.file")] = None,
256
- pulp_type__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas. * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `container.pull-through` - container.pull-through * `container.container` - container.container * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `file.file` - file.file")] = None,
257
- q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
258
- repository: Annotated[Optional[StrictStr], Field(description="Filter results where repository matches value")] = None,
259
- repository__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where repository is in a comma-separated list of values")] = None,
260
- with_content: Annotated[Optional[StrictStr], Field(description="Filter distributions based on the content served by them")] = None,
261
- fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
262
- exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
263
- pulp_domain: StrictStr = "default",
264
- _request_timeout: Union[
265
- None,
266
- Annotated[StrictFloat, Field(gt=0)],
267
- Tuple[
268
- Annotated[StrictFloat, Field(gt=0)],
269
- Annotated[StrictFloat, Field(gt=0)]
270
- ]
271
- ] = None,
272
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
273
- _content_type: Optional[StrictStr] = None,
274
- _headers: Optional[Dict[StrictStr, Any]] = None,
275
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
276
- ) -> ApiResponse[PaginatedDistributionResponseList]:
277
- """List distributions
278
-
279
- Provides base viewset for Distributions.
280
-
281
- :param pulp_domain: (required)
282
- :type pulp_domain: str
283
- :param x_task_diagnostics: List of profilers to use on tasks.
284
- :type x_task_diagnostics: List[str]
285
- :param base_path: Filter results where base_path matches value
286
- :type base_path: str
287
- :param base_path__contains: Filter results where base_path contains value
288
- :type base_path__contains: str
289
- :param base_path__icontains: Filter results where base_path contains value
290
- :type base_path__icontains: str
291
- :param base_path__in: Filter results where base_path is in a comma-separated list of values
292
- :type base_path__in: List[str]
293
- :param checkpoint: Filter results where checkpoint matches value
294
- :type checkpoint: bool
295
- :param limit: Number of results to return per page.
296
- :type limit: int
297
- :param name: Filter results where name matches value
298
- :type name: str
299
- :param name__contains: Filter results where name contains value
300
- :type name__contains: str
301
- :param name__icontains: Filter results where name contains value
302
- :type name__icontains: str
303
- :param name__iexact: Filter results where name matches value
304
- :type name__iexact: str
305
- :param name__in: Filter results where name is in a comma-separated list of values
306
- :type name__in: List[str]
307
- :param name__iregex: Filter results where name matches regex value
308
- :type name__iregex: str
309
- :param name__istartswith: Filter results where name starts with value
310
- :type name__istartswith: str
311
- :param name__regex: Filter results where name matches regex value
312
- :type name__regex: str
313
- :param name__startswith: Filter results where name starts with value
314
- :type name__startswith: str
315
- :param offset: The initial index from which to return the results.
316
- :type offset: int
317
- :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
318
- :type ordering: List[str]
319
- :param prn__in: Multiple values may be separated by commas.
320
- :type prn__in: List[str]
321
- :param pulp_href__in: Multiple values may be separated by commas.
322
- :type pulp_href__in: List[str]
323
- :param pulp_id__in: Multiple values may be separated by commas.
324
- :type pulp_id__in: List[str]
325
- :param pulp_label_select: Filter labels by search string
326
- :type pulp_label_select: str
327
- :param pulp_type: Pulp type * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `container.pull-through` - container.pull-through * `container.container` - container.container * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `file.file` - file.file
328
- :type pulp_type: str
329
- :param pulp_type__in: Multiple values may be separated by commas. * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `container.pull-through` - container.pull-through * `container.container` - container.container * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `file.file` - file.file
330
- :type pulp_type__in: List[str]
331
- :param q: Filter results by using NOT, AND and OR operations on other filters
332
- :type q: str
333
- :param repository: Filter results where repository matches value
334
- :type repository: str
335
- :param repository__in: Filter results where repository is in a comma-separated list of values
336
- :type repository__in: List[str]
337
- :param with_content: Filter distributions based on the content served by them
338
- :type with_content: str
339
- :param fields: A list of fields to include in the response.
340
- :type fields: List[str]
341
- :param exclude_fields: A list of fields to exclude from the response.
342
- :type exclude_fields: List[str]
343
- :param _request_timeout: timeout setting for this request. If one
344
- number provided, it will be total request
345
- timeout. It can also be a pair (tuple) of
346
- (connection, read) timeouts.
347
- :type _request_timeout: int, tuple(int, int), optional
348
- :param _request_auth: set to override the auth_settings for an a single
349
- request; this effectively ignores the
350
- authentication in the spec for a single request.
351
- :type _request_auth: dict, optional
352
- :param _content_type: force content-type for the request.
353
- :type _content_type: str, Optional
354
- :param _headers: set to override the headers for a single
355
- request; this effectively ignores the headers
356
- in the spec for a single request.
357
- :type _headers: dict, optional
358
- :param _host_index: set to override the host_index for a single
359
- request; this effectively ignores the host_index
360
- in the spec for a single request.
361
- :type _host_index: int, optional
362
- :return: Returns the result object.
363
- """ # noqa: E501
364
-
365
- _param = self._list_serialize(
366
- pulp_domain=pulp_domain,
367
- x_task_diagnostics=x_task_diagnostics,
368
- base_path=base_path,
369
- base_path__contains=base_path__contains,
370
- base_path__icontains=base_path__icontains,
371
- base_path__in=base_path__in,
372
- checkpoint=checkpoint,
373
- limit=limit,
374
- name=name,
375
- name__contains=name__contains,
376
- name__icontains=name__icontains,
377
- name__iexact=name__iexact,
378
- name__in=name__in,
379
- name__iregex=name__iregex,
380
- name__istartswith=name__istartswith,
381
- name__regex=name__regex,
382
- name__startswith=name__startswith,
383
- offset=offset,
384
- ordering=ordering,
385
- prn__in=prn__in,
386
- pulp_href__in=pulp_href__in,
387
- pulp_id__in=pulp_id__in,
388
- pulp_label_select=pulp_label_select,
389
- pulp_type=pulp_type,
390
- pulp_type__in=pulp_type__in,
391
- q=q,
392
- repository=repository,
393
- repository__in=repository__in,
394
- with_content=with_content,
395
- fields=fields,
396
- exclude_fields=exclude_fields,
397
- _request_auth=_request_auth,
398
- _content_type=_content_type,
399
- _headers=_headers,
400
- _host_index=_host_index
401
- )
402
-
403
- _response_types_map: Dict[str, Optional[str]] = {
404
- '200': "PaginatedDistributionResponseList",
405
- }
406
- response_data = self.api_client.call_api(
407
- *_param,
408
- _request_timeout=_request_timeout
409
- )
410
- response_data.read()
411
- return self.api_client.response_deserialize(
412
- response_data=response_data,
413
- response_types_map=_response_types_map,
414
- )
415
-
416
-
417
- @validate_call
418
- def list_without_preload_content(
419
- self,
420
- x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
421
- base_path: Annotated[Optional[StrictStr], Field(description="Filter results where base_path matches value")] = None,
422
- base_path__contains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
423
- base_path__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
424
- base_path__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where base_path is in a comma-separated list of values")] = None,
425
- checkpoint: Annotated[Optional[StrictBool], Field(description="Filter results where checkpoint matches value")] = None,
426
- limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
427
- name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
428
- name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
429
- name__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
430
- name__iexact: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
431
- name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
432
- name__iregex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
433
- name__istartswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
434
- name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
435
- name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
436
- offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
437
- ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
438
- prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
439
- pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
440
- pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
441
- pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
442
- pulp_type: Annotated[Optional[StrictStr], Field(description="Pulp type * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `container.pull-through` - container.pull-through * `container.container` - container.container * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `file.file` - file.file")] = None,
443
- pulp_type__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas. * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `container.pull-through` - container.pull-through * `container.container` - container.container * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `file.file` - file.file")] = None,
444
- q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
445
- repository: Annotated[Optional[StrictStr], Field(description="Filter results where repository matches value")] = None,
446
- repository__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where repository is in a comma-separated list of values")] = None,
447
- with_content: Annotated[Optional[StrictStr], Field(description="Filter distributions based on the content served by them")] = None,
448
- fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
449
- exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
450
- pulp_domain: StrictStr = "default",
451
- _request_timeout: Union[
452
- None,
453
- Annotated[StrictFloat, Field(gt=0)],
454
- Tuple[
455
- Annotated[StrictFloat, Field(gt=0)],
456
- Annotated[StrictFloat, Field(gt=0)]
457
- ]
458
- ] = None,
459
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
460
- _content_type: Optional[StrictStr] = None,
461
- _headers: Optional[Dict[StrictStr, Any]] = None,
462
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
463
- ) -> RESTResponseType:
464
- """List distributions
465
-
466
- Provides base viewset for Distributions.
467
-
468
- :param pulp_domain: (required)
469
- :type pulp_domain: str
470
- :param x_task_diagnostics: List of profilers to use on tasks.
471
- :type x_task_diagnostics: List[str]
472
- :param base_path: Filter results where base_path matches value
473
- :type base_path: str
474
- :param base_path__contains: Filter results where base_path contains value
475
- :type base_path__contains: str
476
- :param base_path__icontains: Filter results where base_path contains value
477
- :type base_path__icontains: str
478
- :param base_path__in: Filter results where base_path is in a comma-separated list of values
479
- :type base_path__in: List[str]
480
- :param checkpoint: Filter results where checkpoint matches value
481
- :type checkpoint: bool
482
- :param limit: Number of results to return per page.
483
- :type limit: int
484
- :param name: Filter results where name matches value
485
- :type name: str
486
- :param name__contains: Filter results where name contains value
487
- :type name__contains: str
488
- :param name__icontains: Filter results where name contains value
489
- :type name__icontains: str
490
- :param name__iexact: Filter results where name matches value
491
- :type name__iexact: str
492
- :param name__in: Filter results where name is in a comma-separated list of values
493
- :type name__in: List[str]
494
- :param name__iregex: Filter results where name matches regex value
495
- :type name__iregex: str
496
- :param name__istartswith: Filter results where name starts with value
497
- :type name__istartswith: str
498
- :param name__regex: Filter results where name matches regex value
499
- :type name__regex: str
500
- :param name__startswith: Filter results where name starts with value
501
- :type name__startswith: str
502
- :param offset: The initial index from which to return the results.
503
- :type offset: int
504
- :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
505
- :type ordering: List[str]
506
- :param prn__in: Multiple values may be separated by commas.
507
- :type prn__in: List[str]
508
- :param pulp_href__in: Multiple values may be separated by commas.
509
- :type pulp_href__in: List[str]
510
- :param pulp_id__in: Multiple values may be separated by commas.
511
- :type pulp_id__in: List[str]
512
- :param pulp_label_select: Filter labels by search string
513
- :type pulp_label_select: str
514
- :param pulp_type: Pulp type * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `container.pull-through` - container.pull-through * `container.container` - container.container * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `file.file` - file.file
515
- :type pulp_type: str
516
- :param pulp_type__in: Multiple values may be separated by commas. * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `container.pull-through` - container.pull-through * `container.container` - container.container * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `file.file` - file.file
517
- :type pulp_type__in: List[str]
518
- :param q: Filter results by using NOT, AND and OR operations on other filters
519
- :type q: str
520
- :param repository: Filter results where repository matches value
521
- :type repository: str
522
- :param repository__in: Filter results where repository is in a comma-separated list of values
523
- :type repository__in: List[str]
524
- :param with_content: Filter distributions based on the content served by them
525
- :type with_content: str
526
- :param fields: A list of fields to include in the response.
527
- :type fields: List[str]
528
- :param exclude_fields: A list of fields to exclude from the response.
529
- :type exclude_fields: List[str]
530
- :param _request_timeout: timeout setting for this request. If one
531
- number provided, it will be total request
532
- timeout. It can also be a pair (tuple) of
533
- (connection, read) timeouts.
534
- :type _request_timeout: int, tuple(int, int), optional
535
- :param _request_auth: set to override the auth_settings for an a single
536
- request; this effectively ignores the
537
- authentication in the spec for a single request.
538
- :type _request_auth: dict, optional
539
- :param _content_type: force content-type for the request.
540
- :type _content_type: str, Optional
541
- :param _headers: set to override the headers for a single
542
- request; this effectively ignores the headers
543
- in the spec for a single request.
544
- :type _headers: dict, optional
545
- :param _host_index: set to override the host_index for a single
546
- request; this effectively ignores the host_index
547
- in the spec for a single request.
548
- :type _host_index: int, optional
549
- :return: Returns the result object.
550
- """ # noqa: E501
551
-
552
- _param = self._list_serialize(
553
- pulp_domain=pulp_domain,
554
- x_task_diagnostics=x_task_diagnostics,
555
- base_path=base_path,
556
- base_path__contains=base_path__contains,
557
- base_path__icontains=base_path__icontains,
558
- base_path__in=base_path__in,
559
- checkpoint=checkpoint,
560
- limit=limit,
561
- name=name,
562
- name__contains=name__contains,
563
- name__icontains=name__icontains,
564
- name__iexact=name__iexact,
565
- name__in=name__in,
566
- name__iregex=name__iregex,
567
- name__istartswith=name__istartswith,
568
- name__regex=name__regex,
569
- name__startswith=name__startswith,
570
- offset=offset,
571
- ordering=ordering,
572
- prn__in=prn__in,
573
- pulp_href__in=pulp_href__in,
574
- pulp_id__in=pulp_id__in,
575
- pulp_label_select=pulp_label_select,
576
- pulp_type=pulp_type,
577
- pulp_type__in=pulp_type__in,
578
- q=q,
579
- repository=repository,
580
- repository__in=repository__in,
581
- with_content=with_content,
582
- fields=fields,
583
- exclude_fields=exclude_fields,
584
- _request_auth=_request_auth,
585
- _content_type=_content_type,
586
- _headers=_headers,
587
- _host_index=_host_index
588
- )
589
-
590
- _response_types_map: Dict[str, Optional[str]] = {
591
- '200': "PaginatedDistributionResponseList",
592
- }
593
- response_data = self.api_client.call_api(
594
- *_param,
595
- _request_timeout=_request_timeout
596
- )
597
- return response_data.response
598
-
599
-
600
- def _list_serialize(
601
- self,
602
- pulp_domain,
603
- x_task_diagnostics,
604
- base_path,
605
- base_path__contains,
606
- base_path__icontains,
607
- base_path__in,
608
- checkpoint,
609
- limit,
610
- name,
611
- name__contains,
612
- name__icontains,
613
- name__iexact,
614
- name__in,
615
- name__iregex,
616
- name__istartswith,
617
- name__regex,
618
- name__startswith,
619
- offset,
620
- ordering,
621
- prn__in,
622
- pulp_href__in,
623
- pulp_id__in,
624
- pulp_label_select,
625
- pulp_type,
626
- pulp_type__in,
627
- q,
628
- repository,
629
- repository__in,
630
- with_content,
631
- fields,
632
- exclude_fields,
633
- _request_auth,
634
- _content_type,
635
- _headers,
636
- _host_index,
637
- ) -> RequestSerialized:
638
-
639
- _host = None
640
-
641
- _collection_formats: Dict[str, str] = {
642
- 'X-Task-Diagnostics': 'csv',
643
- 'base_path__in': 'csv',
644
- 'name__in': 'csv',
645
- 'ordering': 'csv',
646
- 'prn__in': 'csv',
647
- 'pulp_href__in': 'csv',
648
- 'pulp_id__in': 'csv',
649
- 'pulp_type__in': 'csv',
650
- 'repository__in': 'csv',
651
- 'fields': 'multi',
652
- 'exclude_fields': 'multi',
653
- }
654
-
655
- _path_params: Dict[str, str] = {}
656
- _query_params: List[Tuple[str, str]] = []
657
- _header_params: Dict[str, Optional[str]] = _headers or {}
658
- _form_params: List[Tuple[str, str]] = []
659
- _files: Dict[
660
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
661
- ] = {}
662
- _body_params: Optional[bytes] = None
663
-
664
- # process the path parameters
665
- if pulp_domain is not None:
666
- _path_params['pulp_domain'] = pulp_domain
667
- # process the query parameters
668
- if base_path is not None:
669
-
670
- _query_params.append(('base_path', base_path))
671
-
672
- if base_path__contains is not None:
673
-
674
- _query_params.append(('base_path__contains', base_path__contains))
675
-
676
- if base_path__icontains is not None:
677
-
678
- _query_params.append(('base_path__icontains', base_path__icontains))
679
-
680
- if base_path__in is not None:
681
-
682
- _query_params.append(('base_path__in', base_path__in))
683
-
684
- if checkpoint is not None:
685
-
686
- _query_params.append(('checkpoint', checkpoint))
687
-
688
- if limit is not None:
689
-
690
- _query_params.append(('limit', limit))
691
-
692
- if name is not None:
693
-
694
- _query_params.append(('name', name))
695
-
696
- if name__contains is not None:
697
-
698
- _query_params.append(('name__contains', name__contains))
699
-
700
- if name__icontains is not None:
701
-
702
- _query_params.append(('name__icontains', name__icontains))
703
-
704
- if name__iexact is not None:
705
-
706
- _query_params.append(('name__iexact', name__iexact))
707
-
708
- if name__in is not None:
709
-
710
- _query_params.append(('name__in', name__in))
711
-
712
- if name__iregex is not None:
713
-
714
- _query_params.append(('name__iregex', name__iregex))
715
-
716
- if name__istartswith is not None:
717
-
718
- _query_params.append(('name__istartswith', name__istartswith))
719
-
720
- if name__regex is not None:
721
-
722
- _query_params.append(('name__regex', name__regex))
723
-
724
- if name__startswith is not None:
725
-
726
- _query_params.append(('name__startswith', name__startswith))
727
-
728
- if offset is not None:
729
-
730
- _query_params.append(('offset', offset))
731
-
732
- if ordering is not None:
733
-
734
- _query_params.append(('ordering', ordering))
735
-
736
- if prn__in is not None:
737
-
738
- _query_params.append(('prn__in', prn__in))
739
-
740
- if pulp_href__in is not None:
741
-
742
- _query_params.append(('pulp_href__in', pulp_href__in))
743
-
744
- if pulp_id__in is not None:
745
-
746
- _query_params.append(('pulp_id__in', pulp_id__in))
747
-
748
- if pulp_label_select is not None:
749
-
750
- _query_params.append(('pulp_label_select', pulp_label_select))
751
-
752
- if pulp_type is not None:
753
-
754
- _query_params.append(('pulp_type', pulp_type))
755
-
756
- if pulp_type__in is not None:
757
-
758
- _query_params.append(('pulp_type__in', pulp_type__in))
759
-
760
- if q is not None:
761
-
762
- _query_params.append(('q', q))
763
-
764
- if repository is not None:
765
-
766
- _query_params.append(('repository', repository))
767
-
768
- if repository__in is not None:
769
-
770
- _query_params.append(('repository__in', repository__in))
771
-
772
- if with_content is not None:
773
-
774
- _query_params.append(('with_content', with_content))
775
-
776
- if fields is not None:
777
-
778
- _query_params.append(('fields', fields))
779
-
780
- if exclude_fields is not None:
781
-
782
- _query_params.append(('exclude_fields', exclude_fields))
783
-
784
- # process the header parameters
785
- if x_task_diagnostics is not None:
786
- _header_params['X-Task-Diagnostics'] = x_task_diagnostics
787
- # process the form parameters
788
- # process the body parameter
789
-
790
-
791
- # set the HTTP header `Accept`
792
- if 'Accept' not in _header_params:
793
- _header_params['Accept'] = self.api_client.select_header_accept(
794
- [
795
- 'application/json'
796
- ]
797
- )
798
-
799
-
800
- # authentication setting
801
- _auth_settings: List[str] = [
802
- 'json_header_remote_authentication',
803
- 'basicAuth',
804
- 'cookieAuth'
805
- ]
806
-
807
- return self.api_client.param_serialize(
808
- method='GET',
809
- resource_path='/api/pulp/{pulp_domain}/api/v3/distributions/',
810
- path_params=_path_params,
811
- query_params=_query_params,
812
- header_params=_header_params,
813
- body=_body_params,
814
- post_params=_form_params,
815
- files=_files,
816
- auth_settings=_auth_settings,
817
- collection_formats=_collection_formats,
818
- _host=_host,
819
- _request_auth=_request_auth
820
- )
821
-
822
-