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
@@ -49,6 +49,7 @@ class ContentOpenpgpPublickeyApi:
49
49
  @validate_call
50
50
  def create(
51
51
  self,
52
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
52
53
  repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
53
54
  pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
54
55
  file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
@@ -71,6 +72,8 @@ class ContentOpenpgpPublickeyApi:
71
72
 
72
73
  Trigger an asynchronous task to create content,optionally create new repository version.
73
74
 
75
+ :param x_task_diagnostics: List of profilers to use on tasks.
76
+ :type x_task_diagnostics: List[str]
74
77
  :param repository: A URI of a repository the new content unit should be associated with.
75
78
  :type repository: str
76
79
  :param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
@@ -104,6 +107,7 @@ class ContentOpenpgpPublickeyApi:
104
107
  """ # noqa: E501
105
108
 
106
109
  _param = self._create_serialize(
110
+ x_task_diagnostics=x_task_diagnostics,
107
111
  repository=repository,
108
112
  pulp_labels=pulp_labels,
109
113
  file=file,
@@ -132,6 +136,7 @@ class ContentOpenpgpPublickeyApi:
132
136
  @validate_call
133
137
  def create_with_http_info(
134
138
  self,
139
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
135
140
  repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
136
141
  pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
137
142
  file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
@@ -154,6 +159,8 @@ class ContentOpenpgpPublickeyApi:
154
159
 
155
160
  Trigger an asynchronous task to create content,optionally create new repository version.
156
161
 
162
+ :param x_task_diagnostics: List of profilers to use on tasks.
163
+ :type x_task_diagnostics: List[str]
157
164
  :param repository: A URI of a repository the new content unit should be associated with.
158
165
  :type repository: str
159
166
  :param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
@@ -187,6 +194,7 @@ class ContentOpenpgpPublickeyApi:
187
194
  """ # noqa: E501
188
195
 
189
196
  _param = self._create_serialize(
197
+ x_task_diagnostics=x_task_diagnostics,
190
198
  repository=repository,
191
199
  pulp_labels=pulp_labels,
192
200
  file=file,
@@ -215,6 +223,7 @@ class ContentOpenpgpPublickeyApi:
215
223
  @validate_call
216
224
  def create_without_preload_content(
217
225
  self,
226
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
218
227
  repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
219
228
  pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
220
229
  file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
@@ -237,6 +246,8 @@ class ContentOpenpgpPublickeyApi:
237
246
 
238
247
  Trigger an asynchronous task to create content,optionally create new repository version.
239
248
 
249
+ :param x_task_diagnostics: List of profilers to use on tasks.
250
+ :type x_task_diagnostics: List[str]
240
251
  :param repository: A URI of a repository the new content unit should be associated with.
241
252
  :type repository: str
242
253
  :param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
@@ -270,6 +281,7 @@ class ContentOpenpgpPublickeyApi:
270
281
  """ # noqa: E501
271
282
 
272
283
  _param = self._create_serialize(
284
+ x_task_diagnostics=x_task_diagnostics,
273
285
  repository=repository,
274
286
  pulp_labels=pulp_labels,
275
287
  file=file,
@@ -293,6 +305,7 @@ class ContentOpenpgpPublickeyApi:
293
305
 
294
306
  def _create_serialize(
295
307
  self,
308
+ x_task_diagnostics,
296
309
  repository,
297
310
  pulp_labels,
298
311
  file,
@@ -307,6 +320,7 @@ class ContentOpenpgpPublickeyApi:
307
320
  _host = None
308
321
 
309
322
  _collection_formats: Dict[str, str] = {
323
+ 'X-Task-Diagnostics': 'csv',
310
324
  }
311
325
 
312
326
  _path_params: Dict[str, str] = {}
@@ -321,6 +335,8 @@ class ContentOpenpgpPublickeyApi:
321
335
  # process the path parameters
322
336
  # process the query parameters
323
337
  # process the header parameters
338
+ if x_task_diagnostics is not None:
339
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
324
340
  # process the form parameters
325
341
  if repository is not None:
326
342
  _form_params.append(('repository', repository))
@@ -385,6 +401,7 @@ class ContentOpenpgpPublickeyApi:
385
401
  @validate_call
386
402
  def list(
387
403
  self,
404
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
388
405
  fingerprint: Annotated[Optional[StrictStr], Field(description="Filter results where fingerprint matches value")] = None,
389
406
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
390
407
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
@@ -417,6 +434,8 @@ class ContentOpenpgpPublickeyApi:
417
434
 
418
435
  A ViewSet for uploads that do not require to store an uploaded content as an Artifact.
419
436
 
437
+ :param x_task_diagnostics: List of profilers to use on tasks.
438
+ :type x_task_diagnostics: List[str]
420
439
  :param fingerprint: Filter results where fingerprint matches value
421
440
  :type fingerprint: str
422
441
  :param limit: Number of results to return per page.
@@ -470,6 +489,7 @@ class ContentOpenpgpPublickeyApi:
470
489
  """ # noqa: E501
471
490
 
472
491
  _param = self._list_serialize(
492
+ x_task_diagnostics=x_task_diagnostics,
473
493
  fingerprint=fingerprint,
474
494
  limit=limit,
475
495
  offset=offset,
@@ -508,6 +528,7 @@ class ContentOpenpgpPublickeyApi:
508
528
  @validate_call
509
529
  def list_with_http_info(
510
530
  self,
531
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
511
532
  fingerprint: Annotated[Optional[StrictStr], Field(description="Filter results where fingerprint matches value")] = None,
512
533
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
513
534
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
@@ -540,6 +561,8 @@ class ContentOpenpgpPublickeyApi:
540
561
 
541
562
  A ViewSet for uploads that do not require to store an uploaded content as an Artifact.
542
563
 
564
+ :param x_task_diagnostics: List of profilers to use on tasks.
565
+ :type x_task_diagnostics: List[str]
543
566
  :param fingerprint: Filter results where fingerprint matches value
544
567
  :type fingerprint: str
545
568
  :param limit: Number of results to return per page.
@@ -593,6 +616,7 @@ class ContentOpenpgpPublickeyApi:
593
616
  """ # noqa: E501
594
617
 
595
618
  _param = self._list_serialize(
619
+ x_task_diagnostics=x_task_diagnostics,
596
620
  fingerprint=fingerprint,
597
621
  limit=limit,
598
622
  offset=offset,
@@ -631,6 +655,7 @@ class ContentOpenpgpPublickeyApi:
631
655
  @validate_call
632
656
  def list_without_preload_content(
633
657
  self,
658
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
634
659
  fingerprint: Annotated[Optional[StrictStr], Field(description="Filter results where fingerprint matches value")] = None,
635
660
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
636
661
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
@@ -663,6 +688,8 @@ class ContentOpenpgpPublickeyApi:
663
688
 
664
689
  A ViewSet for uploads that do not require to store an uploaded content as an Artifact.
665
690
 
691
+ :param x_task_diagnostics: List of profilers to use on tasks.
692
+ :type x_task_diagnostics: List[str]
666
693
  :param fingerprint: Filter results where fingerprint matches value
667
694
  :type fingerprint: str
668
695
  :param limit: Number of results to return per page.
@@ -716,6 +743,7 @@ class ContentOpenpgpPublickeyApi:
716
743
  """ # noqa: E501
717
744
 
718
745
  _param = self._list_serialize(
746
+ x_task_diagnostics=x_task_diagnostics,
719
747
  fingerprint=fingerprint,
720
748
  limit=limit,
721
749
  offset=offset,
@@ -749,6 +777,7 @@ class ContentOpenpgpPublickeyApi:
749
777
 
750
778
  def _list_serialize(
751
779
  self,
780
+ x_task_diagnostics,
752
781
  fingerprint,
753
782
  limit,
754
783
  offset,
@@ -773,6 +802,7 @@ class ContentOpenpgpPublickeyApi:
773
802
  _host = None
774
803
 
775
804
  _collection_formats: Dict[str, str] = {
805
+ 'X-Task-Diagnostics': 'csv',
776
806
  'ordering': 'csv',
777
807
  'prn__in': 'csv',
778
808
  'pulp_href__in': 'csv',
@@ -853,6 +883,8 @@ class ContentOpenpgpPublickeyApi:
853
883
  _query_params.append(('exclude_fields', exclude_fields))
854
884
 
855
885
  # process the header parameters
886
+ if x_task_diagnostics is not None:
887
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
856
888
  # process the form parameters
857
889
  # process the body parameter
858
890
 
@@ -894,6 +926,7 @@ class ContentOpenpgpPublickeyApi:
894
926
  def read(
895
927
  self,
896
928
  open_p_g_p_public_key_href: StrictStr,
929
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
897
930
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
898
931
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
899
932
  _request_timeout: Union[
@@ -915,6 +948,8 @@ class ContentOpenpgpPublickeyApi:
915
948
 
916
949
  :param open_p_g_p_public_key_href: (required)
917
950
  :type open_p_g_p_public_key_href: str
951
+ :param x_task_diagnostics: List of profilers to use on tasks.
952
+ :type x_task_diagnostics: List[str]
918
953
  :param fields: A list of fields to include in the response.
919
954
  :type fields: List[str]
920
955
  :param exclude_fields: A list of fields to exclude from the response.
@@ -943,6 +978,7 @@ class ContentOpenpgpPublickeyApi:
943
978
 
944
979
  _param = self._read_serialize(
945
980
  open_p_g_p_public_key_href=open_p_g_p_public_key_href,
981
+ x_task_diagnostics=x_task_diagnostics,
946
982
  fields=fields,
947
983
  exclude_fields=exclude_fields,
948
984
  _request_auth=_request_auth,
@@ -969,6 +1005,7 @@ class ContentOpenpgpPublickeyApi:
969
1005
  def read_with_http_info(
970
1006
  self,
971
1007
  open_p_g_p_public_key_href: StrictStr,
1008
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
972
1009
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
973
1010
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
974
1011
  _request_timeout: Union[
@@ -990,6 +1027,8 @@ class ContentOpenpgpPublickeyApi:
990
1027
 
991
1028
  :param open_p_g_p_public_key_href: (required)
992
1029
  :type open_p_g_p_public_key_href: str
1030
+ :param x_task_diagnostics: List of profilers to use on tasks.
1031
+ :type x_task_diagnostics: List[str]
993
1032
  :param fields: A list of fields to include in the response.
994
1033
  :type fields: List[str]
995
1034
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1018,6 +1057,7 @@ class ContentOpenpgpPublickeyApi:
1018
1057
 
1019
1058
  _param = self._read_serialize(
1020
1059
  open_p_g_p_public_key_href=open_p_g_p_public_key_href,
1060
+ x_task_diagnostics=x_task_diagnostics,
1021
1061
  fields=fields,
1022
1062
  exclude_fields=exclude_fields,
1023
1063
  _request_auth=_request_auth,
@@ -1044,6 +1084,7 @@ class ContentOpenpgpPublickeyApi:
1044
1084
  def read_without_preload_content(
1045
1085
  self,
1046
1086
  open_p_g_p_public_key_href: StrictStr,
1087
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1047
1088
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1048
1089
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1049
1090
  _request_timeout: Union[
@@ -1065,6 +1106,8 @@ class ContentOpenpgpPublickeyApi:
1065
1106
 
1066
1107
  :param open_p_g_p_public_key_href: (required)
1067
1108
  :type open_p_g_p_public_key_href: str
1109
+ :param x_task_diagnostics: List of profilers to use on tasks.
1110
+ :type x_task_diagnostics: List[str]
1068
1111
  :param fields: A list of fields to include in the response.
1069
1112
  :type fields: List[str]
1070
1113
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1093,6 +1136,7 @@ class ContentOpenpgpPublickeyApi:
1093
1136
 
1094
1137
  _param = self._read_serialize(
1095
1138
  open_p_g_p_public_key_href=open_p_g_p_public_key_href,
1139
+ x_task_diagnostics=x_task_diagnostics,
1096
1140
  fields=fields,
1097
1141
  exclude_fields=exclude_fields,
1098
1142
  _request_auth=_request_auth,
@@ -1114,6 +1158,7 @@ class ContentOpenpgpPublickeyApi:
1114
1158
  def _read_serialize(
1115
1159
  self,
1116
1160
  open_p_g_p_public_key_href,
1161
+ x_task_diagnostics,
1117
1162
  fields,
1118
1163
  exclude_fields,
1119
1164
  _request_auth,
@@ -1125,6 +1170,7 @@ class ContentOpenpgpPublickeyApi:
1125
1170
  _host = None
1126
1171
 
1127
1172
  _collection_formats: Dict[str, str] = {
1173
+ 'X-Task-Diagnostics': 'csv',
1128
1174
  'fields': 'multi',
1129
1175
  'exclude_fields': 'multi',
1130
1176
  }
@@ -1151,6 +1197,8 @@ class ContentOpenpgpPublickeyApi:
1151
1197
  _query_params.append(('exclude_fields', exclude_fields))
1152
1198
 
1153
1199
  # process the header parameters
1200
+ if x_task_diagnostics is not None:
1201
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1154
1202
  # process the form parameters
1155
1203
  # process the body parameter
1156
1204
 
@@ -1193,6 +1241,7 @@ class ContentOpenpgpPublickeyApi:
1193
1241
  self,
1194
1242
  open_p_g_p_public_key_href: StrictStr,
1195
1243
  set_label: SetLabel,
1244
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1196
1245
  _request_timeout: Union[
1197
1246
  None,
1198
1247
  Annotated[StrictFloat, Field(gt=0)],
@@ -1214,6 +1263,8 @@ class ContentOpenpgpPublickeyApi:
1214
1263
  :type open_p_g_p_public_key_href: str
1215
1264
  :param set_label: (required)
1216
1265
  :type set_label: SetLabel
1266
+ :param x_task_diagnostics: List of profilers to use on tasks.
1267
+ :type x_task_diagnostics: List[str]
1217
1268
  :param _request_timeout: timeout setting for this request. If one
1218
1269
  number provided, it will be total request
1219
1270
  timeout. It can also be a pair (tuple) of
@@ -1239,6 +1290,7 @@ class ContentOpenpgpPublickeyApi:
1239
1290
  _param = self._set_label_serialize(
1240
1291
  open_p_g_p_public_key_href=open_p_g_p_public_key_href,
1241
1292
  set_label=set_label,
1293
+ x_task_diagnostics=x_task_diagnostics,
1242
1294
  _request_auth=_request_auth,
1243
1295
  _content_type=_content_type,
1244
1296
  _headers=_headers,
@@ -1264,6 +1316,7 @@ class ContentOpenpgpPublickeyApi:
1264
1316
  self,
1265
1317
  open_p_g_p_public_key_href: StrictStr,
1266
1318
  set_label: SetLabel,
1319
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1267
1320
  _request_timeout: Union[
1268
1321
  None,
1269
1322
  Annotated[StrictFloat, Field(gt=0)],
@@ -1285,6 +1338,8 @@ class ContentOpenpgpPublickeyApi:
1285
1338
  :type open_p_g_p_public_key_href: str
1286
1339
  :param set_label: (required)
1287
1340
  :type set_label: SetLabel
1341
+ :param x_task_diagnostics: List of profilers to use on tasks.
1342
+ :type x_task_diagnostics: List[str]
1288
1343
  :param _request_timeout: timeout setting for this request. If one
1289
1344
  number provided, it will be total request
1290
1345
  timeout. It can also be a pair (tuple) of
@@ -1310,6 +1365,7 @@ class ContentOpenpgpPublickeyApi:
1310
1365
  _param = self._set_label_serialize(
1311
1366
  open_p_g_p_public_key_href=open_p_g_p_public_key_href,
1312
1367
  set_label=set_label,
1368
+ x_task_diagnostics=x_task_diagnostics,
1313
1369
  _request_auth=_request_auth,
1314
1370
  _content_type=_content_type,
1315
1371
  _headers=_headers,
@@ -1335,6 +1391,7 @@ class ContentOpenpgpPublickeyApi:
1335
1391
  self,
1336
1392
  open_p_g_p_public_key_href: StrictStr,
1337
1393
  set_label: SetLabel,
1394
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1338
1395
  _request_timeout: Union[
1339
1396
  None,
1340
1397
  Annotated[StrictFloat, Field(gt=0)],
@@ -1356,6 +1413,8 @@ class ContentOpenpgpPublickeyApi:
1356
1413
  :type open_p_g_p_public_key_href: str
1357
1414
  :param set_label: (required)
1358
1415
  :type set_label: SetLabel
1416
+ :param x_task_diagnostics: List of profilers to use on tasks.
1417
+ :type x_task_diagnostics: List[str]
1359
1418
  :param _request_timeout: timeout setting for this request. If one
1360
1419
  number provided, it will be total request
1361
1420
  timeout. It can also be a pair (tuple) of
@@ -1381,6 +1440,7 @@ class ContentOpenpgpPublickeyApi:
1381
1440
  _param = self._set_label_serialize(
1382
1441
  open_p_g_p_public_key_href=open_p_g_p_public_key_href,
1383
1442
  set_label=set_label,
1443
+ x_task_diagnostics=x_task_diagnostics,
1384
1444
  _request_auth=_request_auth,
1385
1445
  _content_type=_content_type,
1386
1446
  _headers=_headers,
@@ -1401,6 +1461,7 @@ class ContentOpenpgpPublickeyApi:
1401
1461
  self,
1402
1462
  open_p_g_p_public_key_href,
1403
1463
  set_label,
1464
+ x_task_diagnostics,
1404
1465
  _request_auth,
1405
1466
  _content_type,
1406
1467
  _headers,
@@ -1410,6 +1471,7 @@ class ContentOpenpgpPublickeyApi:
1410
1471
  _host = None
1411
1472
 
1412
1473
  _collection_formats: Dict[str, str] = {
1474
+ 'X-Task-Diagnostics': 'csv',
1413
1475
  }
1414
1476
 
1415
1477
  _path_params: Dict[str, str] = {}
@@ -1426,6 +1488,8 @@ class ContentOpenpgpPublickeyApi:
1426
1488
  _path_params['open_p_g_p_public_key_href'] = open_p_g_p_public_key_href
1427
1489
  # process the query parameters
1428
1490
  # process the header parameters
1491
+ if x_task_diagnostics is not None:
1492
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1429
1493
  # process the form parameters
1430
1494
  # process the body parameter
1431
1495
  if set_label is not None:
@@ -1485,6 +1549,7 @@ class ContentOpenpgpPublickeyApi:
1485
1549
  self,
1486
1550
  open_p_g_p_public_key_href: StrictStr,
1487
1551
  unset_label: UnsetLabel,
1552
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1488
1553
  _request_timeout: Union[
1489
1554
  None,
1490
1555
  Annotated[StrictFloat, Field(gt=0)],
@@ -1506,6 +1571,8 @@ class ContentOpenpgpPublickeyApi:
1506
1571
  :type open_p_g_p_public_key_href: str
1507
1572
  :param unset_label: (required)
1508
1573
  :type unset_label: UnsetLabel
1574
+ :param x_task_diagnostics: List of profilers to use on tasks.
1575
+ :type x_task_diagnostics: List[str]
1509
1576
  :param _request_timeout: timeout setting for this request. If one
1510
1577
  number provided, it will be total request
1511
1578
  timeout. It can also be a pair (tuple) of
@@ -1531,6 +1598,7 @@ class ContentOpenpgpPublickeyApi:
1531
1598
  _param = self._unset_label_serialize(
1532
1599
  open_p_g_p_public_key_href=open_p_g_p_public_key_href,
1533
1600
  unset_label=unset_label,
1601
+ x_task_diagnostics=x_task_diagnostics,
1534
1602
  _request_auth=_request_auth,
1535
1603
  _content_type=_content_type,
1536
1604
  _headers=_headers,
@@ -1556,6 +1624,7 @@ class ContentOpenpgpPublickeyApi:
1556
1624
  self,
1557
1625
  open_p_g_p_public_key_href: StrictStr,
1558
1626
  unset_label: UnsetLabel,
1627
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1559
1628
  _request_timeout: Union[
1560
1629
  None,
1561
1630
  Annotated[StrictFloat, Field(gt=0)],
@@ -1577,6 +1646,8 @@ class ContentOpenpgpPublickeyApi:
1577
1646
  :type open_p_g_p_public_key_href: str
1578
1647
  :param unset_label: (required)
1579
1648
  :type unset_label: UnsetLabel
1649
+ :param x_task_diagnostics: List of profilers to use on tasks.
1650
+ :type x_task_diagnostics: List[str]
1580
1651
  :param _request_timeout: timeout setting for this request. If one
1581
1652
  number provided, it will be total request
1582
1653
  timeout. It can also be a pair (tuple) of
@@ -1602,6 +1673,7 @@ class ContentOpenpgpPublickeyApi:
1602
1673
  _param = self._unset_label_serialize(
1603
1674
  open_p_g_p_public_key_href=open_p_g_p_public_key_href,
1604
1675
  unset_label=unset_label,
1676
+ x_task_diagnostics=x_task_diagnostics,
1605
1677
  _request_auth=_request_auth,
1606
1678
  _content_type=_content_type,
1607
1679
  _headers=_headers,
@@ -1627,6 +1699,7 @@ class ContentOpenpgpPublickeyApi:
1627
1699
  self,
1628
1700
  open_p_g_p_public_key_href: StrictStr,
1629
1701
  unset_label: UnsetLabel,
1702
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1630
1703
  _request_timeout: Union[
1631
1704
  None,
1632
1705
  Annotated[StrictFloat, Field(gt=0)],
@@ -1648,6 +1721,8 @@ class ContentOpenpgpPublickeyApi:
1648
1721
  :type open_p_g_p_public_key_href: str
1649
1722
  :param unset_label: (required)
1650
1723
  :type unset_label: UnsetLabel
1724
+ :param x_task_diagnostics: List of profilers to use on tasks.
1725
+ :type x_task_diagnostics: List[str]
1651
1726
  :param _request_timeout: timeout setting for this request. If one
1652
1727
  number provided, it will be total request
1653
1728
  timeout. It can also be a pair (tuple) of
@@ -1673,6 +1748,7 @@ class ContentOpenpgpPublickeyApi:
1673
1748
  _param = self._unset_label_serialize(
1674
1749
  open_p_g_p_public_key_href=open_p_g_p_public_key_href,
1675
1750
  unset_label=unset_label,
1751
+ x_task_diagnostics=x_task_diagnostics,
1676
1752
  _request_auth=_request_auth,
1677
1753
  _content_type=_content_type,
1678
1754
  _headers=_headers,
@@ -1693,6 +1769,7 @@ class ContentOpenpgpPublickeyApi:
1693
1769
  self,
1694
1770
  open_p_g_p_public_key_href,
1695
1771
  unset_label,
1772
+ x_task_diagnostics,
1696
1773
  _request_auth,
1697
1774
  _content_type,
1698
1775
  _headers,
@@ -1702,6 +1779,7 @@ class ContentOpenpgpPublickeyApi:
1702
1779
  _host = None
1703
1780
 
1704
1781
  _collection_formats: Dict[str, str] = {
1782
+ 'X-Task-Diagnostics': 'csv',
1705
1783
  }
1706
1784
 
1707
1785
  _path_params: Dict[str, str] = {}
@@ -1718,6 +1796,8 @@ class ContentOpenpgpPublickeyApi:
1718
1796
  _path_params['open_p_g_p_public_key_href'] = open_p_g_p_public_key_href
1719
1797
  # process the query parameters
1720
1798
  # process the header parameters
1799
+ if x_task_diagnostics is not None:
1800
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1721
1801
  # process the form parameters
1722
1802
  # process the body parameter
1723
1803
  if unset_label is not None: