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
|
@@ -45,6 +45,7 @@ class ArtifactsApi:
|
|
|
45
45
|
def create(
|
|
46
46
|
self,
|
|
47
47
|
file: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The stored file.")],
|
|
48
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
48
49
|
size: Annotated[Optional[StrictInt], Field(description="The size of the file in bytes.")] = None,
|
|
49
50
|
md5: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The MD5 checksum of the file if available.")] = None,
|
|
50
51
|
sha1: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-1 checksum of the file if available.")] = None,
|
|
@@ -71,6 +72,8 @@ class ArtifactsApi:
|
|
|
71
72
|
|
|
72
73
|
:param file: The stored file. (required)
|
|
73
74
|
:type file: bytearray
|
|
75
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
76
|
+
:type x_task_diagnostics: List[str]
|
|
74
77
|
:param size: The size of the file in bytes.
|
|
75
78
|
:type size: int
|
|
76
79
|
:param md5: The MD5 checksum of the file if available.
|
|
@@ -109,6 +112,7 @@ class ArtifactsApi:
|
|
|
109
112
|
|
|
110
113
|
_param = self._create_serialize(
|
|
111
114
|
file=file,
|
|
115
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
112
116
|
size=size,
|
|
113
117
|
md5=md5,
|
|
114
118
|
sha1=sha1,
|
|
@@ -140,6 +144,7 @@ class ArtifactsApi:
|
|
|
140
144
|
def create_with_http_info(
|
|
141
145
|
self,
|
|
142
146
|
file: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The stored file.")],
|
|
147
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
143
148
|
size: Annotated[Optional[StrictInt], Field(description="The size of the file in bytes.")] = None,
|
|
144
149
|
md5: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The MD5 checksum of the file if available.")] = None,
|
|
145
150
|
sha1: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-1 checksum of the file if available.")] = None,
|
|
@@ -166,6 +171,8 @@ class ArtifactsApi:
|
|
|
166
171
|
|
|
167
172
|
:param file: The stored file. (required)
|
|
168
173
|
:type file: bytearray
|
|
174
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
175
|
+
:type x_task_diagnostics: List[str]
|
|
169
176
|
:param size: The size of the file in bytes.
|
|
170
177
|
:type size: int
|
|
171
178
|
:param md5: The MD5 checksum of the file if available.
|
|
@@ -204,6 +211,7 @@ class ArtifactsApi:
|
|
|
204
211
|
|
|
205
212
|
_param = self._create_serialize(
|
|
206
213
|
file=file,
|
|
214
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
207
215
|
size=size,
|
|
208
216
|
md5=md5,
|
|
209
217
|
sha1=sha1,
|
|
@@ -235,6 +243,7 @@ class ArtifactsApi:
|
|
|
235
243
|
def create_without_preload_content(
|
|
236
244
|
self,
|
|
237
245
|
file: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The stored file.")],
|
|
246
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
238
247
|
size: Annotated[Optional[StrictInt], Field(description="The size of the file in bytes.")] = None,
|
|
239
248
|
md5: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The MD5 checksum of the file if available.")] = None,
|
|
240
249
|
sha1: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-1 checksum of the file if available.")] = None,
|
|
@@ -261,6 +270,8 @@ class ArtifactsApi:
|
|
|
261
270
|
|
|
262
271
|
:param file: The stored file. (required)
|
|
263
272
|
:type file: bytearray
|
|
273
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
274
|
+
:type x_task_diagnostics: List[str]
|
|
264
275
|
:param size: The size of the file in bytes.
|
|
265
276
|
:type size: int
|
|
266
277
|
:param md5: The MD5 checksum of the file if available.
|
|
@@ -299,6 +310,7 @@ class ArtifactsApi:
|
|
|
299
310
|
|
|
300
311
|
_param = self._create_serialize(
|
|
301
312
|
file=file,
|
|
313
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
302
314
|
size=size,
|
|
303
315
|
md5=md5,
|
|
304
316
|
sha1=sha1,
|
|
@@ -325,6 +337,7 @@ class ArtifactsApi:
|
|
|
325
337
|
def _create_serialize(
|
|
326
338
|
self,
|
|
327
339
|
file,
|
|
340
|
+
x_task_diagnostics,
|
|
328
341
|
size,
|
|
329
342
|
md5,
|
|
330
343
|
sha1,
|
|
@@ -341,6 +354,7 @@ class ArtifactsApi:
|
|
|
341
354
|
_host = None
|
|
342
355
|
|
|
343
356
|
_collection_formats: Dict[str, str] = {
|
|
357
|
+
'X-Task-Diagnostics': 'csv',
|
|
344
358
|
}
|
|
345
359
|
|
|
346
360
|
_path_params: Dict[str, str] = {}
|
|
@@ -355,6 +369,8 @@ class ArtifactsApi:
|
|
|
355
369
|
# process the path parameters
|
|
356
370
|
# process the query parameters
|
|
357
371
|
# process the header parameters
|
|
372
|
+
if x_task_diagnostics is not None:
|
|
373
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
358
374
|
# process the form parameters
|
|
359
375
|
if file is not None:
|
|
360
376
|
_files['file'] = file
|
|
@@ -426,6 +442,7 @@ class ArtifactsApi:
|
|
|
426
442
|
def delete(
|
|
427
443
|
self,
|
|
428
444
|
artifact_href: StrictStr,
|
|
445
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
429
446
|
_request_timeout: Union[
|
|
430
447
|
None,
|
|
431
448
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -445,6 +462,8 @@ class ArtifactsApi:
|
|
|
445
462
|
|
|
446
463
|
:param artifact_href: (required)
|
|
447
464
|
:type artifact_href: str
|
|
465
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
466
|
+
:type x_task_diagnostics: List[str]
|
|
448
467
|
:param _request_timeout: timeout setting for this request. If one
|
|
449
468
|
number provided, it will be total request
|
|
450
469
|
timeout. It can also be a pair (tuple) of
|
|
@@ -469,6 +488,7 @@ class ArtifactsApi:
|
|
|
469
488
|
|
|
470
489
|
_param = self._delete_serialize(
|
|
471
490
|
artifact_href=artifact_href,
|
|
491
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
472
492
|
_request_auth=_request_auth,
|
|
473
493
|
_content_type=_content_type,
|
|
474
494
|
_headers=_headers,
|
|
@@ -493,6 +513,7 @@ class ArtifactsApi:
|
|
|
493
513
|
def delete_with_http_info(
|
|
494
514
|
self,
|
|
495
515
|
artifact_href: StrictStr,
|
|
516
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
496
517
|
_request_timeout: Union[
|
|
497
518
|
None,
|
|
498
519
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -512,6 +533,8 @@ class ArtifactsApi:
|
|
|
512
533
|
|
|
513
534
|
:param artifact_href: (required)
|
|
514
535
|
:type artifact_href: str
|
|
536
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
537
|
+
:type x_task_diagnostics: List[str]
|
|
515
538
|
:param _request_timeout: timeout setting for this request. If one
|
|
516
539
|
number provided, it will be total request
|
|
517
540
|
timeout. It can also be a pair (tuple) of
|
|
@@ -536,6 +559,7 @@ class ArtifactsApi:
|
|
|
536
559
|
|
|
537
560
|
_param = self._delete_serialize(
|
|
538
561
|
artifact_href=artifact_href,
|
|
562
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
539
563
|
_request_auth=_request_auth,
|
|
540
564
|
_content_type=_content_type,
|
|
541
565
|
_headers=_headers,
|
|
@@ -560,6 +584,7 @@ class ArtifactsApi:
|
|
|
560
584
|
def delete_without_preload_content(
|
|
561
585
|
self,
|
|
562
586
|
artifact_href: StrictStr,
|
|
587
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
563
588
|
_request_timeout: Union[
|
|
564
589
|
None,
|
|
565
590
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -579,6 +604,8 @@ class ArtifactsApi:
|
|
|
579
604
|
|
|
580
605
|
:param artifact_href: (required)
|
|
581
606
|
:type artifact_href: str
|
|
607
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
608
|
+
:type x_task_diagnostics: List[str]
|
|
582
609
|
:param _request_timeout: timeout setting for this request. If one
|
|
583
610
|
number provided, it will be total request
|
|
584
611
|
timeout. It can also be a pair (tuple) of
|
|
@@ -603,6 +630,7 @@ class ArtifactsApi:
|
|
|
603
630
|
|
|
604
631
|
_param = self._delete_serialize(
|
|
605
632
|
artifact_href=artifact_href,
|
|
633
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
606
634
|
_request_auth=_request_auth,
|
|
607
635
|
_content_type=_content_type,
|
|
608
636
|
_headers=_headers,
|
|
@@ -622,6 +650,7 @@ class ArtifactsApi:
|
|
|
622
650
|
def _delete_serialize(
|
|
623
651
|
self,
|
|
624
652
|
artifact_href,
|
|
653
|
+
x_task_diagnostics,
|
|
625
654
|
_request_auth,
|
|
626
655
|
_content_type,
|
|
627
656
|
_headers,
|
|
@@ -631,6 +660,7 @@ class ArtifactsApi:
|
|
|
631
660
|
_host = None
|
|
632
661
|
|
|
633
662
|
_collection_formats: Dict[str, str] = {
|
|
663
|
+
'X-Task-Diagnostics': 'csv',
|
|
634
664
|
}
|
|
635
665
|
|
|
636
666
|
_path_params: Dict[str, str] = {}
|
|
@@ -647,6 +677,8 @@ class ArtifactsApi:
|
|
|
647
677
|
_path_params['artifact_href'] = artifact_href
|
|
648
678
|
# process the query parameters
|
|
649
679
|
# process the header parameters
|
|
680
|
+
if x_task_diagnostics is not None:
|
|
681
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
650
682
|
# process the form parameters
|
|
651
683
|
# process the body parameter
|
|
652
684
|
|
|
@@ -680,6 +712,7 @@ class ArtifactsApi:
|
|
|
680
712
|
@validate_call
|
|
681
713
|
def list(
|
|
682
714
|
self,
|
|
715
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
683
716
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
684
717
|
md5: Annotated[Optional[StrictStr], Field(description="Filter results where md5 matches value")] = None,
|
|
685
718
|
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
@@ -714,6 +747,8 @@ class ArtifactsApi:
|
|
|
714
747
|
|
|
715
748
|
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
716
749
|
|
|
750
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
751
|
+
:type x_task_diagnostics: List[str]
|
|
717
752
|
:param limit: Number of results to return per page.
|
|
718
753
|
:type limit: int
|
|
719
754
|
:param md5: Filter results where md5 matches value
|
|
@@ -771,6 +806,7 @@ class ArtifactsApi:
|
|
|
771
806
|
""" # noqa: E501
|
|
772
807
|
|
|
773
808
|
_param = self._list_serialize(
|
|
809
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
774
810
|
limit=limit,
|
|
775
811
|
md5=md5,
|
|
776
812
|
offset=offset,
|
|
@@ -811,6 +847,7 @@ class ArtifactsApi:
|
|
|
811
847
|
@validate_call
|
|
812
848
|
def list_with_http_info(
|
|
813
849
|
self,
|
|
850
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
814
851
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
815
852
|
md5: Annotated[Optional[StrictStr], Field(description="Filter results where md5 matches value")] = None,
|
|
816
853
|
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
@@ -845,6 +882,8 @@ class ArtifactsApi:
|
|
|
845
882
|
|
|
846
883
|
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
847
884
|
|
|
885
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
886
|
+
:type x_task_diagnostics: List[str]
|
|
848
887
|
:param limit: Number of results to return per page.
|
|
849
888
|
:type limit: int
|
|
850
889
|
:param md5: Filter results where md5 matches value
|
|
@@ -902,6 +941,7 @@ class ArtifactsApi:
|
|
|
902
941
|
""" # noqa: E501
|
|
903
942
|
|
|
904
943
|
_param = self._list_serialize(
|
|
944
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
905
945
|
limit=limit,
|
|
906
946
|
md5=md5,
|
|
907
947
|
offset=offset,
|
|
@@ -942,6 +982,7 @@ class ArtifactsApi:
|
|
|
942
982
|
@validate_call
|
|
943
983
|
def list_without_preload_content(
|
|
944
984
|
self,
|
|
985
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
945
986
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
946
987
|
md5: Annotated[Optional[StrictStr], Field(description="Filter results where md5 matches value")] = None,
|
|
947
988
|
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
@@ -976,6 +1017,8 @@ class ArtifactsApi:
|
|
|
976
1017
|
|
|
977
1018
|
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
978
1019
|
|
|
1020
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1021
|
+
:type x_task_diagnostics: List[str]
|
|
979
1022
|
:param limit: Number of results to return per page.
|
|
980
1023
|
:type limit: int
|
|
981
1024
|
:param md5: Filter results where md5 matches value
|
|
@@ -1033,6 +1076,7 @@ class ArtifactsApi:
|
|
|
1033
1076
|
""" # noqa: E501
|
|
1034
1077
|
|
|
1035
1078
|
_param = self._list_serialize(
|
|
1079
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1036
1080
|
limit=limit,
|
|
1037
1081
|
md5=md5,
|
|
1038
1082
|
offset=offset,
|
|
@@ -1068,6 +1112,7 @@ class ArtifactsApi:
|
|
|
1068
1112
|
|
|
1069
1113
|
def _list_serialize(
|
|
1070
1114
|
self,
|
|
1115
|
+
x_task_diagnostics,
|
|
1071
1116
|
limit,
|
|
1072
1117
|
md5,
|
|
1073
1118
|
offset,
|
|
@@ -1094,6 +1139,7 @@ class ArtifactsApi:
|
|
|
1094
1139
|
_host = None
|
|
1095
1140
|
|
|
1096
1141
|
_collection_formats: Dict[str, str] = {
|
|
1142
|
+
'X-Task-Diagnostics': 'csv',
|
|
1097
1143
|
'ordering': 'csv',
|
|
1098
1144
|
'prn__in': 'csv',
|
|
1099
1145
|
'pulp_href__in': 'csv',
|
|
@@ -1182,6 +1228,8 @@ class ArtifactsApi:
|
|
|
1182
1228
|
_query_params.append(('exclude_fields', exclude_fields))
|
|
1183
1229
|
|
|
1184
1230
|
# process the header parameters
|
|
1231
|
+
if x_task_diagnostics is not None:
|
|
1232
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
1185
1233
|
# process the form parameters
|
|
1186
1234
|
# process the body parameter
|
|
1187
1235
|
|
|
@@ -1223,6 +1271,7 @@ class ArtifactsApi:
|
|
|
1223
1271
|
def read(
|
|
1224
1272
|
self,
|
|
1225
1273
|
artifact_href: StrictStr,
|
|
1274
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1226
1275
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1227
1276
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1228
1277
|
_request_timeout: Union[
|
|
@@ -1244,6 +1293,8 @@ class ArtifactsApi:
|
|
|
1244
1293
|
|
|
1245
1294
|
:param artifact_href: (required)
|
|
1246
1295
|
:type artifact_href: str
|
|
1296
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1297
|
+
:type x_task_diagnostics: List[str]
|
|
1247
1298
|
:param fields: A list of fields to include in the response.
|
|
1248
1299
|
:type fields: List[str]
|
|
1249
1300
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -1272,6 +1323,7 @@ class ArtifactsApi:
|
|
|
1272
1323
|
|
|
1273
1324
|
_param = self._read_serialize(
|
|
1274
1325
|
artifact_href=artifact_href,
|
|
1326
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1275
1327
|
fields=fields,
|
|
1276
1328
|
exclude_fields=exclude_fields,
|
|
1277
1329
|
_request_auth=_request_auth,
|
|
@@ -1298,6 +1350,7 @@ class ArtifactsApi:
|
|
|
1298
1350
|
def read_with_http_info(
|
|
1299
1351
|
self,
|
|
1300
1352
|
artifact_href: StrictStr,
|
|
1353
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1301
1354
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1302
1355
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1303
1356
|
_request_timeout: Union[
|
|
@@ -1319,6 +1372,8 @@ class ArtifactsApi:
|
|
|
1319
1372
|
|
|
1320
1373
|
:param artifact_href: (required)
|
|
1321
1374
|
:type artifact_href: str
|
|
1375
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1376
|
+
:type x_task_diagnostics: List[str]
|
|
1322
1377
|
:param fields: A list of fields to include in the response.
|
|
1323
1378
|
:type fields: List[str]
|
|
1324
1379
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -1347,6 +1402,7 @@ class ArtifactsApi:
|
|
|
1347
1402
|
|
|
1348
1403
|
_param = self._read_serialize(
|
|
1349
1404
|
artifact_href=artifact_href,
|
|
1405
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1350
1406
|
fields=fields,
|
|
1351
1407
|
exclude_fields=exclude_fields,
|
|
1352
1408
|
_request_auth=_request_auth,
|
|
@@ -1373,6 +1429,7 @@ class ArtifactsApi:
|
|
|
1373
1429
|
def read_without_preload_content(
|
|
1374
1430
|
self,
|
|
1375
1431
|
artifact_href: StrictStr,
|
|
1432
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1376
1433
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1377
1434
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1378
1435
|
_request_timeout: Union[
|
|
@@ -1394,6 +1451,8 @@ class ArtifactsApi:
|
|
|
1394
1451
|
|
|
1395
1452
|
:param artifact_href: (required)
|
|
1396
1453
|
:type artifact_href: str
|
|
1454
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1455
|
+
:type x_task_diagnostics: List[str]
|
|
1397
1456
|
:param fields: A list of fields to include in the response.
|
|
1398
1457
|
:type fields: List[str]
|
|
1399
1458
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -1422,6 +1481,7 @@ class ArtifactsApi:
|
|
|
1422
1481
|
|
|
1423
1482
|
_param = self._read_serialize(
|
|
1424
1483
|
artifact_href=artifact_href,
|
|
1484
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1425
1485
|
fields=fields,
|
|
1426
1486
|
exclude_fields=exclude_fields,
|
|
1427
1487
|
_request_auth=_request_auth,
|
|
@@ -1443,6 +1503,7 @@ class ArtifactsApi:
|
|
|
1443
1503
|
def _read_serialize(
|
|
1444
1504
|
self,
|
|
1445
1505
|
artifact_href,
|
|
1506
|
+
x_task_diagnostics,
|
|
1446
1507
|
fields,
|
|
1447
1508
|
exclude_fields,
|
|
1448
1509
|
_request_auth,
|
|
@@ -1454,6 +1515,7 @@ class ArtifactsApi:
|
|
|
1454
1515
|
_host = None
|
|
1455
1516
|
|
|
1456
1517
|
_collection_formats: Dict[str, str] = {
|
|
1518
|
+
'X-Task-Diagnostics': 'csv',
|
|
1457
1519
|
'fields': 'multi',
|
|
1458
1520
|
'exclude_fields': 'multi',
|
|
1459
1521
|
}
|
|
@@ -1480,6 +1542,8 @@ class ArtifactsApi:
|
|
|
1480
1542
|
_query_params.append(('exclude_fields', exclude_fields))
|
|
1481
1543
|
|
|
1482
1544
|
# process the header parameters
|
|
1545
|
+
if x_task_diagnostics is not None:
|
|
1546
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
1483
1547
|
# process the form parameters
|
|
1484
1548
|
# process the body parameter
|
|
1485
1549
|
|
|
@@ -43,6 +43,7 @@ class ContentApi:
|
|
|
43
43
|
@validate_call
|
|
44
44
|
def list(
|
|
45
45
|
self,
|
|
46
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
46
47
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
47
48
|
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
48
49
|
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
@@ -76,6 +77,8 @@ class ContentApi:
|
|
|
76
77
|
|
|
77
78
|
Endpoint to list all content.
|
|
78
79
|
|
|
80
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
81
|
+
:type x_task_diagnostics: List[str]
|
|
79
82
|
:param limit: Number of results to return per page.
|
|
80
83
|
:type limit: int
|
|
81
84
|
:param offset: The initial index from which to return the results.
|
|
@@ -131,6 +134,7 @@ class ContentApi:
|
|
|
131
134
|
""" # noqa: E501
|
|
132
135
|
|
|
133
136
|
_param = self._list_serialize(
|
|
137
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
134
138
|
limit=limit,
|
|
135
139
|
offset=offset,
|
|
136
140
|
ordering=ordering,
|
|
@@ -170,6 +174,7 @@ class ContentApi:
|
|
|
170
174
|
@validate_call
|
|
171
175
|
def list_with_http_info(
|
|
172
176
|
self,
|
|
177
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
173
178
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
174
179
|
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
175
180
|
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
@@ -203,6 +208,8 @@ class ContentApi:
|
|
|
203
208
|
|
|
204
209
|
Endpoint to list all content.
|
|
205
210
|
|
|
211
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
212
|
+
:type x_task_diagnostics: List[str]
|
|
206
213
|
:param limit: Number of results to return per page.
|
|
207
214
|
:type limit: int
|
|
208
215
|
:param offset: The initial index from which to return the results.
|
|
@@ -258,6 +265,7 @@ class ContentApi:
|
|
|
258
265
|
""" # noqa: E501
|
|
259
266
|
|
|
260
267
|
_param = self._list_serialize(
|
|
268
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
261
269
|
limit=limit,
|
|
262
270
|
offset=offset,
|
|
263
271
|
ordering=ordering,
|
|
@@ -297,6 +305,7 @@ class ContentApi:
|
|
|
297
305
|
@validate_call
|
|
298
306
|
def list_without_preload_content(
|
|
299
307
|
self,
|
|
308
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
300
309
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
301
310
|
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
302
311
|
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
@@ -330,6 +339,8 @@ class ContentApi:
|
|
|
330
339
|
|
|
331
340
|
Endpoint to list all content.
|
|
332
341
|
|
|
342
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
343
|
+
:type x_task_diagnostics: List[str]
|
|
333
344
|
:param limit: Number of results to return per page.
|
|
334
345
|
:type limit: int
|
|
335
346
|
:param offset: The initial index from which to return the results.
|
|
@@ -385,6 +396,7 @@ class ContentApi:
|
|
|
385
396
|
""" # noqa: E501
|
|
386
397
|
|
|
387
398
|
_param = self._list_serialize(
|
|
399
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
388
400
|
limit=limit,
|
|
389
401
|
offset=offset,
|
|
390
402
|
ordering=ordering,
|
|
@@ -419,6 +431,7 @@ class ContentApi:
|
|
|
419
431
|
|
|
420
432
|
def _list_serialize(
|
|
421
433
|
self,
|
|
434
|
+
x_task_diagnostics,
|
|
422
435
|
limit,
|
|
423
436
|
offset,
|
|
424
437
|
ordering,
|
|
@@ -444,6 +457,7 @@ class ContentApi:
|
|
|
444
457
|
_host = None
|
|
445
458
|
|
|
446
459
|
_collection_formats: Dict[str, str] = {
|
|
460
|
+
'X-Task-Diagnostics': 'csv',
|
|
447
461
|
'ordering': 'csv',
|
|
448
462
|
'prn__in': 'csv',
|
|
449
463
|
'pulp_href__in': 'csv',
|
|
@@ -529,6 +543,8 @@ class ContentApi:
|
|
|
529
543
|
_query_params.append(('exclude_fields', exclude_fields))
|
|
530
544
|
|
|
531
545
|
# process the header parameters
|
|
546
|
+
if x_task_diagnostics is not None:
|
|
547
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
532
548
|
# process the form parameters
|
|
533
549
|
# process the body parameter
|
|
534
550
|
|