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.login_response import LoginResponse
|
|
21
24
|
|
|
22
25
|
from pulpcore.client.pulpcore.api_client import ApiClient, RequestSerialized
|
|
@@ -40,6 +43,7 @@ class LoginApi:
|
|
|
40
43
|
@validate_call
|
|
41
44
|
def login(
|
|
42
45
|
self,
|
|
46
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
43
47
|
_request_timeout: Union[
|
|
44
48
|
None,
|
|
45
49
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -56,6 +60,8 @@ class LoginApi:
|
|
|
56
60
|
"""login
|
|
57
61
|
|
|
58
62
|
|
|
63
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
64
|
+
:type x_task_diagnostics: List[str]
|
|
59
65
|
:param _request_timeout: timeout setting for this request. If one
|
|
60
66
|
number provided, it will be total request
|
|
61
67
|
timeout. It can also be a pair (tuple) of
|
|
@@ -79,6 +85,7 @@ class LoginApi:
|
|
|
79
85
|
""" # noqa: E501
|
|
80
86
|
|
|
81
87
|
_param = self._login_serialize(
|
|
88
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
82
89
|
_request_auth=_request_auth,
|
|
83
90
|
_content_type=_content_type,
|
|
84
91
|
_headers=_headers,
|
|
@@ -102,6 +109,7 @@ class LoginApi:
|
|
|
102
109
|
@validate_call
|
|
103
110
|
def login_with_http_info(
|
|
104
111
|
self,
|
|
112
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
105
113
|
_request_timeout: Union[
|
|
106
114
|
None,
|
|
107
115
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -118,6 +126,8 @@ class LoginApi:
|
|
|
118
126
|
"""login
|
|
119
127
|
|
|
120
128
|
|
|
129
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
130
|
+
:type x_task_diagnostics: List[str]
|
|
121
131
|
:param _request_timeout: timeout setting for this request. If one
|
|
122
132
|
number provided, it will be total request
|
|
123
133
|
timeout. It can also be a pair (tuple) of
|
|
@@ -141,6 +151,7 @@ class LoginApi:
|
|
|
141
151
|
""" # noqa: E501
|
|
142
152
|
|
|
143
153
|
_param = self._login_serialize(
|
|
154
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
144
155
|
_request_auth=_request_auth,
|
|
145
156
|
_content_type=_content_type,
|
|
146
157
|
_headers=_headers,
|
|
@@ -164,6 +175,7 @@ class LoginApi:
|
|
|
164
175
|
@validate_call
|
|
165
176
|
def login_without_preload_content(
|
|
166
177
|
self,
|
|
178
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
167
179
|
_request_timeout: Union[
|
|
168
180
|
None,
|
|
169
181
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -180,6 +192,8 @@ class LoginApi:
|
|
|
180
192
|
"""login
|
|
181
193
|
|
|
182
194
|
|
|
195
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
196
|
+
:type x_task_diagnostics: List[str]
|
|
183
197
|
:param _request_timeout: timeout setting for this request. If one
|
|
184
198
|
number provided, it will be total request
|
|
185
199
|
timeout. It can also be a pair (tuple) of
|
|
@@ -203,6 +217,7 @@ class LoginApi:
|
|
|
203
217
|
""" # noqa: E501
|
|
204
218
|
|
|
205
219
|
_param = self._login_serialize(
|
|
220
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
206
221
|
_request_auth=_request_auth,
|
|
207
222
|
_content_type=_content_type,
|
|
208
223
|
_headers=_headers,
|
|
@@ -221,6 +236,7 @@ class LoginApi:
|
|
|
221
236
|
|
|
222
237
|
def _login_serialize(
|
|
223
238
|
self,
|
|
239
|
+
x_task_diagnostics,
|
|
224
240
|
_request_auth,
|
|
225
241
|
_content_type,
|
|
226
242
|
_headers,
|
|
@@ -230,6 +246,7 @@ class LoginApi:
|
|
|
230
246
|
_host = None
|
|
231
247
|
|
|
232
248
|
_collection_formats: Dict[str, str] = {
|
|
249
|
+
'X-Task-Diagnostics': 'csv',
|
|
233
250
|
}
|
|
234
251
|
|
|
235
252
|
_path_params: Dict[str, str] = {}
|
|
@@ -244,6 +261,8 @@ class LoginApi:
|
|
|
244
261
|
# process the path parameters
|
|
245
262
|
# process the query parameters
|
|
246
263
|
# process the header parameters
|
|
264
|
+
if x_task_diagnostics is not None:
|
|
265
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
247
266
|
# process the form parameters
|
|
248
267
|
# process the body parameter
|
|
249
268
|
|
|
@@ -284,6 +303,9 @@ class LoginApi:
|
|
|
284
303
|
@validate_call
|
|
285
304
|
def login_read(
|
|
286
305
|
self,
|
|
306
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
307
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
308
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
287
309
|
_request_timeout: Union[
|
|
288
310
|
None,
|
|
289
311
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -300,6 +322,12 @@ class LoginApi:
|
|
|
300
322
|
"""login_read
|
|
301
323
|
|
|
302
324
|
|
|
325
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
326
|
+
:type x_task_diagnostics: List[str]
|
|
327
|
+
:param fields: A list of fields to include in the response.
|
|
328
|
+
:type fields: List[str]
|
|
329
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
330
|
+
:type exclude_fields: List[str]
|
|
303
331
|
:param _request_timeout: timeout setting for this request. If one
|
|
304
332
|
number provided, it will be total request
|
|
305
333
|
timeout. It can also be a pair (tuple) of
|
|
@@ -323,6 +351,9 @@ class LoginApi:
|
|
|
323
351
|
""" # noqa: E501
|
|
324
352
|
|
|
325
353
|
_param = self._login_read_serialize(
|
|
354
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
355
|
+
fields=fields,
|
|
356
|
+
exclude_fields=exclude_fields,
|
|
326
357
|
_request_auth=_request_auth,
|
|
327
358
|
_content_type=_content_type,
|
|
328
359
|
_headers=_headers,
|
|
@@ -346,6 +377,9 @@ class LoginApi:
|
|
|
346
377
|
@validate_call
|
|
347
378
|
def login_read_with_http_info(
|
|
348
379
|
self,
|
|
380
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
381
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
382
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
349
383
|
_request_timeout: Union[
|
|
350
384
|
None,
|
|
351
385
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -362,6 +396,12 @@ class LoginApi:
|
|
|
362
396
|
"""login_read
|
|
363
397
|
|
|
364
398
|
|
|
399
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
400
|
+
:type x_task_diagnostics: List[str]
|
|
401
|
+
:param fields: A list of fields to include in the response.
|
|
402
|
+
:type fields: List[str]
|
|
403
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
404
|
+
:type exclude_fields: List[str]
|
|
365
405
|
:param _request_timeout: timeout setting for this request. If one
|
|
366
406
|
number provided, it will be total request
|
|
367
407
|
timeout. It can also be a pair (tuple) of
|
|
@@ -385,6 +425,9 @@ class LoginApi:
|
|
|
385
425
|
""" # noqa: E501
|
|
386
426
|
|
|
387
427
|
_param = self._login_read_serialize(
|
|
428
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
429
|
+
fields=fields,
|
|
430
|
+
exclude_fields=exclude_fields,
|
|
388
431
|
_request_auth=_request_auth,
|
|
389
432
|
_content_type=_content_type,
|
|
390
433
|
_headers=_headers,
|
|
@@ -408,6 +451,9 @@ class LoginApi:
|
|
|
408
451
|
@validate_call
|
|
409
452
|
def login_read_without_preload_content(
|
|
410
453
|
self,
|
|
454
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
455
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
456
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
411
457
|
_request_timeout: Union[
|
|
412
458
|
None,
|
|
413
459
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -424,6 +470,12 @@ class LoginApi:
|
|
|
424
470
|
"""login_read
|
|
425
471
|
|
|
426
472
|
|
|
473
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
474
|
+
:type x_task_diagnostics: List[str]
|
|
475
|
+
:param fields: A list of fields to include in the response.
|
|
476
|
+
:type fields: List[str]
|
|
477
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
478
|
+
:type exclude_fields: List[str]
|
|
427
479
|
:param _request_timeout: timeout setting for this request. If one
|
|
428
480
|
number provided, it will be total request
|
|
429
481
|
timeout. It can also be a pair (tuple) of
|
|
@@ -447,6 +499,9 @@ class LoginApi:
|
|
|
447
499
|
""" # noqa: E501
|
|
448
500
|
|
|
449
501
|
_param = self._login_read_serialize(
|
|
502
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
503
|
+
fields=fields,
|
|
504
|
+
exclude_fields=exclude_fields,
|
|
450
505
|
_request_auth=_request_auth,
|
|
451
506
|
_content_type=_content_type,
|
|
452
507
|
_headers=_headers,
|
|
@@ -465,6 +520,9 @@ class LoginApi:
|
|
|
465
520
|
|
|
466
521
|
def _login_read_serialize(
|
|
467
522
|
self,
|
|
523
|
+
x_task_diagnostics,
|
|
524
|
+
fields,
|
|
525
|
+
exclude_fields,
|
|
468
526
|
_request_auth,
|
|
469
527
|
_content_type,
|
|
470
528
|
_headers,
|
|
@@ -474,6 +532,9 @@ class LoginApi:
|
|
|
474
532
|
_host = None
|
|
475
533
|
|
|
476
534
|
_collection_formats: Dict[str, str] = {
|
|
535
|
+
'X-Task-Diagnostics': 'csv',
|
|
536
|
+
'fields': 'multi',
|
|
537
|
+
'exclude_fields': 'multi',
|
|
477
538
|
}
|
|
478
539
|
|
|
479
540
|
_path_params: Dict[str, str] = {}
|
|
@@ -487,7 +548,17 @@ class LoginApi:
|
|
|
487
548
|
|
|
488
549
|
# process the path parameters
|
|
489
550
|
# process the query parameters
|
|
551
|
+
if fields is not None:
|
|
552
|
+
|
|
553
|
+
_query_params.append(('fields', fields))
|
|
554
|
+
|
|
555
|
+
if exclude_fields is not None:
|
|
556
|
+
|
|
557
|
+
_query_params.append(('exclude_fields', exclude_fields))
|
|
558
|
+
|
|
490
559
|
# process the header parameters
|
|
560
|
+
if x_task_diagnostics is not None:
|
|
561
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
491
562
|
# process the form parameters
|
|
492
563
|
# process the body parameter
|
|
493
564
|
|
|
@@ -528,6 +599,7 @@ class LoginApi:
|
|
|
528
599
|
@validate_call
|
|
529
600
|
def logout(
|
|
530
601
|
self,
|
|
602
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
531
603
|
_request_timeout: Union[
|
|
532
604
|
None,
|
|
533
605
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -544,6 +616,8 @@ class LoginApi:
|
|
|
544
616
|
"""logout
|
|
545
617
|
|
|
546
618
|
|
|
619
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
620
|
+
:type x_task_diagnostics: List[str]
|
|
547
621
|
:param _request_timeout: timeout setting for this request. If one
|
|
548
622
|
number provided, it will be total request
|
|
549
623
|
timeout. It can also be a pair (tuple) of
|
|
@@ -567,6 +641,7 @@ class LoginApi:
|
|
|
567
641
|
""" # noqa: E501
|
|
568
642
|
|
|
569
643
|
_param = self._logout_serialize(
|
|
644
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
570
645
|
_request_auth=_request_auth,
|
|
571
646
|
_content_type=_content_type,
|
|
572
647
|
_headers=_headers,
|
|
@@ -590,6 +665,7 @@ class LoginApi:
|
|
|
590
665
|
@validate_call
|
|
591
666
|
def logout_with_http_info(
|
|
592
667
|
self,
|
|
668
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
593
669
|
_request_timeout: Union[
|
|
594
670
|
None,
|
|
595
671
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -606,6 +682,8 @@ class LoginApi:
|
|
|
606
682
|
"""logout
|
|
607
683
|
|
|
608
684
|
|
|
685
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
686
|
+
:type x_task_diagnostics: List[str]
|
|
609
687
|
:param _request_timeout: timeout setting for this request. If one
|
|
610
688
|
number provided, it will be total request
|
|
611
689
|
timeout. It can also be a pair (tuple) of
|
|
@@ -629,6 +707,7 @@ class LoginApi:
|
|
|
629
707
|
""" # noqa: E501
|
|
630
708
|
|
|
631
709
|
_param = self._logout_serialize(
|
|
710
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
632
711
|
_request_auth=_request_auth,
|
|
633
712
|
_content_type=_content_type,
|
|
634
713
|
_headers=_headers,
|
|
@@ -652,6 +731,7 @@ class LoginApi:
|
|
|
652
731
|
@validate_call
|
|
653
732
|
def logout_without_preload_content(
|
|
654
733
|
self,
|
|
734
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
655
735
|
_request_timeout: Union[
|
|
656
736
|
None,
|
|
657
737
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -668,6 +748,8 @@ class LoginApi:
|
|
|
668
748
|
"""logout
|
|
669
749
|
|
|
670
750
|
|
|
751
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
752
|
+
:type x_task_diagnostics: List[str]
|
|
671
753
|
:param _request_timeout: timeout setting for this request. If one
|
|
672
754
|
number provided, it will be total request
|
|
673
755
|
timeout. It can also be a pair (tuple) of
|
|
@@ -691,6 +773,7 @@ class LoginApi:
|
|
|
691
773
|
""" # noqa: E501
|
|
692
774
|
|
|
693
775
|
_param = self._logout_serialize(
|
|
776
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
694
777
|
_request_auth=_request_auth,
|
|
695
778
|
_content_type=_content_type,
|
|
696
779
|
_headers=_headers,
|
|
@@ -709,6 +792,7 @@ class LoginApi:
|
|
|
709
792
|
|
|
710
793
|
def _logout_serialize(
|
|
711
794
|
self,
|
|
795
|
+
x_task_diagnostics,
|
|
712
796
|
_request_auth,
|
|
713
797
|
_content_type,
|
|
714
798
|
_headers,
|
|
@@ -718,6 +802,7 @@ class LoginApi:
|
|
|
718
802
|
_host = None
|
|
719
803
|
|
|
720
804
|
_collection_formats: Dict[str, str] = {
|
|
805
|
+
'X-Task-Diagnostics': 'csv',
|
|
721
806
|
}
|
|
722
807
|
|
|
723
808
|
_path_params: Dict[str, str] = {}
|
|
@@ -732,6 +817,8 @@ class LoginApi:
|
|
|
732
817
|
# process the path parameters
|
|
733
818
|
# process the query parameters
|
|
734
819
|
# process the header parameters
|
|
820
|
+
if x_task_diagnostics is not None:
|
|
821
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
735
822
|
# process the form parameters
|
|
736
823
|
# process the body parameter
|
|
737
824
|
|
|
@@ -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
|
|
|
22
25
|
from pulpcore.client.pulpcore.api_client import ApiClient, RequestSerialized
|
|
@@ -40,6 +43,7 @@ class OrphansApi:
|
|
|
40
43
|
@validate_call
|
|
41
44
|
def delete(
|
|
42
45
|
self,
|
|
46
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
43
47
|
_request_timeout: Union[
|
|
44
48
|
None,
|
|
45
49
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -57,6 +61,8 @@ class OrphansApi:
|
|
|
57
61
|
|
|
58
62
|
DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead.
|
|
59
63
|
|
|
64
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
65
|
+
:type x_task_diagnostics: List[str]
|
|
60
66
|
:param _request_timeout: timeout setting for this request. If one
|
|
61
67
|
number provided, it will be total request
|
|
62
68
|
timeout. It can also be a pair (tuple) of
|
|
@@ -80,6 +86,7 @@ class OrphansApi:
|
|
|
80
86
|
""" # noqa: E501
|
|
81
87
|
|
|
82
88
|
_param = self._delete_serialize(
|
|
89
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
83
90
|
_request_auth=_request_auth,
|
|
84
91
|
_content_type=_content_type,
|
|
85
92
|
_headers=_headers,
|
|
@@ -103,6 +110,7 @@ class OrphansApi:
|
|
|
103
110
|
@validate_call
|
|
104
111
|
def delete_with_http_info(
|
|
105
112
|
self,
|
|
113
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
106
114
|
_request_timeout: Union[
|
|
107
115
|
None,
|
|
108
116
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -120,6 +128,8 @@ class OrphansApi:
|
|
|
120
128
|
|
|
121
129
|
DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead.
|
|
122
130
|
|
|
131
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
132
|
+
:type x_task_diagnostics: List[str]
|
|
123
133
|
:param _request_timeout: timeout setting for this request. If one
|
|
124
134
|
number provided, it will be total request
|
|
125
135
|
timeout. It can also be a pair (tuple) of
|
|
@@ -143,6 +153,7 @@ class OrphansApi:
|
|
|
143
153
|
""" # noqa: E501
|
|
144
154
|
|
|
145
155
|
_param = self._delete_serialize(
|
|
156
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
146
157
|
_request_auth=_request_auth,
|
|
147
158
|
_content_type=_content_type,
|
|
148
159
|
_headers=_headers,
|
|
@@ -166,6 +177,7 @@ class OrphansApi:
|
|
|
166
177
|
@validate_call
|
|
167
178
|
def delete_without_preload_content(
|
|
168
179
|
self,
|
|
180
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
169
181
|
_request_timeout: Union[
|
|
170
182
|
None,
|
|
171
183
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -183,6 +195,8 @@ class OrphansApi:
|
|
|
183
195
|
|
|
184
196
|
DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead.
|
|
185
197
|
|
|
198
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
199
|
+
:type x_task_diagnostics: List[str]
|
|
186
200
|
:param _request_timeout: timeout setting for this request. If one
|
|
187
201
|
number provided, it will be total request
|
|
188
202
|
timeout. It can also be a pair (tuple) of
|
|
@@ -206,6 +220,7 @@ class OrphansApi:
|
|
|
206
220
|
""" # noqa: E501
|
|
207
221
|
|
|
208
222
|
_param = self._delete_serialize(
|
|
223
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
209
224
|
_request_auth=_request_auth,
|
|
210
225
|
_content_type=_content_type,
|
|
211
226
|
_headers=_headers,
|
|
@@ -224,6 +239,7 @@ class OrphansApi:
|
|
|
224
239
|
|
|
225
240
|
def _delete_serialize(
|
|
226
241
|
self,
|
|
242
|
+
x_task_diagnostics,
|
|
227
243
|
_request_auth,
|
|
228
244
|
_content_type,
|
|
229
245
|
_headers,
|
|
@@ -233,6 +249,7 @@ class OrphansApi:
|
|
|
233
249
|
_host = None
|
|
234
250
|
|
|
235
251
|
_collection_formats: Dict[str, str] = {
|
|
252
|
+
'X-Task-Diagnostics': 'csv',
|
|
236
253
|
}
|
|
237
254
|
|
|
238
255
|
_path_params: Dict[str, str] = {}
|
|
@@ -247,6 +264,8 @@ class OrphansApi:
|
|
|
247
264
|
# process the path parameters
|
|
248
265
|
# process the query parameters
|
|
249
266
|
# process the header parameters
|
|
267
|
+
if x_task_diagnostics is not None:
|
|
268
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
250
269
|
# process the form parameters
|
|
251
270
|
# process the body parameter
|
|
252
271
|
|
|
@@ -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.orphans_cleanup import OrphansCleanup
|
|
22
25
|
|
|
@@ -42,6 +45,7 @@ class OrphansCleanupApi:
|
|
|
42
45
|
def cleanup(
|
|
43
46
|
self,
|
|
44
47
|
orphans_cleanup: OrphansCleanup,
|
|
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 OrphansCleanupApi:
|
|
|
61
65
|
|
|
62
66
|
:param orphans_cleanup: (required)
|
|
63
67
|
:type orphans_cleanup: OrphansCleanup
|
|
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 OrphansCleanupApi:
|
|
|
85
91
|
|
|
86
92
|
_param = self._cleanup_serialize(
|
|
87
93
|
orphans_cleanup=orphans_cleanup,
|
|
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 OrphansCleanupApi:
|
|
|
109
116
|
def cleanup_with_http_info(
|
|
110
117
|
self,
|
|
111
118
|
orphans_cleanup: OrphansCleanup,
|
|
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 OrphansCleanupApi:
|
|
|
128
136
|
|
|
129
137
|
:param orphans_cleanup: (required)
|
|
130
138
|
:type orphans_cleanup: OrphansCleanup
|
|
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 OrphansCleanupApi:
|
|
|
152
162
|
|
|
153
163
|
_param = self._cleanup_serialize(
|
|
154
164
|
orphans_cleanup=orphans_cleanup,
|
|
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 OrphansCleanupApi:
|
|
|
176
187
|
def cleanup_without_preload_content(
|
|
177
188
|
self,
|
|
178
189
|
orphans_cleanup: OrphansCleanup,
|
|
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 OrphansCleanupApi:
|
|
|
195
207
|
|
|
196
208
|
:param orphans_cleanup: (required)
|
|
197
209
|
:type orphans_cleanup: OrphansCleanup
|
|
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 OrphansCleanupApi:
|
|
|
219
233
|
|
|
220
234
|
_param = self._cleanup_serialize(
|
|
221
235
|
orphans_cleanup=orphans_cleanup,
|
|
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 OrphansCleanupApi:
|
|
|
238
253
|
def _cleanup_serialize(
|
|
239
254
|
self,
|
|
240
255
|
orphans_cleanup,
|
|
256
|
+
x_task_diagnostics,
|
|
241
257
|
_request_auth,
|
|
242
258
|
_content_type,
|
|
243
259
|
_headers,
|
|
@@ -247,6 +263,7 @@ class OrphansCleanupApi:
|
|
|
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 OrphansCleanupApi:
|
|
|
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 orphans_cleanup is not None:
|
|
@@ -44,6 +44,7 @@ class PublicationsApi:
|
|
|
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
|
checkpoint: Annotated[Optional[StrictBool], Field(description="Filter results where checkpoint matches value")] = None,
|
|
48
49
|
content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
|
|
49
50
|
content__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
@@ -84,6 +85,8 @@ class PublicationsApi:
|
|
|
84
85
|
|
|
85
86
|
A base class for any publication viewset.
|
|
86
87
|
|
|
88
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
89
|
+
:type x_task_diagnostics: List[str]
|
|
87
90
|
:param checkpoint: Filter results where checkpoint matches value
|
|
88
91
|
:type checkpoint: bool
|
|
89
92
|
:param content: Content Unit referenced by HREF/PRN
|
|
@@ -153,6 +156,7 @@ class PublicationsApi:
|
|
|
153
156
|
""" # noqa: E501
|
|
154
157
|
|
|
155
158
|
_param = self._list_serialize(
|
|
159
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
156
160
|
checkpoint=checkpoint,
|
|
157
161
|
content=content,
|
|
158
162
|
content__in=content__in,
|
|
@@ -199,6 +203,7 @@ class PublicationsApi:
|
|
|
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
|
checkpoint: Annotated[Optional[StrictBool], Field(description="Filter results where checkpoint matches value")] = None,
|
|
203
208
|
content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
|
|
204
209
|
content__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
@@ -239,6 +244,8 @@ class PublicationsApi:
|
|
|
239
244
|
|
|
240
245
|
A base class for any publication viewset.
|
|
241
246
|
|
|
247
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
248
|
+
:type x_task_diagnostics: List[str]
|
|
242
249
|
:param checkpoint: Filter results where checkpoint matches value
|
|
243
250
|
:type checkpoint: bool
|
|
244
251
|
:param content: Content Unit referenced by HREF/PRN
|
|
@@ -308,6 +315,7 @@ class PublicationsApi:
|
|
|
308
315
|
""" # noqa: E501
|
|
309
316
|
|
|
310
317
|
_param = self._list_serialize(
|
|
318
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
311
319
|
checkpoint=checkpoint,
|
|
312
320
|
content=content,
|
|
313
321
|
content__in=content__in,
|
|
@@ -354,6 +362,7 @@ class PublicationsApi:
|
|
|
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
|
checkpoint: Annotated[Optional[StrictBool], Field(description="Filter results where checkpoint matches value")] = None,
|
|
358
367
|
content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
|
|
359
368
|
content__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
@@ -394,6 +403,8 @@ class PublicationsApi:
|
|
|
394
403
|
|
|
395
404
|
A base class for any publication viewset.
|
|
396
405
|
|
|
406
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
407
|
+
:type x_task_diagnostics: List[str]
|
|
397
408
|
:param checkpoint: Filter results where checkpoint matches value
|
|
398
409
|
:type checkpoint: bool
|
|
399
410
|
:param content: Content Unit referenced by HREF/PRN
|
|
@@ -463,6 +474,7 @@ class PublicationsApi:
|
|
|
463
474
|
""" # noqa: E501
|
|
464
475
|
|
|
465
476
|
_param = self._list_serialize(
|
|
477
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
466
478
|
checkpoint=checkpoint,
|
|
467
479
|
content=content,
|
|
468
480
|
content__in=content__in,
|
|
@@ -504,6 +516,7 @@ class PublicationsApi:
|
|
|
504
516
|
|
|
505
517
|
def _list_serialize(
|
|
506
518
|
self,
|
|
519
|
+
x_task_diagnostics,
|
|
507
520
|
checkpoint,
|
|
508
521
|
content,
|
|
509
522
|
content__in,
|
|
@@ -536,6 +549,7 @@ class PublicationsApi:
|
|
|
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
|
'ordering': 'csv',
|
|
541
555
|
'prn__in': 'csv',
|
|
@@ -696,6 +710,8 @@ class PublicationsApi:
|
|
|
696
710
|
_query_params.append(('exclude_fields', exclude_fields))
|
|
697
711
|
|
|
698
712
|
# process the header parameters
|
|
713
|
+
if x_task_diagnostics is not None:
|
|
714
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
699
715
|
# process the form parameters
|
|
700
716
|
# process the body parameter
|
|
701
717
|
|