pulpcore-client 3.80.2__py3-none-any.whl → 3.82.0__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 pulpcore-client might be problematic. Click here for more details.
- pulpcore/client/pulpcore/__init__.py +1 -1
- pulpcore/client/pulpcore/api/access_policies_api.py +80 -0
- pulpcore/client/pulpcore/api/artifacts_api.py +64 -0
- pulpcore/client/pulpcore/api/content_api.py +16 -0
- pulpcore/client/pulpcore/api/content_openpgp_publickey_api.py +80 -0
- pulpcore/client/pulpcore/api/content_openpgp_publicsubkey_api.py +64 -0
- pulpcore/client/pulpcore/api/content_openpgp_signature_api.py +64 -0
- pulpcore/client/pulpcore/api/content_openpgp_userattribute_api.py +64 -0
- pulpcore/client/pulpcore/api/content_openpgp_userid_api.py +64 -0
- pulpcore/client/pulpcore/api/contentguards_api.py +16 -0
- pulpcore/client/pulpcore/api/contentguards_composite_api.py +160 -0
- pulpcore/client/pulpcore/api/contentguards_content_redirect_api.py +160 -0
- pulpcore/client/pulpcore/api/contentguards_header_api.py +160 -0
- pulpcore/client/pulpcore/api/contentguards_rbac_api.py +160 -0
- pulpcore/client/pulpcore/api/distributions_api.py +16 -0
- pulpcore/client/pulpcore/api/distributions_artifacts_api.py +32 -0
- pulpcore/client/pulpcore/api/distributions_openpgp_api.py +128 -0
- pulpcore/client/pulpcore/api/domains_api.py +144 -0
- pulpcore/client/pulpcore/api/exporters_filesystem_api.py +96 -0
- pulpcore/client/pulpcore/api/exporters_filesystem_exports_api.py +64 -0
- pulpcore/client/pulpcore/api/exporters_pulp_api.py +96 -0
- pulpcore/client/pulpcore/api/exporters_pulp_exports_api.py +64 -0
- pulpcore/client/pulpcore/api/groups_api.py +160 -0
- pulpcore/client/pulpcore/api/groups_roles_api.py +64 -0
- pulpcore/client/pulpcore/api/groups_users_api.py +48 -0
- pulpcore/client/pulpcore/api/importers_pulp_api.py +96 -0
- pulpcore/client/pulpcore/api/importers_pulp_import_check_api.py +19 -0
- pulpcore/client/pulpcore/api/importers_pulp_imports_api.py +64 -0
- pulpcore/client/pulpcore/api/livez_api.py +55 -0
- pulpcore/client/pulpcore/api/login_api.py +87 -0
- pulpcore/client/pulpcore/api/orphans_api.py +19 -0
- pulpcore/client/pulpcore/api/orphans_cleanup_api.py +19 -0
- pulpcore/client/pulpcore/api/publications_api.py +16 -0
- pulpcore/client/pulpcore/api/remotes_api.py +16 -0
- pulpcore/client/pulpcore/api/repair_api.py +19 -0
- pulpcore/client/pulpcore/api/repositories_api.py +16 -0
- pulpcore/client/pulpcore/api/repositories_openpgp_keyring_api.py +208 -0
- pulpcore/client/pulpcore/api/repositories_reclaim_space_api.py +19 -0
- pulpcore/client/pulpcore/api/repository_versions_api.py +16 -0
- pulpcore/client/pulpcore/api/roles_api.py +96 -0
- pulpcore/client/pulpcore/api/signing_services_api.py +32 -0
- pulpcore/client/pulpcore/api/status_api.py +55 -0
- pulpcore/client/pulpcore/api/task_groups_api.py +48 -0
- pulpcore/client/pulpcore/api/task_schedules_api.py +96 -0
- pulpcore/client/pulpcore/api/tasks_api.py +166 -6
- pulpcore/client/pulpcore/api/uploads_api.py +160 -0
- pulpcore/client/pulpcore/api/upstream_pulps_api.py +176 -0
- pulpcore/client/pulpcore/api/users_api.py +96 -0
- pulpcore/client/pulpcore/api/users_roles_api.py +64 -0
- pulpcore/client/pulpcore/api/workers_api.py +32 -0
- pulpcore/client/pulpcore/api_client.py +1 -1
- pulpcore/client/pulpcore/configuration.py +1 -1
- pulpcore/client/pulpcore/models/artifact_distribution_response.py +17 -17
- pulpcore/client/pulpcore/models/composite_content_guard.py +1 -1
- pulpcore/client/pulpcore/models/composite_content_guard_response.py +1 -1
- pulpcore/client/pulpcore/models/content_guard_response.py +1 -1
- pulpcore/client/pulpcore/models/patched_composite_content_guard.py +1 -1
- pulpcore/client/pulpcore/models/patched_rbac_content_guard.py +1 -1
- pulpcore/client/pulpcore/models/rbac_content_guard.py +1 -1
- pulpcore/client/pulpcore/models/rbac_content_guard_response.py +1 -1
- {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/METADATA +1 -1
- {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/RECORD +64 -64
- {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/WHEEL +0 -0
- {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/top_level.txt +0 -0
|
@@ -17,6 +17,9 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
17
17
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
|
+
from pydantic import Field, StrictStr
|
|
21
|
+
from typing import List, Optional
|
|
22
|
+
from typing_extensions import Annotated
|
|
20
23
|
from pulpcore.client.pulpcore.models.async_operation_response import AsyncOperationResponse
|
|
21
24
|
from pulpcore.client.pulpcore.models.reclaim_space import ReclaimSpace
|
|
22
25
|
|
|
@@ -42,6 +45,7 @@ class RepositoriesReclaimSpaceApi:
|
|
|
42
45
|
def reclaim(
|
|
43
46
|
self,
|
|
44
47
|
reclaim_space: ReclaimSpace,
|
|
48
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
45
49
|
_request_timeout: Union[
|
|
46
50
|
None,
|
|
47
51
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -61,6 +65,8 @@ class RepositoriesReclaimSpaceApi:
|
|
|
61
65
|
|
|
62
66
|
:param reclaim_space: (required)
|
|
63
67
|
:type reclaim_space: ReclaimSpace
|
|
68
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
69
|
+
:type x_task_diagnostics: List[str]
|
|
64
70
|
:param _request_timeout: timeout setting for this request. If one
|
|
65
71
|
number provided, it will be total request
|
|
66
72
|
timeout. It can also be a pair (tuple) of
|
|
@@ -85,6 +91,7 @@ class RepositoriesReclaimSpaceApi:
|
|
|
85
91
|
|
|
86
92
|
_param = self._reclaim_serialize(
|
|
87
93
|
reclaim_space=reclaim_space,
|
|
94
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
88
95
|
_request_auth=_request_auth,
|
|
89
96
|
_content_type=_content_type,
|
|
90
97
|
_headers=_headers,
|
|
@@ -109,6 +116,7 @@ class RepositoriesReclaimSpaceApi:
|
|
|
109
116
|
def reclaim_with_http_info(
|
|
110
117
|
self,
|
|
111
118
|
reclaim_space: ReclaimSpace,
|
|
119
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
112
120
|
_request_timeout: Union[
|
|
113
121
|
None,
|
|
114
122
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -128,6 +136,8 @@ class RepositoriesReclaimSpaceApi:
|
|
|
128
136
|
|
|
129
137
|
:param reclaim_space: (required)
|
|
130
138
|
:type reclaim_space: ReclaimSpace
|
|
139
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
140
|
+
:type x_task_diagnostics: List[str]
|
|
131
141
|
:param _request_timeout: timeout setting for this request. If one
|
|
132
142
|
number provided, it will be total request
|
|
133
143
|
timeout. It can also be a pair (tuple) of
|
|
@@ -152,6 +162,7 @@ class RepositoriesReclaimSpaceApi:
|
|
|
152
162
|
|
|
153
163
|
_param = self._reclaim_serialize(
|
|
154
164
|
reclaim_space=reclaim_space,
|
|
165
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
155
166
|
_request_auth=_request_auth,
|
|
156
167
|
_content_type=_content_type,
|
|
157
168
|
_headers=_headers,
|
|
@@ -176,6 +187,7 @@ class RepositoriesReclaimSpaceApi:
|
|
|
176
187
|
def reclaim_without_preload_content(
|
|
177
188
|
self,
|
|
178
189
|
reclaim_space: ReclaimSpace,
|
|
190
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
179
191
|
_request_timeout: Union[
|
|
180
192
|
None,
|
|
181
193
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -195,6 +207,8 @@ class RepositoriesReclaimSpaceApi:
|
|
|
195
207
|
|
|
196
208
|
:param reclaim_space: (required)
|
|
197
209
|
:type reclaim_space: ReclaimSpace
|
|
210
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
211
|
+
:type x_task_diagnostics: List[str]
|
|
198
212
|
:param _request_timeout: timeout setting for this request. If one
|
|
199
213
|
number provided, it will be total request
|
|
200
214
|
timeout. It can also be a pair (tuple) of
|
|
@@ -219,6 +233,7 @@ class RepositoriesReclaimSpaceApi:
|
|
|
219
233
|
|
|
220
234
|
_param = self._reclaim_serialize(
|
|
221
235
|
reclaim_space=reclaim_space,
|
|
236
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
222
237
|
_request_auth=_request_auth,
|
|
223
238
|
_content_type=_content_type,
|
|
224
239
|
_headers=_headers,
|
|
@@ -238,6 +253,7 @@ class RepositoriesReclaimSpaceApi:
|
|
|
238
253
|
def _reclaim_serialize(
|
|
239
254
|
self,
|
|
240
255
|
reclaim_space,
|
|
256
|
+
x_task_diagnostics,
|
|
241
257
|
_request_auth,
|
|
242
258
|
_content_type,
|
|
243
259
|
_headers,
|
|
@@ -247,6 +263,7 @@ class RepositoriesReclaimSpaceApi:
|
|
|
247
263
|
_host = None
|
|
248
264
|
|
|
249
265
|
_collection_formats: Dict[str, str] = {
|
|
266
|
+
'X-Task-Diagnostics': 'csv',
|
|
250
267
|
}
|
|
251
268
|
|
|
252
269
|
_path_params: Dict[str, str] = {}
|
|
@@ -261,6 +278,8 @@ class RepositoriesReclaimSpaceApi:
|
|
|
261
278
|
# process the path parameters
|
|
262
279
|
# process the query parameters
|
|
263
280
|
# process the header parameters
|
|
281
|
+
if x_task_diagnostics is not None:
|
|
282
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
264
283
|
# process the form parameters
|
|
265
284
|
# process the body parameter
|
|
266
285
|
if reclaim_space is not None:
|
|
@@ -44,6 +44,7 @@ class RepositoryVersionsApi:
|
|
|
44
44
|
@validate_call
|
|
45
45
|
def list(
|
|
46
46
|
self,
|
|
47
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
47
48
|
content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
|
|
48
49
|
content__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
49
50
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
@@ -84,6 +85,8 @@ class RepositoryVersionsApi:
|
|
|
84
85
|
|
|
85
86
|
A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets.
|
|
86
87
|
|
|
88
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
89
|
+
:type x_task_diagnostics: List[str]
|
|
87
90
|
:param content: Content Unit referenced by HREF/PRN
|
|
88
91
|
:type content: str
|
|
89
92
|
:param content__in: Multiple values may be separated by commas.
|
|
@@ -153,6 +156,7 @@ class RepositoryVersionsApi:
|
|
|
153
156
|
""" # noqa: E501
|
|
154
157
|
|
|
155
158
|
_param = self._list_serialize(
|
|
159
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
156
160
|
content=content,
|
|
157
161
|
content__in=content__in,
|
|
158
162
|
limit=limit,
|
|
@@ -199,6 +203,7 @@ class RepositoryVersionsApi:
|
|
|
199
203
|
@validate_call
|
|
200
204
|
def list_with_http_info(
|
|
201
205
|
self,
|
|
206
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
202
207
|
content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
|
|
203
208
|
content__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
204
209
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
@@ -239,6 +244,8 @@ class RepositoryVersionsApi:
|
|
|
239
244
|
|
|
240
245
|
A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets.
|
|
241
246
|
|
|
247
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
248
|
+
:type x_task_diagnostics: List[str]
|
|
242
249
|
:param content: Content Unit referenced by HREF/PRN
|
|
243
250
|
:type content: str
|
|
244
251
|
:param content__in: Multiple values may be separated by commas.
|
|
@@ -308,6 +315,7 @@ class RepositoryVersionsApi:
|
|
|
308
315
|
""" # noqa: E501
|
|
309
316
|
|
|
310
317
|
_param = self._list_serialize(
|
|
318
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
311
319
|
content=content,
|
|
312
320
|
content__in=content__in,
|
|
313
321
|
limit=limit,
|
|
@@ -354,6 +362,7 @@ class RepositoryVersionsApi:
|
|
|
354
362
|
@validate_call
|
|
355
363
|
def list_without_preload_content(
|
|
356
364
|
self,
|
|
365
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
357
366
|
content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
|
|
358
367
|
content__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
359
368
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
@@ -394,6 +403,8 @@ class RepositoryVersionsApi:
|
|
|
394
403
|
|
|
395
404
|
A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets.
|
|
396
405
|
|
|
406
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
407
|
+
:type x_task_diagnostics: List[str]
|
|
397
408
|
:param content: Content Unit referenced by HREF/PRN
|
|
398
409
|
:type content: str
|
|
399
410
|
:param content__in: Multiple values may be separated by commas.
|
|
@@ -463,6 +474,7 @@ class RepositoryVersionsApi:
|
|
|
463
474
|
""" # noqa: E501
|
|
464
475
|
|
|
465
476
|
_param = self._list_serialize(
|
|
477
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
466
478
|
content=content,
|
|
467
479
|
content__in=content__in,
|
|
468
480
|
limit=limit,
|
|
@@ -504,6 +516,7 @@ class RepositoryVersionsApi:
|
|
|
504
516
|
|
|
505
517
|
def _list_serialize(
|
|
506
518
|
self,
|
|
519
|
+
x_task_diagnostics,
|
|
507
520
|
content,
|
|
508
521
|
content__in,
|
|
509
522
|
limit,
|
|
@@ -536,6 +549,7 @@ class RepositoryVersionsApi:
|
|
|
536
549
|
_host = None
|
|
537
550
|
|
|
538
551
|
_collection_formats: Dict[str, str] = {
|
|
552
|
+
'X-Task-Diagnostics': 'csv',
|
|
539
553
|
'content__in': 'csv',
|
|
540
554
|
'number__range': 'csv',
|
|
541
555
|
'ordering': 'csv',
|
|
@@ -695,6 +709,8 @@ class RepositoryVersionsApi:
|
|
|
695
709
|
_query_params.append(('exclude_fields', exclude_fields))
|
|
696
710
|
|
|
697
711
|
# process the header parameters
|
|
712
|
+
if x_task_diagnostics is not None:
|
|
713
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
698
714
|
# process the form parameters
|
|
699
715
|
# process the body parameter
|
|
700
716
|
|