crc-pulpcore-client 20250819.1__py3-none-any.whl → 20250820.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 +17 -17
  4. {crc_pulpcore_client-20250819.1.dist-info → crc_pulpcore_client-20250820.1.dist-info}/METADATA +1 -1
  5. crc_pulpcore_client-20250820.1.dist-info/RECORD +234 -0
  6. crc_pulpcore_client-20250820.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-20250820.1.dist-info}/WHEEL +0 -0
@@ -1,872 +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_repository_response_list import PaginatedRepositoryResponseList
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 RepositoriesApi:
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
- latest_with_content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
48
- limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
49
- name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
50
- name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
51
- name__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
52
- name__iexact: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
53
- name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
54
- name__iregex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
55
- name__istartswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
56
- name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
57
- name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
58
- offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
59
- 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) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
60
- prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
61
- pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
62
- pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
63
- pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
64
- pulp_type: Annotated[Optional[StrictStr], Field(description="Pulp type * `core.openpgp` - core.openpgp * `container.container` - container.container * `container.container-push` - container.container-push * `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,
65
- pulp_type__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas. * `core.openpgp` - core.openpgp * `container.container` - container.container * `container.container-push` - container.container-push * `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,
66
- q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
67
- remote: Annotated[Optional[StrictStr], Field(description="Foreign Key referenced by HREF")] = None,
68
- retain_repo_versions: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions matches value")] = None,
69
- retain_repo_versions__gt: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is greater than value")] = None,
70
- retain_repo_versions__gte: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is greater than or equal to value")] = None,
71
- retain_repo_versions__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where retain_repo_versions has a null value")] = None,
72
- retain_repo_versions__lt: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is less than value")] = None,
73
- retain_repo_versions__lte: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is less than or equal to value")] = None,
74
- retain_repo_versions__ne: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions not equal to value")] = None,
75
- retain_repo_versions__range: Annotated[Optional[List[StrictInt]], Field(description="Filter results where retain_repo_versions is between two comma separated values")] = None,
76
- with_content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
77
- fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
78
- exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
79
- pulp_domain: StrictStr = "default",
80
- _request_timeout: Union[
81
- None,
82
- Annotated[StrictFloat, Field(gt=0)],
83
- Tuple[
84
- Annotated[StrictFloat, Field(gt=0)],
85
- Annotated[StrictFloat, Field(gt=0)]
86
- ]
87
- ] = None,
88
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
89
- _content_type: Optional[StrictStr] = None,
90
- _headers: Optional[Dict[StrictStr, Any]] = None,
91
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
92
- ) -> PaginatedRepositoryResponseList:
93
- """List repositories
94
-
95
- Endpoint to list all repositories.
96
-
97
- :param pulp_domain: (required)
98
- :type pulp_domain: str
99
- :param x_task_diagnostics: List of profilers to use on tasks.
100
- :type x_task_diagnostics: List[str]
101
- :param latest_with_content: Content Unit referenced by HREF/PRN
102
- :type latest_with_content: str
103
- :param limit: Number of results to return per page.
104
- :type limit: int
105
- :param name: Filter results where name matches value
106
- :type name: str
107
- :param name__contains: Filter results where name contains value
108
- :type name__contains: str
109
- :param name__icontains: Filter results where name contains value
110
- :type name__icontains: str
111
- :param name__iexact: Filter results where name matches value
112
- :type name__iexact: str
113
- :param name__in: Filter results where name is in a comma-separated list of values
114
- :type name__in: List[str]
115
- :param name__iregex: Filter results where name matches regex value
116
- :type name__iregex: str
117
- :param name__istartswith: Filter results where name starts with value
118
- :type name__istartswith: str
119
- :param name__regex: Filter results where name matches regex value
120
- :type name__regex: str
121
- :param name__startswith: Filter results where name starts with value
122
- :type name__startswith: str
123
- :param offset: The initial index from which to return the results.
124
- :type offset: int
125
- :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) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
126
- :type ordering: List[str]
127
- :param prn__in: Multiple values may be separated by commas.
128
- :type prn__in: List[str]
129
- :param pulp_href__in: Multiple values may be separated by commas.
130
- :type pulp_href__in: List[str]
131
- :param pulp_id__in: Multiple values may be separated by commas.
132
- :type pulp_id__in: List[str]
133
- :param pulp_label_select: Filter labels by search string
134
- :type pulp_label_select: str
135
- :param pulp_type: Pulp type * `core.openpgp` - core.openpgp * `container.container` - container.container * `container.container-push` - container.container-push * `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
136
- :type pulp_type: str
137
- :param pulp_type__in: Multiple values may be separated by commas. * `core.openpgp` - core.openpgp * `container.container` - container.container * `container.container-push` - container.container-push * `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
138
- :type pulp_type__in: List[str]
139
- :param q: Filter results by using NOT, AND and OR operations on other filters
140
- :type q: str
141
- :param remote: Foreign Key referenced by HREF
142
- :type remote: str
143
- :param retain_repo_versions: Filter results where retain_repo_versions matches value
144
- :type retain_repo_versions: int
145
- :param retain_repo_versions__gt: Filter results where retain_repo_versions is greater than value
146
- :type retain_repo_versions__gt: int
147
- :param retain_repo_versions__gte: Filter results where retain_repo_versions is greater than or equal to value
148
- :type retain_repo_versions__gte: int
149
- :param retain_repo_versions__isnull: Filter results where retain_repo_versions has a null value
150
- :type retain_repo_versions__isnull: bool
151
- :param retain_repo_versions__lt: Filter results where retain_repo_versions is less than value
152
- :type retain_repo_versions__lt: int
153
- :param retain_repo_versions__lte: Filter results where retain_repo_versions is less than or equal to value
154
- :type retain_repo_versions__lte: int
155
- :param retain_repo_versions__ne: Filter results where retain_repo_versions not equal to value
156
- :type retain_repo_versions__ne: int
157
- :param retain_repo_versions__range: Filter results where retain_repo_versions is between two comma separated values
158
- :type retain_repo_versions__range: List[int]
159
- :param with_content: Content Unit referenced by HREF/PRN
160
- :type with_content: str
161
- :param fields: A list of fields to include in the response.
162
- :type fields: List[str]
163
- :param exclude_fields: A list of fields to exclude from the response.
164
- :type exclude_fields: List[str]
165
- :param _request_timeout: timeout setting for this request. If one
166
- number provided, it will be total request
167
- timeout. It can also be a pair (tuple) of
168
- (connection, read) timeouts.
169
- :type _request_timeout: int, tuple(int, int), optional
170
- :param _request_auth: set to override the auth_settings for an a single
171
- request; this effectively ignores the
172
- authentication in the spec for a single request.
173
- :type _request_auth: dict, optional
174
- :param _content_type: force content-type for the request.
175
- :type _content_type: str, Optional
176
- :param _headers: set to override the headers for a single
177
- request; this effectively ignores the headers
178
- in the spec for a single request.
179
- :type _headers: dict, optional
180
- :param _host_index: set to override the host_index for a single
181
- request; this effectively ignores the host_index
182
- in the spec for a single request.
183
- :type _host_index: int, optional
184
- :return: Returns the result object.
185
- """ # noqa: E501
186
-
187
- _param = self._list_serialize(
188
- pulp_domain=pulp_domain,
189
- x_task_diagnostics=x_task_diagnostics,
190
- latest_with_content=latest_with_content,
191
- limit=limit,
192
- name=name,
193
- name__contains=name__contains,
194
- name__icontains=name__icontains,
195
- name__iexact=name__iexact,
196
- name__in=name__in,
197
- name__iregex=name__iregex,
198
- name__istartswith=name__istartswith,
199
- name__regex=name__regex,
200
- name__startswith=name__startswith,
201
- offset=offset,
202
- ordering=ordering,
203
- prn__in=prn__in,
204
- pulp_href__in=pulp_href__in,
205
- pulp_id__in=pulp_id__in,
206
- pulp_label_select=pulp_label_select,
207
- pulp_type=pulp_type,
208
- pulp_type__in=pulp_type__in,
209
- q=q,
210
- remote=remote,
211
- retain_repo_versions=retain_repo_versions,
212
- retain_repo_versions__gt=retain_repo_versions__gt,
213
- retain_repo_versions__gte=retain_repo_versions__gte,
214
- retain_repo_versions__isnull=retain_repo_versions__isnull,
215
- retain_repo_versions__lt=retain_repo_versions__lt,
216
- retain_repo_versions__lte=retain_repo_versions__lte,
217
- retain_repo_versions__ne=retain_repo_versions__ne,
218
- retain_repo_versions__range=retain_repo_versions__range,
219
- with_content=with_content,
220
- fields=fields,
221
- exclude_fields=exclude_fields,
222
- _request_auth=_request_auth,
223
- _content_type=_content_type,
224
- _headers=_headers,
225
- _host_index=_host_index
226
- )
227
-
228
- _response_types_map: Dict[str, Optional[str]] = {
229
- '200': "PaginatedRepositoryResponseList",
230
- }
231
- response_data = self.api_client.call_api(
232
- *_param,
233
- _request_timeout=_request_timeout
234
- )
235
- response_data.read()
236
- return self.api_client.response_deserialize(
237
- response_data=response_data,
238
- response_types_map=_response_types_map,
239
- ).data
240
-
241
-
242
- @validate_call
243
- def list_with_http_info(
244
- self,
245
- x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
246
- latest_with_content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
247
- limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
248
- name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
249
- name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
250
- name__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
251
- name__iexact: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
252
- name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
253
- name__iregex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
254
- name__istartswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
255
- name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
256
- name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
257
- offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
258
- 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) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
259
- prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
260
- pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
261
- pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
262
- pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
263
- pulp_type: Annotated[Optional[StrictStr], Field(description="Pulp type * `core.openpgp` - core.openpgp * `container.container` - container.container * `container.container-push` - container.container-push * `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,
264
- pulp_type__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas. * `core.openpgp` - core.openpgp * `container.container` - container.container * `container.container-push` - container.container-push * `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,
265
- q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
266
- remote: Annotated[Optional[StrictStr], Field(description="Foreign Key referenced by HREF")] = None,
267
- retain_repo_versions: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions matches value")] = None,
268
- retain_repo_versions__gt: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is greater than value")] = None,
269
- retain_repo_versions__gte: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is greater than or equal to value")] = None,
270
- retain_repo_versions__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where retain_repo_versions has a null value")] = None,
271
- retain_repo_versions__lt: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is less than value")] = None,
272
- retain_repo_versions__lte: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is less than or equal to value")] = None,
273
- retain_repo_versions__ne: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions not equal to value")] = None,
274
- retain_repo_versions__range: Annotated[Optional[List[StrictInt]], Field(description="Filter results where retain_repo_versions is between two comma separated values")] = None,
275
- with_content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
276
- fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
277
- exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
278
- pulp_domain: StrictStr = "default",
279
- _request_timeout: Union[
280
- None,
281
- Annotated[StrictFloat, Field(gt=0)],
282
- Tuple[
283
- Annotated[StrictFloat, Field(gt=0)],
284
- Annotated[StrictFloat, Field(gt=0)]
285
- ]
286
- ] = None,
287
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
288
- _content_type: Optional[StrictStr] = None,
289
- _headers: Optional[Dict[StrictStr, Any]] = None,
290
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
291
- ) -> ApiResponse[PaginatedRepositoryResponseList]:
292
- """List repositories
293
-
294
- Endpoint to list all repositories.
295
-
296
- :param pulp_domain: (required)
297
- :type pulp_domain: str
298
- :param x_task_diagnostics: List of profilers to use on tasks.
299
- :type x_task_diagnostics: List[str]
300
- :param latest_with_content: Content Unit referenced by HREF/PRN
301
- :type latest_with_content: str
302
- :param limit: Number of results to return per page.
303
- :type limit: int
304
- :param name: Filter results where name matches value
305
- :type name: str
306
- :param name__contains: Filter results where name contains value
307
- :type name__contains: str
308
- :param name__icontains: Filter results where name contains value
309
- :type name__icontains: str
310
- :param name__iexact: Filter results where name matches value
311
- :type name__iexact: str
312
- :param name__in: Filter results where name is in a comma-separated list of values
313
- :type name__in: List[str]
314
- :param name__iregex: Filter results where name matches regex value
315
- :type name__iregex: str
316
- :param name__istartswith: Filter results where name starts with value
317
- :type name__istartswith: str
318
- :param name__regex: Filter results where name matches regex value
319
- :type name__regex: str
320
- :param name__startswith: Filter results where name starts with value
321
- :type name__startswith: str
322
- :param offset: The initial index from which to return the results.
323
- :type offset: int
324
- :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) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
325
- :type ordering: List[str]
326
- :param prn__in: Multiple values may be separated by commas.
327
- :type prn__in: List[str]
328
- :param pulp_href__in: Multiple values may be separated by commas.
329
- :type pulp_href__in: List[str]
330
- :param pulp_id__in: Multiple values may be separated by commas.
331
- :type pulp_id__in: List[str]
332
- :param pulp_label_select: Filter labels by search string
333
- :type pulp_label_select: str
334
- :param pulp_type: Pulp type * `core.openpgp` - core.openpgp * `container.container` - container.container * `container.container-push` - container.container-push * `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
335
- :type pulp_type: str
336
- :param pulp_type__in: Multiple values may be separated by commas. * `core.openpgp` - core.openpgp * `container.container` - container.container * `container.container-push` - container.container-push * `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
337
- :type pulp_type__in: List[str]
338
- :param q: Filter results by using NOT, AND and OR operations on other filters
339
- :type q: str
340
- :param remote: Foreign Key referenced by HREF
341
- :type remote: str
342
- :param retain_repo_versions: Filter results where retain_repo_versions matches value
343
- :type retain_repo_versions: int
344
- :param retain_repo_versions__gt: Filter results where retain_repo_versions is greater than value
345
- :type retain_repo_versions__gt: int
346
- :param retain_repo_versions__gte: Filter results where retain_repo_versions is greater than or equal to value
347
- :type retain_repo_versions__gte: int
348
- :param retain_repo_versions__isnull: Filter results where retain_repo_versions has a null value
349
- :type retain_repo_versions__isnull: bool
350
- :param retain_repo_versions__lt: Filter results where retain_repo_versions is less than value
351
- :type retain_repo_versions__lt: int
352
- :param retain_repo_versions__lte: Filter results where retain_repo_versions is less than or equal to value
353
- :type retain_repo_versions__lte: int
354
- :param retain_repo_versions__ne: Filter results where retain_repo_versions not equal to value
355
- :type retain_repo_versions__ne: int
356
- :param retain_repo_versions__range: Filter results where retain_repo_versions is between two comma separated values
357
- :type retain_repo_versions__range: List[int]
358
- :param with_content: Content Unit referenced by HREF/PRN
359
- :type with_content: str
360
- :param fields: A list of fields to include in the response.
361
- :type fields: List[str]
362
- :param exclude_fields: A list of fields to exclude from the response.
363
- :type exclude_fields: List[str]
364
- :param _request_timeout: timeout setting for this request. If one
365
- number provided, it will be total request
366
- timeout. It can also be a pair (tuple) of
367
- (connection, read) timeouts.
368
- :type _request_timeout: int, tuple(int, int), optional
369
- :param _request_auth: set to override the auth_settings for an a single
370
- request; this effectively ignores the
371
- authentication in the spec for a single request.
372
- :type _request_auth: dict, optional
373
- :param _content_type: force content-type for the request.
374
- :type _content_type: str, Optional
375
- :param _headers: set to override the headers for a single
376
- request; this effectively ignores the headers
377
- in the spec for a single request.
378
- :type _headers: dict, optional
379
- :param _host_index: set to override the host_index for a single
380
- request; this effectively ignores the host_index
381
- in the spec for a single request.
382
- :type _host_index: int, optional
383
- :return: Returns the result object.
384
- """ # noqa: E501
385
-
386
- _param = self._list_serialize(
387
- pulp_domain=pulp_domain,
388
- x_task_diagnostics=x_task_diagnostics,
389
- latest_with_content=latest_with_content,
390
- limit=limit,
391
- name=name,
392
- name__contains=name__contains,
393
- name__icontains=name__icontains,
394
- name__iexact=name__iexact,
395
- name__in=name__in,
396
- name__iregex=name__iregex,
397
- name__istartswith=name__istartswith,
398
- name__regex=name__regex,
399
- name__startswith=name__startswith,
400
- offset=offset,
401
- ordering=ordering,
402
- prn__in=prn__in,
403
- pulp_href__in=pulp_href__in,
404
- pulp_id__in=pulp_id__in,
405
- pulp_label_select=pulp_label_select,
406
- pulp_type=pulp_type,
407
- pulp_type__in=pulp_type__in,
408
- q=q,
409
- remote=remote,
410
- retain_repo_versions=retain_repo_versions,
411
- retain_repo_versions__gt=retain_repo_versions__gt,
412
- retain_repo_versions__gte=retain_repo_versions__gte,
413
- retain_repo_versions__isnull=retain_repo_versions__isnull,
414
- retain_repo_versions__lt=retain_repo_versions__lt,
415
- retain_repo_versions__lte=retain_repo_versions__lte,
416
- retain_repo_versions__ne=retain_repo_versions__ne,
417
- retain_repo_versions__range=retain_repo_versions__range,
418
- with_content=with_content,
419
- fields=fields,
420
- exclude_fields=exclude_fields,
421
- _request_auth=_request_auth,
422
- _content_type=_content_type,
423
- _headers=_headers,
424
- _host_index=_host_index
425
- )
426
-
427
- _response_types_map: Dict[str, Optional[str]] = {
428
- '200': "PaginatedRepositoryResponseList",
429
- }
430
- response_data = self.api_client.call_api(
431
- *_param,
432
- _request_timeout=_request_timeout
433
- )
434
- response_data.read()
435
- return self.api_client.response_deserialize(
436
- response_data=response_data,
437
- response_types_map=_response_types_map,
438
- )
439
-
440
-
441
- @validate_call
442
- def list_without_preload_content(
443
- self,
444
- x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
445
- latest_with_content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
446
- limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
447
- name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
448
- name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
449
- name__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
450
- name__iexact: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
451
- name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
452
- name__iregex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
453
- name__istartswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
454
- name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
455
- name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
456
- offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
457
- 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) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
458
- prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
459
- pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
460
- pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
461
- pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
462
- pulp_type: Annotated[Optional[StrictStr], Field(description="Pulp type * `core.openpgp` - core.openpgp * `container.container` - container.container * `container.container-push` - container.container-push * `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,
463
- pulp_type__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas. * `core.openpgp` - core.openpgp * `container.container` - container.container * `container.container-push` - container.container-push * `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,
464
- q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
465
- remote: Annotated[Optional[StrictStr], Field(description="Foreign Key referenced by HREF")] = None,
466
- retain_repo_versions: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions matches value")] = None,
467
- retain_repo_versions__gt: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is greater than value")] = None,
468
- retain_repo_versions__gte: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is greater than or equal to value")] = None,
469
- retain_repo_versions__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where retain_repo_versions has a null value")] = None,
470
- retain_repo_versions__lt: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is less than value")] = None,
471
- retain_repo_versions__lte: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is less than or equal to value")] = None,
472
- retain_repo_versions__ne: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions not equal to value")] = None,
473
- retain_repo_versions__range: Annotated[Optional[List[StrictInt]], Field(description="Filter results where retain_repo_versions is between two comma separated values")] = None,
474
- with_content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
475
- fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
476
- exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
477
- pulp_domain: StrictStr = "default",
478
- _request_timeout: Union[
479
- None,
480
- Annotated[StrictFloat, Field(gt=0)],
481
- Tuple[
482
- Annotated[StrictFloat, Field(gt=0)],
483
- Annotated[StrictFloat, Field(gt=0)]
484
- ]
485
- ] = None,
486
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
487
- _content_type: Optional[StrictStr] = None,
488
- _headers: Optional[Dict[StrictStr, Any]] = None,
489
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
490
- ) -> RESTResponseType:
491
- """List repositories
492
-
493
- Endpoint to list all repositories.
494
-
495
- :param pulp_domain: (required)
496
- :type pulp_domain: str
497
- :param x_task_diagnostics: List of profilers to use on tasks.
498
- :type x_task_diagnostics: List[str]
499
- :param latest_with_content: Content Unit referenced by HREF/PRN
500
- :type latest_with_content: str
501
- :param limit: Number of results to return per page.
502
- :type limit: int
503
- :param name: Filter results where name matches value
504
- :type name: str
505
- :param name__contains: Filter results where name contains value
506
- :type name__contains: str
507
- :param name__icontains: Filter results where name contains value
508
- :type name__icontains: str
509
- :param name__iexact: Filter results where name matches value
510
- :type name__iexact: str
511
- :param name__in: Filter results where name is in a comma-separated list of values
512
- :type name__in: List[str]
513
- :param name__iregex: Filter results where name matches regex value
514
- :type name__iregex: str
515
- :param name__istartswith: Filter results where name starts with value
516
- :type name__istartswith: str
517
- :param name__regex: Filter results where name matches regex value
518
- :type name__regex: str
519
- :param name__startswith: Filter results where name starts with value
520
- :type name__startswith: str
521
- :param offset: The initial index from which to return the results.
522
- :type offset: int
523
- :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) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
524
- :type ordering: List[str]
525
- :param prn__in: Multiple values may be separated by commas.
526
- :type prn__in: List[str]
527
- :param pulp_href__in: Multiple values may be separated by commas.
528
- :type pulp_href__in: List[str]
529
- :param pulp_id__in: Multiple values may be separated by commas.
530
- :type pulp_id__in: List[str]
531
- :param pulp_label_select: Filter labels by search string
532
- :type pulp_label_select: str
533
- :param pulp_type: Pulp type * `core.openpgp` - core.openpgp * `container.container` - container.container * `container.container-push` - container.container-push * `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
534
- :type pulp_type: str
535
- :param pulp_type__in: Multiple values may be separated by commas. * `core.openpgp` - core.openpgp * `container.container` - container.container * `container.container-push` - container.container-push * `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
536
- :type pulp_type__in: List[str]
537
- :param q: Filter results by using NOT, AND and OR operations on other filters
538
- :type q: str
539
- :param remote: Foreign Key referenced by HREF
540
- :type remote: str
541
- :param retain_repo_versions: Filter results where retain_repo_versions matches value
542
- :type retain_repo_versions: int
543
- :param retain_repo_versions__gt: Filter results where retain_repo_versions is greater than value
544
- :type retain_repo_versions__gt: int
545
- :param retain_repo_versions__gte: Filter results where retain_repo_versions is greater than or equal to value
546
- :type retain_repo_versions__gte: int
547
- :param retain_repo_versions__isnull: Filter results where retain_repo_versions has a null value
548
- :type retain_repo_versions__isnull: bool
549
- :param retain_repo_versions__lt: Filter results where retain_repo_versions is less than value
550
- :type retain_repo_versions__lt: int
551
- :param retain_repo_versions__lte: Filter results where retain_repo_versions is less than or equal to value
552
- :type retain_repo_versions__lte: int
553
- :param retain_repo_versions__ne: Filter results where retain_repo_versions not equal to value
554
- :type retain_repo_versions__ne: int
555
- :param retain_repo_versions__range: Filter results where retain_repo_versions is between two comma separated values
556
- :type retain_repo_versions__range: List[int]
557
- :param with_content: Content Unit referenced by HREF/PRN
558
- :type with_content: str
559
- :param fields: A list of fields to include in the response.
560
- :type fields: List[str]
561
- :param exclude_fields: A list of fields to exclude from the response.
562
- :type exclude_fields: List[str]
563
- :param _request_timeout: timeout setting for this request. If one
564
- number provided, it will be total request
565
- timeout. It can also be a pair (tuple) of
566
- (connection, read) timeouts.
567
- :type _request_timeout: int, tuple(int, int), optional
568
- :param _request_auth: set to override the auth_settings for an a single
569
- request; this effectively ignores the
570
- authentication in the spec for a single request.
571
- :type _request_auth: dict, optional
572
- :param _content_type: force content-type for the request.
573
- :type _content_type: str, Optional
574
- :param _headers: set to override the headers for a single
575
- request; this effectively ignores the headers
576
- in the spec for a single request.
577
- :type _headers: dict, optional
578
- :param _host_index: set to override the host_index for a single
579
- request; this effectively ignores the host_index
580
- in the spec for a single request.
581
- :type _host_index: int, optional
582
- :return: Returns the result object.
583
- """ # noqa: E501
584
-
585
- _param = self._list_serialize(
586
- pulp_domain=pulp_domain,
587
- x_task_diagnostics=x_task_diagnostics,
588
- latest_with_content=latest_with_content,
589
- limit=limit,
590
- name=name,
591
- name__contains=name__contains,
592
- name__icontains=name__icontains,
593
- name__iexact=name__iexact,
594
- name__in=name__in,
595
- name__iregex=name__iregex,
596
- name__istartswith=name__istartswith,
597
- name__regex=name__regex,
598
- name__startswith=name__startswith,
599
- offset=offset,
600
- ordering=ordering,
601
- prn__in=prn__in,
602
- pulp_href__in=pulp_href__in,
603
- pulp_id__in=pulp_id__in,
604
- pulp_label_select=pulp_label_select,
605
- pulp_type=pulp_type,
606
- pulp_type__in=pulp_type__in,
607
- q=q,
608
- remote=remote,
609
- retain_repo_versions=retain_repo_versions,
610
- retain_repo_versions__gt=retain_repo_versions__gt,
611
- retain_repo_versions__gte=retain_repo_versions__gte,
612
- retain_repo_versions__isnull=retain_repo_versions__isnull,
613
- retain_repo_versions__lt=retain_repo_versions__lt,
614
- retain_repo_versions__lte=retain_repo_versions__lte,
615
- retain_repo_versions__ne=retain_repo_versions__ne,
616
- retain_repo_versions__range=retain_repo_versions__range,
617
- with_content=with_content,
618
- fields=fields,
619
- exclude_fields=exclude_fields,
620
- _request_auth=_request_auth,
621
- _content_type=_content_type,
622
- _headers=_headers,
623
- _host_index=_host_index
624
- )
625
-
626
- _response_types_map: Dict[str, Optional[str]] = {
627
- '200': "PaginatedRepositoryResponseList",
628
- }
629
- response_data = self.api_client.call_api(
630
- *_param,
631
- _request_timeout=_request_timeout
632
- )
633
- return response_data.response
634
-
635
-
636
- def _list_serialize(
637
- self,
638
- pulp_domain,
639
- x_task_diagnostics,
640
- latest_with_content,
641
- limit,
642
- name,
643
- name__contains,
644
- name__icontains,
645
- name__iexact,
646
- name__in,
647
- name__iregex,
648
- name__istartswith,
649
- name__regex,
650
- name__startswith,
651
- offset,
652
- ordering,
653
- prn__in,
654
- pulp_href__in,
655
- pulp_id__in,
656
- pulp_label_select,
657
- pulp_type,
658
- pulp_type__in,
659
- q,
660
- remote,
661
- retain_repo_versions,
662
- retain_repo_versions__gt,
663
- retain_repo_versions__gte,
664
- retain_repo_versions__isnull,
665
- retain_repo_versions__lt,
666
- retain_repo_versions__lte,
667
- retain_repo_versions__ne,
668
- retain_repo_versions__range,
669
- with_content,
670
- fields,
671
- exclude_fields,
672
- _request_auth,
673
- _content_type,
674
- _headers,
675
- _host_index,
676
- ) -> RequestSerialized:
677
-
678
- _host = None
679
-
680
- _collection_formats: Dict[str, str] = {
681
- 'X-Task-Diagnostics': 'csv',
682
- 'name__in': 'csv',
683
- 'ordering': 'csv',
684
- 'prn__in': 'csv',
685
- 'pulp_href__in': 'csv',
686
- 'pulp_id__in': 'csv',
687
- 'pulp_type__in': 'csv',
688
- 'retain_repo_versions__range': 'csv',
689
- 'fields': 'multi',
690
- 'exclude_fields': 'multi',
691
- }
692
-
693
- _path_params: Dict[str, str] = {}
694
- _query_params: List[Tuple[str, str]] = []
695
- _header_params: Dict[str, Optional[str]] = _headers or {}
696
- _form_params: List[Tuple[str, str]] = []
697
- _files: Dict[
698
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
699
- ] = {}
700
- _body_params: Optional[bytes] = None
701
-
702
- # process the path parameters
703
- if pulp_domain is not None:
704
- _path_params['pulp_domain'] = pulp_domain
705
- # process the query parameters
706
- if latest_with_content is not None:
707
-
708
- _query_params.append(('latest_with_content', latest_with_content))
709
-
710
- if limit is not None:
711
-
712
- _query_params.append(('limit', limit))
713
-
714
- if name is not None:
715
-
716
- _query_params.append(('name', name))
717
-
718
- if name__contains is not None:
719
-
720
- _query_params.append(('name__contains', name__contains))
721
-
722
- if name__icontains is not None:
723
-
724
- _query_params.append(('name__icontains', name__icontains))
725
-
726
- if name__iexact is not None:
727
-
728
- _query_params.append(('name__iexact', name__iexact))
729
-
730
- if name__in is not None:
731
-
732
- _query_params.append(('name__in', name__in))
733
-
734
- if name__iregex is not None:
735
-
736
- _query_params.append(('name__iregex', name__iregex))
737
-
738
- if name__istartswith is not None:
739
-
740
- _query_params.append(('name__istartswith', name__istartswith))
741
-
742
- if name__regex is not None:
743
-
744
- _query_params.append(('name__regex', name__regex))
745
-
746
- if name__startswith is not None:
747
-
748
- _query_params.append(('name__startswith', name__startswith))
749
-
750
- if offset is not None:
751
-
752
- _query_params.append(('offset', offset))
753
-
754
- if ordering is not None:
755
-
756
- _query_params.append(('ordering', ordering))
757
-
758
- if prn__in is not None:
759
-
760
- _query_params.append(('prn__in', prn__in))
761
-
762
- if pulp_href__in is not None:
763
-
764
- _query_params.append(('pulp_href__in', pulp_href__in))
765
-
766
- if pulp_id__in is not None:
767
-
768
- _query_params.append(('pulp_id__in', pulp_id__in))
769
-
770
- if pulp_label_select is not None:
771
-
772
- _query_params.append(('pulp_label_select', pulp_label_select))
773
-
774
- if pulp_type is not None:
775
-
776
- _query_params.append(('pulp_type', pulp_type))
777
-
778
- if pulp_type__in is not None:
779
-
780
- _query_params.append(('pulp_type__in', pulp_type__in))
781
-
782
- if q is not None:
783
-
784
- _query_params.append(('q', q))
785
-
786
- if remote is not None:
787
-
788
- _query_params.append(('remote', remote))
789
-
790
- if retain_repo_versions is not None:
791
-
792
- _query_params.append(('retain_repo_versions', retain_repo_versions))
793
-
794
- if retain_repo_versions__gt is not None:
795
-
796
- _query_params.append(('retain_repo_versions__gt', retain_repo_versions__gt))
797
-
798
- if retain_repo_versions__gte is not None:
799
-
800
- _query_params.append(('retain_repo_versions__gte', retain_repo_versions__gte))
801
-
802
- if retain_repo_versions__isnull is not None:
803
-
804
- _query_params.append(('retain_repo_versions__isnull', retain_repo_versions__isnull))
805
-
806
- if retain_repo_versions__lt is not None:
807
-
808
- _query_params.append(('retain_repo_versions__lt', retain_repo_versions__lt))
809
-
810
- if retain_repo_versions__lte is not None:
811
-
812
- _query_params.append(('retain_repo_versions__lte', retain_repo_versions__lte))
813
-
814
- if retain_repo_versions__ne is not None:
815
-
816
- _query_params.append(('retain_repo_versions__ne', retain_repo_versions__ne))
817
-
818
- if retain_repo_versions__range is not None:
819
-
820
- _query_params.append(('retain_repo_versions__range', retain_repo_versions__range))
821
-
822
- if with_content is not None:
823
-
824
- _query_params.append(('with_content', with_content))
825
-
826
- if fields is not None:
827
-
828
- _query_params.append(('fields', fields))
829
-
830
- if exclude_fields is not None:
831
-
832
- _query_params.append(('exclude_fields', exclude_fields))
833
-
834
- # process the header parameters
835
- if x_task_diagnostics is not None:
836
- _header_params['X-Task-Diagnostics'] = x_task_diagnostics
837
- # process the form parameters
838
- # process the body parameter
839
-
840
-
841
- # set the HTTP header `Accept`
842
- if 'Accept' not in _header_params:
843
- _header_params['Accept'] = self.api_client.select_header_accept(
844
- [
845
- 'application/json'
846
- ]
847
- )
848
-
849
-
850
- # authentication setting
851
- _auth_settings: List[str] = [
852
- 'json_header_remote_authentication',
853
- 'basicAuth',
854
- 'cookieAuth'
855
- ]
856
-
857
- return self.api_client.param_serialize(
858
- method='GET',
859
- resource_path='/api/pulp/{pulp_domain}/api/v3/repositories/',
860
- path_params=_path_params,
861
- query_params=_query_params,
862
- header_params=_header_params,
863
- body=_body_params,
864
- post_params=_form_params,
865
- files=_files,
866
- auth_settings=_auth_settings,
867
- collection_formats=_collection_formats,
868
- _host=_host,
869
- _request_auth=_request_auth
870
- )
871
-
872
-