pulpcore-client 3.81.0__py3-none-any.whl → 3.82.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 pulpcore-client might be problematic. Click here for more details.

Files changed (64) hide show
  1. pulpcore/client/pulpcore/__init__.py +1 -1
  2. pulpcore/client/pulpcore/api/access_policies_api.py +80 -0
  3. pulpcore/client/pulpcore/api/artifacts_api.py +64 -0
  4. pulpcore/client/pulpcore/api/content_api.py +16 -0
  5. pulpcore/client/pulpcore/api/content_openpgp_publickey_api.py +80 -0
  6. pulpcore/client/pulpcore/api/content_openpgp_publicsubkey_api.py +64 -0
  7. pulpcore/client/pulpcore/api/content_openpgp_signature_api.py +64 -0
  8. pulpcore/client/pulpcore/api/content_openpgp_userattribute_api.py +64 -0
  9. pulpcore/client/pulpcore/api/content_openpgp_userid_api.py +64 -0
  10. pulpcore/client/pulpcore/api/contentguards_api.py +16 -0
  11. pulpcore/client/pulpcore/api/contentguards_composite_api.py +160 -0
  12. pulpcore/client/pulpcore/api/contentguards_content_redirect_api.py +160 -0
  13. pulpcore/client/pulpcore/api/contentguards_header_api.py +160 -0
  14. pulpcore/client/pulpcore/api/contentguards_rbac_api.py +160 -0
  15. pulpcore/client/pulpcore/api/distributions_api.py +16 -0
  16. pulpcore/client/pulpcore/api/distributions_artifacts_api.py +32 -0
  17. pulpcore/client/pulpcore/api/distributions_openpgp_api.py +128 -0
  18. pulpcore/client/pulpcore/api/domains_api.py +144 -0
  19. pulpcore/client/pulpcore/api/exporters_filesystem_api.py +96 -0
  20. pulpcore/client/pulpcore/api/exporters_filesystem_exports_api.py +64 -0
  21. pulpcore/client/pulpcore/api/exporters_pulp_api.py +96 -0
  22. pulpcore/client/pulpcore/api/exporters_pulp_exports_api.py +64 -0
  23. pulpcore/client/pulpcore/api/groups_api.py +160 -0
  24. pulpcore/client/pulpcore/api/groups_roles_api.py +64 -0
  25. pulpcore/client/pulpcore/api/groups_users_api.py +48 -0
  26. pulpcore/client/pulpcore/api/importers_pulp_api.py +96 -0
  27. pulpcore/client/pulpcore/api/importers_pulp_import_check_api.py +19 -0
  28. pulpcore/client/pulpcore/api/importers_pulp_imports_api.py +64 -0
  29. pulpcore/client/pulpcore/api/livez_api.py +55 -0
  30. pulpcore/client/pulpcore/api/login_api.py +87 -0
  31. pulpcore/client/pulpcore/api/orphans_api.py +19 -0
  32. pulpcore/client/pulpcore/api/orphans_cleanup_api.py +19 -0
  33. pulpcore/client/pulpcore/api/publications_api.py +16 -0
  34. pulpcore/client/pulpcore/api/remotes_api.py +16 -0
  35. pulpcore/client/pulpcore/api/repair_api.py +19 -0
  36. pulpcore/client/pulpcore/api/repositories_api.py +16 -0
  37. pulpcore/client/pulpcore/api/repositories_openpgp_keyring_api.py +208 -0
  38. pulpcore/client/pulpcore/api/repositories_reclaim_space_api.py +19 -0
  39. pulpcore/client/pulpcore/api/repository_versions_api.py +16 -0
  40. pulpcore/client/pulpcore/api/roles_api.py +96 -0
  41. pulpcore/client/pulpcore/api/signing_services_api.py +32 -0
  42. pulpcore/client/pulpcore/api/status_api.py +55 -0
  43. pulpcore/client/pulpcore/api/task_groups_api.py +48 -0
  44. pulpcore/client/pulpcore/api/task_schedules_api.py +96 -0
  45. pulpcore/client/pulpcore/api/tasks_api.py +166 -6
  46. pulpcore/client/pulpcore/api/uploads_api.py +160 -0
  47. pulpcore/client/pulpcore/api/upstream_pulps_api.py +176 -0
  48. pulpcore/client/pulpcore/api/users_api.py +96 -0
  49. pulpcore/client/pulpcore/api/users_roles_api.py +64 -0
  50. pulpcore/client/pulpcore/api/workers_api.py +32 -0
  51. pulpcore/client/pulpcore/api_client.py +1 -1
  52. pulpcore/client/pulpcore/configuration.py +1 -1
  53. pulpcore/client/pulpcore/models/artifact_distribution_response.py +18 -18
  54. pulpcore/client/pulpcore/models/composite_content_guard.py +1 -1
  55. pulpcore/client/pulpcore/models/composite_content_guard_response.py +1 -1
  56. pulpcore/client/pulpcore/models/content_guard_response.py +1 -1
  57. pulpcore/client/pulpcore/models/patched_composite_content_guard.py +1 -1
  58. pulpcore/client/pulpcore/models/patched_rbac_content_guard.py +1 -1
  59. pulpcore/client/pulpcore/models/rbac_content_guard.py +1 -1
  60. pulpcore/client/pulpcore/models/rbac_content_guard_response.py +1 -1
  61. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.1.dist-info}/METADATA +1 -1
  62. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.1.dist-info}/RECORD +64 -64
  63. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.1.dist-info}/WHEEL +0 -0
  64. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.1.dist-info}/top_level.txt +0 -0
@@ -48,6 +48,7 @@ class ImportersPulpImportsApi:
48
48
  self,
49
49
  pulp_importer_href: StrictStr,
50
50
  pulp_import: PulpImport,
51
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
51
52
  _request_timeout: Union[
52
53
  None,
53
54
  Annotated[StrictFloat, Field(gt=0)],
@@ -69,6 +70,8 @@ class ImportersPulpImportsApi:
69
70
  :type pulp_importer_href: str
70
71
  :param pulp_import: (required)
71
72
  :type pulp_import: PulpImport
73
+ :param x_task_diagnostics: List of profilers to use on tasks.
74
+ :type x_task_diagnostics: List[str]
72
75
  :param _request_timeout: timeout setting for this request. If one
73
76
  number provided, it will be total request
74
77
  timeout. It can also be a pair (tuple) of
@@ -94,6 +97,7 @@ class ImportersPulpImportsApi:
94
97
  _param = self._create_serialize(
95
98
  pulp_importer_href=pulp_importer_href,
96
99
  pulp_import=pulp_import,
100
+ x_task_diagnostics=x_task_diagnostics,
97
101
  _request_auth=_request_auth,
98
102
  _content_type=_content_type,
99
103
  _headers=_headers,
@@ -119,6 +123,7 @@ class ImportersPulpImportsApi:
119
123
  self,
120
124
  pulp_importer_href: StrictStr,
121
125
  pulp_import: PulpImport,
126
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
122
127
  _request_timeout: Union[
123
128
  None,
124
129
  Annotated[StrictFloat, Field(gt=0)],
@@ -140,6 +145,8 @@ class ImportersPulpImportsApi:
140
145
  :type pulp_importer_href: str
141
146
  :param pulp_import: (required)
142
147
  :type pulp_import: PulpImport
148
+ :param x_task_diagnostics: List of profilers to use on tasks.
149
+ :type x_task_diagnostics: List[str]
143
150
  :param _request_timeout: timeout setting for this request. If one
144
151
  number provided, it will be total request
145
152
  timeout. It can also be a pair (tuple) of
@@ -165,6 +172,7 @@ class ImportersPulpImportsApi:
165
172
  _param = self._create_serialize(
166
173
  pulp_importer_href=pulp_importer_href,
167
174
  pulp_import=pulp_import,
175
+ x_task_diagnostics=x_task_diagnostics,
168
176
  _request_auth=_request_auth,
169
177
  _content_type=_content_type,
170
178
  _headers=_headers,
@@ -190,6 +198,7 @@ class ImportersPulpImportsApi:
190
198
  self,
191
199
  pulp_importer_href: StrictStr,
192
200
  pulp_import: PulpImport,
201
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
193
202
  _request_timeout: Union[
194
203
  None,
195
204
  Annotated[StrictFloat, Field(gt=0)],
@@ -211,6 +220,8 @@ class ImportersPulpImportsApi:
211
220
  :type pulp_importer_href: str
212
221
  :param pulp_import: (required)
213
222
  :type pulp_import: PulpImport
223
+ :param x_task_diagnostics: List of profilers to use on tasks.
224
+ :type x_task_diagnostics: List[str]
214
225
  :param _request_timeout: timeout setting for this request. If one
215
226
  number provided, it will be total request
216
227
  timeout. It can also be a pair (tuple) of
@@ -236,6 +247,7 @@ class ImportersPulpImportsApi:
236
247
  _param = self._create_serialize(
237
248
  pulp_importer_href=pulp_importer_href,
238
249
  pulp_import=pulp_import,
250
+ x_task_diagnostics=x_task_diagnostics,
239
251
  _request_auth=_request_auth,
240
252
  _content_type=_content_type,
241
253
  _headers=_headers,
@@ -256,6 +268,7 @@ class ImportersPulpImportsApi:
256
268
  self,
257
269
  pulp_importer_href,
258
270
  pulp_import,
271
+ x_task_diagnostics,
259
272
  _request_auth,
260
273
  _content_type,
261
274
  _headers,
@@ -265,6 +278,7 @@ class ImportersPulpImportsApi:
265
278
  _host = None
266
279
 
267
280
  _collection_formats: Dict[str, str] = {
281
+ 'X-Task-Diagnostics': 'csv',
268
282
  }
269
283
 
270
284
  _path_params: Dict[str, str] = {}
@@ -281,6 +295,8 @@ class ImportersPulpImportsApi:
281
295
  _path_params['pulp_importer_href'] = pulp_importer_href
282
296
  # process the query parameters
283
297
  # process the header parameters
298
+ if x_task_diagnostics is not None:
299
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
284
300
  # process the form parameters
285
301
  # process the body parameter
286
302
  if pulp_import is not None:
@@ -339,6 +355,7 @@ class ImportersPulpImportsApi:
339
355
  def delete(
340
356
  self,
341
357
  pulp_pulp_import_href: StrictStr,
358
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
342
359
  _request_timeout: Union[
343
360
  None,
344
361
  Annotated[StrictFloat, Field(gt=0)],
@@ -358,6 +375,8 @@ class ImportersPulpImportsApi:
358
375
 
359
376
  :param pulp_pulp_import_href: (required)
360
377
  :type pulp_pulp_import_href: str
378
+ :param x_task_diagnostics: List of profilers to use on tasks.
379
+ :type x_task_diagnostics: List[str]
361
380
  :param _request_timeout: timeout setting for this request. If one
362
381
  number provided, it will be total request
363
382
  timeout. It can also be a pair (tuple) of
@@ -382,6 +401,7 @@ class ImportersPulpImportsApi:
382
401
 
383
402
  _param = self._delete_serialize(
384
403
  pulp_pulp_import_href=pulp_pulp_import_href,
404
+ x_task_diagnostics=x_task_diagnostics,
385
405
  _request_auth=_request_auth,
386
406
  _content_type=_content_type,
387
407
  _headers=_headers,
@@ -406,6 +426,7 @@ class ImportersPulpImportsApi:
406
426
  def delete_with_http_info(
407
427
  self,
408
428
  pulp_pulp_import_href: StrictStr,
429
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
409
430
  _request_timeout: Union[
410
431
  None,
411
432
  Annotated[StrictFloat, Field(gt=0)],
@@ -425,6 +446,8 @@ class ImportersPulpImportsApi:
425
446
 
426
447
  :param pulp_pulp_import_href: (required)
427
448
  :type pulp_pulp_import_href: str
449
+ :param x_task_diagnostics: List of profilers to use on tasks.
450
+ :type x_task_diagnostics: List[str]
428
451
  :param _request_timeout: timeout setting for this request. If one
429
452
  number provided, it will be total request
430
453
  timeout. It can also be a pair (tuple) of
@@ -449,6 +472,7 @@ class ImportersPulpImportsApi:
449
472
 
450
473
  _param = self._delete_serialize(
451
474
  pulp_pulp_import_href=pulp_pulp_import_href,
475
+ x_task_diagnostics=x_task_diagnostics,
452
476
  _request_auth=_request_auth,
453
477
  _content_type=_content_type,
454
478
  _headers=_headers,
@@ -473,6 +497,7 @@ class ImportersPulpImportsApi:
473
497
  def delete_without_preload_content(
474
498
  self,
475
499
  pulp_pulp_import_href: StrictStr,
500
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
476
501
  _request_timeout: Union[
477
502
  None,
478
503
  Annotated[StrictFloat, Field(gt=0)],
@@ -492,6 +517,8 @@ class ImportersPulpImportsApi:
492
517
 
493
518
  :param pulp_pulp_import_href: (required)
494
519
  :type pulp_pulp_import_href: str
520
+ :param x_task_diagnostics: List of profilers to use on tasks.
521
+ :type x_task_diagnostics: List[str]
495
522
  :param _request_timeout: timeout setting for this request. If one
496
523
  number provided, it will be total request
497
524
  timeout. It can also be a pair (tuple) of
@@ -516,6 +543,7 @@ class ImportersPulpImportsApi:
516
543
 
517
544
  _param = self._delete_serialize(
518
545
  pulp_pulp_import_href=pulp_pulp_import_href,
546
+ x_task_diagnostics=x_task_diagnostics,
519
547
  _request_auth=_request_auth,
520
548
  _content_type=_content_type,
521
549
  _headers=_headers,
@@ -535,6 +563,7 @@ class ImportersPulpImportsApi:
535
563
  def _delete_serialize(
536
564
  self,
537
565
  pulp_pulp_import_href,
566
+ x_task_diagnostics,
538
567
  _request_auth,
539
568
  _content_type,
540
569
  _headers,
@@ -544,6 +573,7 @@ class ImportersPulpImportsApi:
544
573
  _host = None
545
574
 
546
575
  _collection_formats: Dict[str, str] = {
576
+ 'X-Task-Diagnostics': 'csv',
547
577
  }
548
578
 
549
579
  _path_params: Dict[str, str] = {}
@@ -560,6 +590,8 @@ class ImportersPulpImportsApi:
560
590
  _path_params['pulp_pulp_import_href'] = pulp_pulp_import_href
561
591
  # process the query parameters
562
592
  # process the header parameters
593
+ if x_task_diagnostics is not None:
594
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
563
595
  # process the form parameters
564
596
  # process the body parameter
565
597
 
@@ -594,6 +626,7 @@ class ImportersPulpImportsApi:
594
626
  def list(
595
627
  self,
596
628
  pulp_importer_href: StrictStr,
629
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
597
630
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
598
631
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
599
632
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
@@ -617,6 +650,8 @@ class ImportersPulpImportsApi:
617
650
 
618
651
  :param pulp_importer_href: (required)
619
652
  :type pulp_importer_href: str
653
+ :param x_task_diagnostics: List of profilers to use on tasks.
654
+ :type x_task_diagnostics: List[str]
620
655
  :param limit: Number of results to return per page.
621
656
  :type limit: int
622
657
  :param offset: The initial index from which to return the results.
@@ -649,6 +684,7 @@ class ImportersPulpImportsApi:
649
684
 
650
685
  _param = self._list_serialize(
651
686
  pulp_importer_href=pulp_importer_href,
687
+ x_task_diagnostics=x_task_diagnostics,
652
688
  limit=limit,
653
689
  offset=offset,
654
690
  fields=fields,
@@ -677,6 +713,7 @@ class ImportersPulpImportsApi:
677
713
  def list_with_http_info(
678
714
  self,
679
715
  pulp_importer_href: StrictStr,
716
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
680
717
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
681
718
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
682
719
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
@@ -700,6 +737,8 @@ class ImportersPulpImportsApi:
700
737
 
701
738
  :param pulp_importer_href: (required)
702
739
  :type pulp_importer_href: str
740
+ :param x_task_diagnostics: List of profilers to use on tasks.
741
+ :type x_task_diagnostics: List[str]
703
742
  :param limit: Number of results to return per page.
704
743
  :type limit: int
705
744
  :param offset: The initial index from which to return the results.
@@ -732,6 +771,7 @@ class ImportersPulpImportsApi:
732
771
 
733
772
  _param = self._list_serialize(
734
773
  pulp_importer_href=pulp_importer_href,
774
+ x_task_diagnostics=x_task_diagnostics,
735
775
  limit=limit,
736
776
  offset=offset,
737
777
  fields=fields,
@@ -760,6 +800,7 @@ class ImportersPulpImportsApi:
760
800
  def list_without_preload_content(
761
801
  self,
762
802
  pulp_importer_href: StrictStr,
803
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
763
804
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
764
805
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
765
806
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
@@ -783,6 +824,8 @@ class ImportersPulpImportsApi:
783
824
 
784
825
  :param pulp_importer_href: (required)
785
826
  :type pulp_importer_href: str
827
+ :param x_task_diagnostics: List of profilers to use on tasks.
828
+ :type x_task_diagnostics: List[str]
786
829
  :param limit: Number of results to return per page.
787
830
  :type limit: int
788
831
  :param offset: The initial index from which to return the results.
@@ -815,6 +858,7 @@ class ImportersPulpImportsApi:
815
858
 
816
859
  _param = self._list_serialize(
817
860
  pulp_importer_href=pulp_importer_href,
861
+ x_task_diagnostics=x_task_diagnostics,
818
862
  limit=limit,
819
863
  offset=offset,
820
864
  fields=fields,
@@ -838,6 +882,7 @@ class ImportersPulpImportsApi:
838
882
  def _list_serialize(
839
883
  self,
840
884
  pulp_importer_href,
885
+ x_task_diagnostics,
841
886
  limit,
842
887
  offset,
843
888
  fields,
@@ -851,6 +896,7 @@ class ImportersPulpImportsApi:
851
896
  _host = None
852
897
 
853
898
  _collection_formats: Dict[str, str] = {
899
+ 'X-Task-Diagnostics': 'csv',
854
900
  'fields': 'multi',
855
901
  'exclude_fields': 'multi',
856
902
  }
@@ -885,6 +931,8 @@ class ImportersPulpImportsApi:
885
931
  _query_params.append(('exclude_fields', exclude_fields))
886
932
 
887
933
  # process the header parameters
934
+ if x_task_diagnostics is not None:
935
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
888
936
  # process the form parameters
889
937
  # process the body parameter
890
938
 
@@ -926,6 +974,7 @@ class ImportersPulpImportsApi:
926
974
  def read(
927
975
  self,
928
976
  pulp_pulp_import_href: StrictStr,
977
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
929
978
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
930
979
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
931
980
  _request_timeout: Union[
@@ -947,6 +996,8 @@ class ImportersPulpImportsApi:
947
996
 
948
997
  :param pulp_pulp_import_href: (required)
949
998
  :type pulp_pulp_import_href: str
999
+ :param x_task_diagnostics: List of profilers to use on tasks.
1000
+ :type x_task_diagnostics: List[str]
950
1001
  :param fields: A list of fields to include in the response.
951
1002
  :type fields: List[str]
952
1003
  :param exclude_fields: A list of fields to exclude from the response.
@@ -975,6 +1026,7 @@ class ImportersPulpImportsApi:
975
1026
 
976
1027
  _param = self._read_serialize(
977
1028
  pulp_pulp_import_href=pulp_pulp_import_href,
1029
+ x_task_diagnostics=x_task_diagnostics,
978
1030
  fields=fields,
979
1031
  exclude_fields=exclude_fields,
980
1032
  _request_auth=_request_auth,
@@ -1001,6 +1053,7 @@ class ImportersPulpImportsApi:
1001
1053
  def read_with_http_info(
1002
1054
  self,
1003
1055
  pulp_pulp_import_href: StrictStr,
1056
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1004
1057
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1005
1058
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1006
1059
  _request_timeout: Union[
@@ -1022,6 +1075,8 @@ class ImportersPulpImportsApi:
1022
1075
 
1023
1076
  :param pulp_pulp_import_href: (required)
1024
1077
  :type pulp_pulp_import_href: str
1078
+ :param x_task_diagnostics: List of profilers to use on tasks.
1079
+ :type x_task_diagnostics: List[str]
1025
1080
  :param fields: A list of fields to include in the response.
1026
1081
  :type fields: List[str]
1027
1082
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1050,6 +1105,7 @@ class ImportersPulpImportsApi:
1050
1105
 
1051
1106
  _param = self._read_serialize(
1052
1107
  pulp_pulp_import_href=pulp_pulp_import_href,
1108
+ x_task_diagnostics=x_task_diagnostics,
1053
1109
  fields=fields,
1054
1110
  exclude_fields=exclude_fields,
1055
1111
  _request_auth=_request_auth,
@@ -1076,6 +1132,7 @@ class ImportersPulpImportsApi:
1076
1132
  def read_without_preload_content(
1077
1133
  self,
1078
1134
  pulp_pulp_import_href: StrictStr,
1135
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1079
1136
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1080
1137
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1081
1138
  _request_timeout: Union[
@@ -1097,6 +1154,8 @@ class ImportersPulpImportsApi:
1097
1154
 
1098
1155
  :param pulp_pulp_import_href: (required)
1099
1156
  :type pulp_pulp_import_href: str
1157
+ :param x_task_diagnostics: List of profilers to use on tasks.
1158
+ :type x_task_diagnostics: List[str]
1100
1159
  :param fields: A list of fields to include in the response.
1101
1160
  :type fields: List[str]
1102
1161
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1125,6 +1184,7 @@ class ImportersPulpImportsApi:
1125
1184
 
1126
1185
  _param = self._read_serialize(
1127
1186
  pulp_pulp_import_href=pulp_pulp_import_href,
1187
+ x_task_diagnostics=x_task_diagnostics,
1128
1188
  fields=fields,
1129
1189
  exclude_fields=exclude_fields,
1130
1190
  _request_auth=_request_auth,
@@ -1146,6 +1206,7 @@ class ImportersPulpImportsApi:
1146
1206
  def _read_serialize(
1147
1207
  self,
1148
1208
  pulp_pulp_import_href,
1209
+ x_task_diagnostics,
1149
1210
  fields,
1150
1211
  exclude_fields,
1151
1212
  _request_auth,
@@ -1157,6 +1218,7 @@ class ImportersPulpImportsApi:
1157
1218
  _host = None
1158
1219
 
1159
1220
  _collection_formats: Dict[str, str] = {
1221
+ 'X-Task-Diagnostics': 'csv',
1160
1222
  'fields': 'multi',
1161
1223
  'exclude_fields': 'multi',
1162
1224
  }
@@ -1183,6 +1245,8 @@ class ImportersPulpImportsApi:
1183
1245
  _query_params.append(('exclude_fields', exclude_fields))
1184
1246
 
1185
1247
  # process the header parameters
1248
+ if x_task_diagnostics is not None:
1249
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1186
1250
  # process the form parameters
1187
1251
  # process the body parameter
1188
1252
 
@@ -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
 
21
24
  from pulpcore.client.pulpcore.api_client import ApiClient, RequestSerialized
22
25
  from pulpcore.client.pulpcore.api_response import ApiResponse
@@ -39,6 +42,9 @@ class LivezApi:
39
42
  @validate_call
40
43
  def livez_read(
41
44
  self,
45
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
46
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
47
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
42
48
  _request_timeout: Union[
43
49
  None,
44
50
  Annotated[StrictFloat, Field(gt=0)],
@@ -56,6 +62,12 @@ class LivezApi:
56
62
 
57
63
  Returns 200 OK when API is alive.
58
64
 
65
+ :param x_task_diagnostics: List of profilers to use on tasks.
66
+ :type x_task_diagnostics: List[str]
67
+ :param fields: A list of fields to include in the response.
68
+ :type fields: List[str]
69
+ :param exclude_fields: A list of fields to exclude from the response.
70
+ :type exclude_fields: List[str]
59
71
  :param _request_timeout: timeout setting for this request. If one
60
72
  number provided, it will be total request
61
73
  timeout. It can also be a pair (tuple) of
@@ -79,6 +91,9 @@ class LivezApi:
79
91
  """ # noqa: E501
80
92
 
81
93
  _param = self._livez_read_serialize(
94
+ x_task_diagnostics=x_task_diagnostics,
95
+ fields=fields,
96
+ exclude_fields=exclude_fields,
82
97
  _request_auth=_request_auth,
83
98
  _content_type=_content_type,
84
99
  _headers=_headers,
@@ -102,6 +117,9 @@ class LivezApi:
102
117
  @validate_call
103
118
  def livez_read_with_http_info(
104
119
  self,
120
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
121
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
122
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
105
123
  _request_timeout: Union[
106
124
  None,
107
125
  Annotated[StrictFloat, Field(gt=0)],
@@ -119,6 +137,12 @@ class LivezApi:
119
137
 
120
138
  Returns 200 OK when API is alive.
121
139
 
140
+ :param x_task_diagnostics: List of profilers to use on tasks.
141
+ :type x_task_diagnostics: List[str]
142
+ :param fields: A list of fields to include in the response.
143
+ :type fields: List[str]
144
+ :param exclude_fields: A list of fields to exclude from the response.
145
+ :type exclude_fields: List[str]
122
146
  :param _request_timeout: timeout setting for this request. If one
123
147
  number provided, it will be total request
124
148
  timeout. It can also be a pair (tuple) of
@@ -142,6 +166,9 @@ class LivezApi:
142
166
  """ # noqa: E501
143
167
 
144
168
  _param = self._livez_read_serialize(
169
+ x_task_diagnostics=x_task_diagnostics,
170
+ fields=fields,
171
+ exclude_fields=exclude_fields,
145
172
  _request_auth=_request_auth,
146
173
  _content_type=_content_type,
147
174
  _headers=_headers,
@@ -165,6 +192,9 @@ class LivezApi:
165
192
  @validate_call
166
193
  def livez_read_without_preload_content(
167
194
  self,
195
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
196
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
197
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
168
198
  _request_timeout: Union[
169
199
  None,
170
200
  Annotated[StrictFloat, Field(gt=0)],
@@ -182,6 +212,12 @@ class LivezApi:
182
212
 
183
213
  Returns 200 OK when API is alive.
184
214
 
215
+ :param x_task_diagnostics: List of profilers to use on tasks.
216
+ :type x_task_diagnostics: List[str]
217
+ :param fields: A list of fields to include in the response.
218
+ :type fields: List[str]
219
+ :param exclude_fields: A list of fields to exclude from the response.
220
+ :type exclude_fields: List[str]
185
221
  :param _request_timeout: timeout setting for this request. If one
186
222
  number provided, it will be total request
187
223
  timeout. It can also be a pair (tuple) of
@@ -205,6 +241,9 @@ class LivezApi:
205
241
  """ # noqa: E501
206
242
 
207
243
  _param = self._livez_read_serialize(
244
+ x_task_diagnostics=x_task_diagnostics,
245
+ fields=fields,
246
+ exclude_fields=exclude_fields,
208
247
  _request_auth=_request_auth,
209
248
  _content_type=_content_type,
210
249
  _headers=_headers,
@@ -223,6 +262,9 @@ class LivezApi:
223
262
 
224
263
  def _livez_read_serialize(
225
264
  self,
265
+ x_task_diagnostics,
266
+ fields,
267
+ exclude_fields,
226
268
  _request_auth,
227
269
  _content_type,
228
270
  _headers,
@@ -232,6 +274,9 @@ class LivezApi:
232
274
  _host = None
233
275
 
234
276
  _collection_formats: Dict[str, str] = {
277
+ 'X-Task-Diagnostics': 'csv',
278
+ 'fields': 'multi',
279
+ 'exclude_fields': 'multi',
235
280
  }
236
281
 
237
282
  _path_params: Dict[str, str] = {}
@@ -245,7 +290,17 @@ class LivezApi:
245
290
 
246
291
  # process the path parameters
247
292
  # process the query parameters
293
+ if fields is not None:
294
+
295
+ _query_params.append(('fields', fields))
296
+
297
+ if exclude_fields is not None:
298
+
299
+ _query_params.append(('exclude_fields', exclude_fields))
300
+
248
301
  # process the header parameters
302
+ if x_task_diagnostics is not None:
303
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
249
304
  # process the form parameters
250
305
  # process the body parameter
251
306