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.

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 +17 -17
  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.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/METADATA +1 -1
  62. {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/RECORD +64 -64
  63. {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/WHEEL +0 -0
  64. {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/top_level.txt +0 -0
@@ -53,6 +53,7 @@ class UploadsApi:
53
53
  self,
54
54
  upload_href: StrictStr,
55
55
  upload: Upload,
56
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
56
57
  _request_timeout: Union[
57
58
  None,
58
59
  Annotated[StrictFloat, Field(gt=0)],
@@ -74,6 +75,8 @@ class UploadsApi:
74
75
  :type upload_href: str
75
76
  :param upload: (required)
76
77
  :type upload: Upload
78
+ :param x_task_diagnostics: List of profilers to use on tasks.
79
+ :type x_task_diagnostics: List[str]
77
80
  :param _request_timeout: timeout setting for this request. If one
78
81
  number provided, it will be total request
79
82
  timeout. It can also be a pair (tuple) of
@@ -99,6 +102,7 @@ class UploadsApi:
99
102
  _param = self._add_role_serialize(
100
103
  upload_href=upload_href,
101
104
  upload=upload,
105
+ x_task_diagnostics=x_task_diagnostics,
102
106
  _request_auth=_request_auth,
103
107
  _content_type=_content_type,
104
108
  _headers=_headers,
@@ -124,6 +128,7 @@ class UploadsApi:
124
128
  self,
125
129
  upload_href: StrictStr,
126
130
  upload: Upload,
131
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
127
132
  _request_timeout: Union[
128
133
  None,
129
134
  Annotated[StrictFloat, Field(gt=0)],
@@ -145,6 +150,8 @@ class UploadsApi:
145
150
  :type upload_href: str
146
151
  :param upload: (required)
147
152
  :type upload: Upload
153
+ :param x_task_diagnostics: List of profilers to use on tasks.
154
+ :type x_task_diagnostics: List[str]
148
155
  :param _request_timeout: timeout setting for this request. If one
149
156
  number provided, it will be total request
150
157
  timeout. It can also be a pair (tuple) of
@@ -170,6 +177,7 @@ class UploadsApi:
170
177
  _param = self._add_role_serialize(
171
178
  upload_href=upload_href,
172
179
  upload=upload,
180
+ x_task_diagnostics=x_task_diagnostics,
173
181
  _request_auth=_request_auth,
174
182
  _content_type=_content_type,
175
183
  _headers=_headers,
@@ -195,6 +203,7 @@ class UploadsApi:
195
203
  self,
196
204
  upload_href: StrictStr,
197
205
  upload: Upload,
206
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
198
207
  _request_timeout: Union[
199
208
  None,
200
209
  Annotated[StrictFloat, Field(gt=0)],
@@ -216,6 +225,8 @@ class UploadsApi:
216
225
  :type upload_href: str
217
226
  :param upload: (required)
218
227
  :type upload: Upload
228
+ :param x_task_diagnostics: List of profilers to use on tasks.
229
+ :type x_task_diagnostics: List[str]
219
230
  :param _request_timeout: timeout setting for this request. If one
220
231
  number provided, it will be total request
221
232
  timeout. It can also be a pair (tuple) of
@@ -241,6 +252,7 @@ class UploadsApi:
241
252
  _param = self._add_role_serialize(
242
253
  upload_href=upload_href,
243
254
  upload=upload,
255
+ x_task_diagnostics=x_task_diagnostics,
244
256
  _request_auth=_request_auth,
245
257
  _content_type=_content_type,
246
258
  _headers=_headers,
@@ -261,6 +273,7 @@ class UploadsApi:
261
273
  self,
262
274
  upload_href,
263
275
  upload,
276
+ x_task_diagnostics,
264
277
  _request_auth,
265
278
  _content_type,
266
279
  _headers,
@@ -270,6 +283,7 @@ class UploadsApi:
270
283
  _host = None
271
284
 
272
285
  _collection_formats: Dict[str, str] = {
286
+ 'X-Task-Diagnostics': 'csv',
273
287
  }
274
288
 
275
289
  _path_params: Dict[str, str] = {}
@@ -286,6 +300,8 @@ class UploadsApi:
286
300
  _path_params['upload_href'] = upload_href
287
301
  # process the query parameters
288
302
  # process the header parameters
303
+ if x_task_diagnostics is not None:
304
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
289
305
  # process the form parameters
290
306
  # process the body parameter
291
307
  if upload is not None:
@@ -345,6 +361,7 @@ class UploadsApi:
345
361
  self,
346
362
  upload_href: StrictStr,
347
363
  upload_commit: UploadCommit,
364
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
348
365
  _request_timeout: Union[
349
366
  None,
350
367
  Annotated[StrictFloat, Field(gt=0)],
@@ -366,6 +383,8 @@ class UploadsApi:
366
383
  :type upload_href: str
367
384
  :param upload_commit: (required)
368
385
  :type upload_commit: UploadCommit
386
+ :param x_task_diagnostics: List of profilers to use on tasks.
387
+ :type x_task_diagnostics: List[str]
369
388
  :param _request_timeout: timeout setting for this request. If one
370
389
  number provided, it will be total request
371
390
  timeout. It can also be a pair (tuple) of
@@ -391,6 +410,7 @@ class UploadsApi:
391
410
  _param = self._commit_serialize(
392
411
  upload_href=upload_href,
393
412
  upload_commit=upload_commit,
413
+ x_task_diagnostics=x_task_diagnostics,
394
414
  _request_auth=_request_auth,
395
415
  _content_type=_content_type,
396
416
  _headers=_headers,
@@ -416,6 +436,7 @@ class UploadsApi:
416
436
  self,
417
437
  upload_href: StrictStr,
418
438
  upload_commit: UploadCommit,
439
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
419
440
  _request_timeout: Union[
420
441
  None,
421
442
  Annotated[StrictFloat, Field(gt=0)],
@@ -437,6 +458,8 @@ class UploadsApi:
437
458
  :type upload_href: str
438
459
  :param upload_commit: (required)
439
460
  :type upload_commit: UploadCommit
461
+ :param x_task_diagnostics: List of profilers to use on tasks.
462
+ :type x_task_diagnostics: List[str]
440
463
  :param _request_timeout: timeout setting for this request. If one
441
464
  number provided, it will be total request
442
465
  timeout. It can also be a pair (tuple) of
@@ -462,6 +485,7 @@ class UploadsApi:
462
485
  _param = self._commit_serialize(
463
486
  upload_href=upload_href,
464
487
  upload_commit=upload_commit,
488
+ x_task_diagnostics=x_task_diagnostics,
465
489
  _request_auth=_request_auth,
466
490
  _content_type=_content_type,
467
491
  _headers=_headers,
@@ -487,6 +511,7 @@ class UploadsApi:
487
511
  self,
488
512
  upload_href: StrictStr,
489
513
  upload_commit: UploadCommit,
514
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
490
515
  _request_timeout: Union[
491
516
  None,
492
517
  Annotated[StrictFloat, Field(gt=0)],
@@ -508,6 +533,8 @@ class UploadsApi:
508
533
  :type upload_href: str
509
534
  :param upload_commit: (required)
510
535
  :type upload_commit: UploadCommit
536
+ :param x_task_diagnostics: List of profilers to use on tasks.
537
+ :type x_task_diagnostics: List[str]
511
538
  :param _request_timeout: timeout setting for this request. If one
512
539
  number provided, it will be total request
513
540
  timeout. It can also be a pair (tuple) of
@@ -533,6 +560,7 @@ class UploadsApi:
533
560
  _param = self._commit_serialize(
534
561
  upload_href=upload_href,
535
562
  upload_commit=upload_commit,
563
+ x_task_diagnostics=x_task_diagnostics,
536
564
  _request_auth=_request_auth,
537
565
  _content_type=_content_type,
538
566
  _headers=_headers,
@@ -553,6 +581,7 @@ class UploadsApi:
553
581
  self,
554
582
  upload_href,
555
583
  upload_commit,
584
+ x_task_diagnostics,
556
585
  _request_auth,
557
586
  _content_type,
558
587
  _headers,
@@ -562,6 +591,7 @@ class UploadsApi:
562
591
  _host = None
563
592
 
564
593
  _collection_formats: Dict[str, str] = {
594
+ 'X-Task-Diagnostics': 'csv',
565
595
  }
566
596
 
567
597
  _path_params: Dict[str, str] = {}
@@ -578,6 +608,8 @@ class UploadsApi:
578
608
  _path_params['upload_href'] = upload_href
579
609
  # process the query parameters
580
610
  # process the header parameters
611
+ if x_task_diagnostics is not None:
612
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
581
613
  # process the form parameters
582
614
  # process the body parameter
583
615
  if upload_commit is not None:
@@ -636,6 +668,7 @@ class UploadsApi:
636
668
  def create(
637
669
  self,
638
670
  upload: Upload,
671
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
639
672
  _request_timeout: Union[
640
673
  None,
641
674
  Annotated[StrictFloat, Field(gt=0)],
@@ -655,6 +688,8 @@ class UploadsApi:
655
688
 
656
689
  :param upload: (required)
657
690
  :type upload: Upload
691
+ :param x_task_diagnostics: List of profilers to use on tasks.
692
+ :type x_task_diagnostics: List[str]
658
693
  :param _request_timeout: timeout setting for this request. If one
659
694
  number provided, it will be total request
660
695
  timeout. It can also be a pair (tuple) of
@@ -679,6 +714,7 @@ class UploadsApi:
679
714
 
680
715
  _param = self._create_serialize(
681
716
  upload=upload,
717
+ x_task_diagnostics=x_task_diagnostics,
682
718
  _request_auth=_request_auth,
683
719
  _content_type=_content_type,
684
720
  _headers=_headers,
@@ -703,6 +739,7 @@ class UploadsApi:
703
739
  def create_with_http_info(
704
740
  self,
705
741
  upload: Upload,
742
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
706
743
  _request_timeout: Union[
707
744
  None,
708
745
  Annotated[StrictFloat, Field(gt=0)],
@@ -722,6 +759,8 @@ class UploadsApi:
722
759
 
723
760
  :param upload: (required)
724
761
  :type upload: Upload
762
+ :param x_task_diagnostics: List of profilers to use on tasks.
763
+ :type x_task_diagnostics: List[str]
725
764
  :param _request_timeout: timeout setting for this request. If one
726
765
  number provided, it will be total request
727
766
  timeout. It can also be a pair (tuple) of
@@ -746,6 +785,7 @@ class UploadsApi:
746
785
 
747
786
  _param = self._create_serialize(
748
787
  upload=upload,
788
+ x_task_diagnostics=x_task_diagnostics,
749
789
  _request_auth=_request_auth,
750
790
  _content_type=_content_type,
751
791
  _headers=_headers,
@@ -770,6 +810,7 @@ class UploadsApi:
770
810
  def create_without_preload_content(
771
811
  self,
772
812
  upload: Upload,
813
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
773
814
  _request_timeout: Union[
774
815
  None,
775
816
  Annotated[StrictFloat, Field(gt=0)],
@@ -789,6 +830,8 @@ class UploadsApi:
789
830
 
790
831
  :param upload: (required)
791
832
  :type upload: Upload
833
+ :param x_task_diagnostics: List of profilers to use on tasks.
834
+ :type x_task_diagnostics: List[str]
792
835
  :param _request_timeout: timeout setting for this request. If one
793
836
  number provided, it will be total request
794
837
  timeout. It can also be a pair (tuple) of
@@ -813,6 +856,7 @@ class UploadsApi:
813
856
 
814
857
  _param = self._create_serialize(
815
858
  upload=upload,
859
+ x_task_diagnostics=x_task_diagnostics,
816
860
  _request_auth=_request_auth,
817
861
  _content_type=_content_type,
818
862
  _headers=_headers,
@@ -832,6 +876,7 @@ class UploadsApi:
832
876
  def _create_serialize(
833
877
  self,
834
878
  upload,
879
+ x_task_diagnostics,
835
880
  _request_auth,
836
881
  _content_type,
837
882
  _headers,
@@ -841,6 +886,7 @@ class UploadsApi:
841
886
  _host = None
842
887
 
843
888
  _collection_formats: Dict[str, str] = {
889
+ 'X-Task-Diagnostics': 'csv',
844
890
  }
845
891
 
846
892
  _path_params: Dict[str, str] = {}
@@ -855,6 +901,8 @@ class UploadsApi:
855
901
  # process the path parameters
856
902
  # process the query parameters
857
903
  # process the header parameters
904
+ if x_task_diagnostics is not None:
905
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
858
906
  # process the form parameters
859
907
  # process the body parameter
860
908
  if upload is not None:
@@ -913,6 +961,7 @@ class UploadsApi:
913
961
  def delete(
914
962
  self,
915
963
  upload_href: StrictStr,
964
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
916
965
  _request_timeout: Union[
917
966
  None,
918
967
  Annotated[StrictFloat, Field(gt=0)],
@@ -932,6 +981,8 @@ class UploadsApi:
932
981
 
933
982
  :param upload_href: (required)
934
983
  :type upload_href: str
984
+ :param x_task_diagnostics: List of profilers to use on tasks.
985
+ :type x_task_diagnostics: List[str]
935
986
  :param _request_timeout: timeout setting for this request. If one
936
987
  number provided, it will be total request
937
988
  timeout. It can also be a pair (tuple) of
@@ -956,6 +1007,7 @@ class UploadsApi:
956
1007
 
957
1008
  _param = self._delete_serialize(
958
1009
  upload_href=upload_href,
1010
+ x_task_diagnostics=x_task_diagnostics,
959
1011
  _request_auth=_request_auth,
960
1012
  _content_type=_content_type,
961
1013
  _headers=_headers,
@@ -980,6 +1032,7 @@ class UploadsApi:
980
1032
  def delete_with_http_info(
981
1033
  self,
982
1034
  upload_href: StrictStr,
1035
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
983
1036
  _request_timeout: Union[
984
1037
  None,
985
1038
  Annotated[StrictFloat, Field(gt=0)],
@@ -999,6 +1052,8 @@ class UploadsApi:
999
1052
 
1000
1053
  :param upload_href: (required)
1001
1054
  :type upload_href: str
1055
+ :param x_task_diagnostics: List of profilers to use on tasks.
1056
+ :type x_task_diagnostics: List[str]
1002
1057
  :param _request_timeout: timeout setting for this request. If one
1003
1058
  number provided, it will be total request
1004
1059
  timeout. It can also be a pair (tuple) of
@@ -1023,6 +1078,7 @@ class UploadsApi:
1023
1078
 
1024
1079
  _param = self._delete_serialize(
1025
1080
  upload_href=upload_href,
1081
+ x_task_diagnostics=x_task_diagnostics,
1026
1082
  _request_auth=_request_auth,
1027
1083
  _content_type=_content_type,
1028
1084
  _headers=_headers,
@@ -1047,6 +1103,7 @@ class UploadsApi:
1047
1103
  def delete_without_preload_content(
1048
1104
  self,
1049
1105
  upload_href: StrictStr,
1106
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1050
1107
  _request_timeout: Union[
1051
1108
  None,
1052
1109
  Annotated[StrictFloat, Field(gt=0)],
@@ -1066,6 +1123,8 @@ class UploadsApi:
1066
1123
 
1067
1124
  :param upload_href: (required)
1068
1125
  :type upload_href: str
1126
+ :param x_task_diagnostics: List of profilers to use on tasks.
1127
+ :type x_task_diagnostics: List[str]
1069
1128
  :param _request_timeout: timeout setting for this request. If one
1070
1129
  number provided, it will be total request
1071
1130
  timeout. It can also be a pair (tuple) of
@@ -1090,6 +1149,7 @@ class UploadsApi:
1090
1149
 
1091
1150
  _param = self._delete_serialize(
1092
1151
  upload_href=upload_href,
1152
+ x_task_diagnostics=x_task_diagnostics,
1093
1153
  _request_auth=_request_auth,
1094
1154
  _content_type=_content_type,
1095
1155
  _headers=_headers,
@@ -1109,6 +1169,7 @@ class UploadsApi:
1109
1169
  def _delete_serialize(
1110
1170
  self,
1111
1171
  upload_href,
1172
+ x_task_diagnostics,
1112
1173
  _request_auth,
1113
1174
  _content_type,
1114
1175
  _headers,
@@ -1118,6 +1179,7 @@ class UploadsApi:
1118
1179
  _host = None
1119
1180
 
1120
1181
  _collection_formats: Dict[str, str] = {
1182
+ 'X-Task-Diagnostics': 'csv',
1121
1183
  }
1122
1184
 
1123
1185
  _path_params: Dict[str, str] = {}
@@ -1134,6 +1196,8 @@ class UploadsApi:
1134
1196
  _path_params['upload_href'] = upload_href
1135
1197
  # process the query parameters
1136
1198
  # process the header parameters
1199
+ if x_task_diagnostics is not None:
1200
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1137
1201
  # process the form parameters
1138
1202
  # process the body parameter
1139
1203
 
@@ -1167,6 +1231,7 @@ class UploadsApi:
1167
1231
  @validate_call
1168
1232
  def list(
1169
1233
  self,
1234
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1170
1235
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
1171
1236
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
1172
1237
  ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
@@ -1197,6 +1262,8 @@ class UploadsApi:
1197
1262
 
1198
1263
  View for chunked uploads.
1199
1264
 
1265
+ :param x_task_diagnostics: List of profilers to use on tasks.
1266
+ :type x_task_diagnostics: List[str]
1200
1267
  :param limit: Number of results to return per page.
1201
1268
  :type limit: int
1202
1269
  :param offset: The initial index from which to return the results.
@@ -1246,6 +1313,7 @@ class UploadsApi:
1246
1313
  """ # noqa: E501
1247
1314
 
1248
1315
  _param = self._list_serialize(
1316
+ x_task_diagnostics=x_task_diagnostics,
1249
1317
  limit=limit,
1250
1318
  offset=offset,
1251
1319
  ordering=ordering,
@@ -1282,6 +1350,7 @@ class UploadsApi:
1282
1350
  @validate_call
1283
1351
  def list_with_http_info(
1284
1352
  self,
1353
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1285
1354
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
1286
1355
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
1287
1356
  ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
@@ -1312,6 +1381,8 @@ class UploadsApi:
1312
1381
 
1313
1382
  View for chunked uploads.
1314
1383
 
1384
+ :param x_task_diagnostics: List of profilers to use on tasks.
1385
+ :type x_task_diagnostics: List[str]
1315
1386
  :param limit: Number of results to return per page.
1316
1387
  :type limit: int
1317
1388
  :param offset: The initial index from which to return the results.
@@ -1361,6 +1432,7 @@ class UploadsApi:
1361
1432
  """ # noqa: E501
1362
1433
 
1363
1434
  _param = self._list_serialize(
1435
+ x_task_diagnostics=x_task_diagnostics,
1364
1436
  limit=limit,
1365
1437
  offset=offset,
1366
1438
  ordering=ordering,
@@ -1397,6 +1469,7 @@ class UploadsApi:
1397
1469
  @validate_call
1398
1470
  def list_without_preload_content(
1399
1471
  self,
1472
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1400
1473
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
1401
1474
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
1402
1475
  ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
@@ -1427,6 +1500,8 @@ class UploadsApi:
1427
1500
 
1428
1501
  View for chunked uploads.
1429
1502
 
1503
+ :param x_task_diagnostics: List of profilers to use on tasks.
1504
+ :type x_task_diagnostics: List[str]
1430
1505
  :param limit: Number of results to return per page.
1431
1506
  :type limit: int
1432
1507
  :param offset: The initial index from which to return the results.
@@ -1476,6 +1551,7 @@ class UploadsApi:
1476
1551
  """ # noqa: E501
1477
1552
 
1478
1553
  _param = self._list_serialize(
1554
+ x_task_diagnostics=x_task_diagnostics,
1479
1555
  limit=limit,
1480
1556
  offset=offset,
1481
1557
  ordering=ordering,
@@ -1507,6 +1583,7 @@ class UploadsApi:
1507
1583
 
1508
1584
  def _list_serialize(
1509
1585
  self,
1586
+ x_task_diagnostics,
1510
1587
  limit,
1511
1588
  offset,
1512
1589
  ordering,
@@ -1529,6 +1606,7 @@ class UploadsApi:
1529
1606
  _host = None
1530
1607
 
1531
1608
  _collection_formats: Dict[str, str] = {
1609
+ 'X-Task-Diagnostics': 'csv',
1532
1610
  'ordering': 'csv',
1533
1611
  'prn__in': 'csv',
1534
1612
  'pulp_href__in': 'csv',
@@ -1602,6 +1680,8 @@ class UploadsApi:
1602
1680
  _query_params.append(('exclude_fields', exclude_fields))
1603
1681
 
1604
1682
  # process the header parameters
1683
+ if x_task_diagnostics is not None:
1684
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1605
1685
  # process the form parameters
1606
1686
  # process the body parameter
1607
1687
 
@@ -1643,6 +1723,7 @@ class UploadsApi:
1643
1723
  def list_roles(
1644
1724
  self,
1645
1725
  upload_href: StrictStr,
1726
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1646
1727
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1647
1728
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1648
1729
  _request_timeout: Union[
@@ -1664,6 +1745,8 @@ class UploadsApi:
1664
1745
 
1665
1746
  :param upload_href: (required)
1666
1747
  :type upload_href: str
1748
+ :param x_task_diagnostics: List of profilers to use on tasks.
1749
+ :type x_task_diagnostics: List[str]
1667
1750
  :param fields: A list of fields to include in the response.
1668
1751
  :type fields: List[str]
1669
1752
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1692,6 +1775,7 @@ class UploadsApi:
1692
1775
 
1693
1776
  _param = self._list_roles_serialize(
1694
1777
  upload_href=upload_href,
1778
+ x_task_diagnostics=x_task_diagnostics,
1695
1779
  fields=fields,
1696
1780
  exclude_fields=exclude_fields,
1697
1781
  _request_auth=_request_auth,
@@ -1718,6 +1802,7 @@ class UploadsApi:
1718
1802
  def list_roles_with_http_info(
1719
1803
  self,
1720
1804
  upload_href: StrictStr,
1805
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1721
1806
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1722
1807
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1723
1808
  _request_timeout: Union[
@@ -1739,6 +1824,8 @@ class UploadsApi:
1739
1824
 
1740
1825
  :param upload_href: (required)
1741
1826
  :type upload_href: str
1827
+ :param x_task_diagnostics: List of profilers to use on tasks.
1828
+ :type x_task_diagnostics: List[str]
1742
1829
  :param fields: A list of fields to include in the response.
1743
1830
  :type fields: List[str]
1744
1831
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1767,6 +1854,7 @@ class UploadsApi:
1767
1854
 
1768
1855
  _param = self._list_roles_serialize(
1769
1856
  upload_href=upload_href,
1857
+ x_task_diagnostics=x_task_diagnostics,
1770
1858
  fields=fields,
1771
1859
  exclude_fields=exclude_fields,
1772
1860
  _request_auth=_request_auth,
@@ -1793,6 +1881,7 @@ class UploadsApi:
1793
1881
  def list_roles_without_preload_content(
1794
1882
  self,
1795
1883
  upload_href: StrictStr,
1884
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1796
1885
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1797
1886
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1798
1887
  _request_timeout: Union[
@@ -1814,6 +1903,8 @@ class UploadsApi:
1814
1903
 
1815
1904
  :param upload_href: (required)
1816
1905
  :type upload_href: str
1906
+ :param x_task_diagnostics: List of profilers to use on tasks.
1907
+ :type x_task_diagnostics: List[str]
1817
1908
  :param fields: A list of fields to include in the response.
1818
1909
  :type fields: List[str]
1819
1910
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1842,6 +1933,7 @@ class UploadsApi:
1842
1933
 
1843
1934
  _param = self._list_roles_serialize(
1844
1935
  upload_href=upload_href,
1936
+ x_task_diagnostics=x_task_diagnostics,
1845
1937
  fields=fields,
1846
1938
  exclude_fields=exclude_fields,
1847
1939
  _request_auth=_request_auth,
@@ -1863,6 +1955,7 @@ class UploadsApi:
1863
1955
  def _list_roles_serialize(
1864
1956
  self,
1865
1957
  upload_href,
1958
+ x_task_diagnostics,
1866
1959
  fields,
1867
1960
  exclude_fields,
1868
1961
  _request_auth,
@@ -1874,6 +1967,7 @@ class UploadsApi:
1874
1967
  _host = None
1875
1968
 
1876
1969
  _collection_formats: Dict[str, str] = {
1970
+ 'X-Task-Diagnostics': 'csv',
1877
1971
  'fields': 'multi',
1878
1972
  'exclude_fields': 'multi',
1879
1973
  }
@@ -1900,6 +1994,8 @@ class UploadsApi:
1900
1994
  _query_params.append(('exclude_fields', exclude_fields))
1901
1995
 
1902
1996
  # process the header parameters
1997
+ if x_task_diagnostics is not None:
1998
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1903
1999
  # process the form parameters
1904
2000
  # process the body parameter
1905
2001
 
@@ -1941,6 +2037,7 @@ class UploadsApi:
1941
2037
  def my_permissions(
1942
2038
  self,
1943
2039
  upload_href: StrictStr,
2040
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1944
2041
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1945
2042
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1946
2043
  _request_timeout: Union[
@@ -1962,6 +2059,8 @@ class UploadsApi:
1962
2059
 
1963
2060
  :param upload_href: (required)
1964
2061
  :type upload_href: str
2062
+ :param x_task_diagnostics: List of profilers to use on tasks.
2063
+ :type x_task_diagnostics: List[str]
1965
2064
  :param fields: A list of fields to include in the response.
1966
2065
  :type fields: List[str]
1967
2066
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1990,6 +2089,7 @@ class UploadsApi:
1990
2089
 
1991
2090
  _param = self._my_permissions_serialize(
1992
2091
  upload_href=upload_href,
2092
+ x_task_diagnostics=x_task_diagnostics,
1993
2093
  fields=fields,
1994
2094
  exclude_fields=exclude_fields,
1995
2095
  _request_auth=_request_auth,
@@ -2016,6 +2116,7 @@ class UploadsApi:
2016
2116
  def my_permissions_with_http_info(
2017
2117
  self,
2018
2118
  upload_href: StrictStr,
2119
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2019
2120
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2020
2121
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2021
2122
  _request_timeout: Union[
@@ -2037,6 +2138,8 @@ class UploadsApi:
2037
2138
 
2038
2139
  :param upload_href: (required)
2039
2140
  :type upload_href: str
2141
+ :param x_task_diagnostics: List of profilers to use on tasks.
2142
+ :type x_task_diagnostics: List[str]
2040
2143
  :param fields: A list of fields to include in the response.
2041
2144
  :type fields: List[str]
2042
2145
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2065,6 +2168,7 @@ class UploadsApi:
2065
2168
 
2066
2169
  _param = self._my_permissions_serialize(
2067
2170
  upload_href=upload_href,
2171
+ x_task_diagnostics=x_task_diagnostics,
2068
2172
  fields=fields,
2069
2173
  exclude_fields=exclude_fields,
2070
2174
  _request_auth=_request_auth,
@@ -2091,6 +2195,7 @@ class UploadsApi:
2091
2195
  def my_permissions_without_preload_content(
2092
2196
  self,
2093
2197
  upload_href: StrictStr,
2198
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2094
2199
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2095
2200
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2096
2201
  _request_timeout: Union[
@@ -2112,6 +2217,8 @@ class UploadsApi:
2112
2217
 
2113
2218
  :param upload_href: (required)
2114
2219
  :type upload_href: str
2220
+ :param x_task_diagnostics: List of profilers to use on tasks.
2221
+ :type x_task_diagnostics: List[str]
2115
2222
  :param fields: A list of fields to include in the response.
2116
2223
  :type fields: List[str]
2117
2224
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2140,6 +2247,7 @@ class UploadsApi:
2140
2247
 
2141
2248
  _param = self._my_permissions_serialize(
2142
2249
  upload_href=upload_href,
2250
+ x_task_diagnostics=x_task_diagnostics,
2143
2251
  fields=fields,
2144
2252
  exclude_fields=exclude_fields,
2145
2253
  _request_auth=_request_auth,
@@ -2161,6 +2269,7 @@ class UploadsApi:
2161
2269
  def _my_permissions_serialize(
2162
2270
  self,
2163
2271
  upload_href,
2272
+ x_task_diagnostics,
2164
2273
  fields,
2165
2274
  exclude_fields,
2166
2275
  _request_auth,
@@ -2172,6 +2281,7 @@ class UploadsApi:
2172
2281
  _host = None
2173
2282
 
2174
2283
  _collection_formats: Dict[str, str] = {
2284
+ 'X-Task-Diagnostics': 'csv',
2175
2285
  'fields': 'multi',
2176
2286
  'exclude_fields': 'multi',
2177
2287
  }
@@ -2198,6 +2308,8 @@ class UploadsApi:
2198
2308
  _query_params.append(('exclude_fields', exclude_fields))
2199
2309
 
2200
2310
  # process the header parameters
2311
+ if x_task_diagnostics is not None:
2312
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2201
2313
  # process the form parameters
2202
2314
  # process the body parameter
2203
2315
 
@@ -2239,6 +2351,7 @@ class UploadsApi:
2239
2351
  def read(
2240
2352
  self,
2241
2353
  upload_href: StrictStr,
2354
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2242
2355
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2243
2356
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2244
2357
  _request_timeout: Union[
@@ -2260,6 +2373,8 @@ class UploadsApi:
2260
2373
 
2261
2374
  :param upload_href: (required)
2262
2375
  :type upload_href: str
2376
+ :param x_task_diagnostics: List of profilers to use on tasks.
2377
+ :type x_task_diagnostics: List[str]
2263
2378
  :param fields: A list of fields to include in the response.
2264
2379
  :type fields: List[str]
2265
2380
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2288,6 +2403,7 @@ class UploadsApi:
2288
2403
 
2289
2404
  _param = self._read_serialize(
2290
2405
  upload_href=upload_href,
2406
+ x_task_diagnostics=x_task_diagnostics,
2291
2407
  fields=fields,
2292
2408
  exclude_fields=exclude_fields,
2293
2409
  _request_auth=_request_auth,
@@ -2314,6 +2430,7 @@ class UploadsApi:
2314
2430
  def read_with_http_info(
2315
2431
  self,
2316
2432
  upload_href: StrictStr,
2433
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2317
2434
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2318
2435
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2319
2436
  _request_timeout: Union[
@@ -2335,6 +2452,8 @@ class UploadsApi:
2335
2452
 
2336
2453
  :param upload_href: (required)
2337
2454
  :type upload_href: str
2455
+ :param x_task_diagnostics: List of profilers to use on tasks.
2456
+ :type x_task_diagnostics: List[str]
2338
2457
  :param fields: A list of fields to include in the response.
2339
2458
  :type fields: List[str]
2340
2459
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2363,6 +2482,7 @@ class UploadsApi:
2363
2482
 
2364
2483
  _param = self._read_serialize(
2365
2484
  upload_href=upload_href,
2485
+ x_task_diagnostics=x_task_diagnostics,
2366
2486
  fields=fields,
2367
2487
  exclude_fields=exclude_fields,
2368
2488
  _request_auth=_request_auth,
@@ -2389,6 +2509,7 @@ class UploadsApi:
2389
2509
  def read_without_preload_content(
2390
2510
  self,
2391
2511
  upload_href: StrictStr,
2512
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2392
2513
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2393
2514
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2394
2515
  _request_timeout: Union[
@@ -2410,6 +2531,8 @@ class UploadsApi:
2410
2531
 
2411
2532
  :param upload_href: (required)
2412
2533
  :type upload_href: str
2534
+ :param x_task_diagnostics: List of profilers to use on tasks.
2535
+ :type x_task_diagnostics: List[str]
2413
2536
  :param fields: A list of fields to include in the response.
2414
2537
  :type fields: List[str]
2415
2538
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2438,6 +2561,7 @@ class UploadsApi:
2438
2561
 
2439
2562
  _param = self._read_serialize(
2440
2563
  upload_href=upload_href,
2564
+ x_task_diagnostics=x_task_diagnostics,
2441
2565
  fields=fields,
2442
2566
  exclude_fields=exclude_fields,
2443
2567
  _request_auth=_request_auth,
@@ -2459,6 +2583,7 @@ class UploadsApi:
2459
2583
  def _read_serialize(
2460
2584
  self,
2461
2585
  upload_href,
2586
+ x_task_diagnostics,
2462
2587
  fields,
2463
2588
  exclude_fields,
2464
2589
  _request_auth,
@@ -2470,6 +2595,7 @@ class UploadsApi:
2470
2595
  _host = None
2471
2596
 
2472
2597
  _collection_formats: Dict[str, str] = {
2598
+ 'X-Task-Diagnostics': 'csv',
2473
2599
  'fields': 'multi',
2474
2600
  'exclude_fields': 'multi',
2475
2601
  }
@@ -2496,6 +2622,8 @@ class UploadsApi:
2496
2622
  _query_params.append(('exclude_fields', exclude_fields))
2497
2623
 
2498
2624
  # process the header parameters
2625
+ if x_task_diagnostics is not None:
2626
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2499
2627
  # process the form parameters
2500
2628
  # process the body parameter
2501
2629
 
@@ -2538,6 +2666,7 @@ class UploadsApi:
2538
2666
  self,
2539
2667
  upload_href: StrictStr,
2540
2668
  upload: Upload,
2669
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2541
2670
  _request_timeout: Union[
2542
2671
  None,
2543
2672
  Annotated[StrictFloat, Field(gt=0)],
@@ -2559,6 +2688,8 @@ class UploadsApi:
2559
2688
  :type upload_href: str
2560
2689
  :param upload: (required)
2561
2690
  :type upload: Upload
2691
+ :param x_task_diagnostics: List of profilers to use on tasks.
2692
+ :type x_task_diagnostics: List[str]
2562
2693
  :param _request_timeout: timeout setting for this request. If one
2563
2694
  number provided, it will be total request
2564
2695
  timeout. It can also be a pair (tuple) of
@@ -2584,6 +2715,7 @@ class UploadsApi:
2584
2715
  _param = self._remove_role_serialize(
2585
2716
  upload_href=upload_href,
2586
2717
  upload=upload,
2718
+ x_task_diagnostics=x_task_diagnostics,
2587
2719
  _request_auth=_request_auth,
2588
2720
  _content_type=_content_type,
2589
2721
  _headers=_headers,
@@ -2609,6 +2741,7 @@ class UploadsApi:
2609
2741
  self,
2610
2742
  upload_href: StrictStr,
2611
2743
  upload: Upload,
2744
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2612
2745
  _request_timeout: Union[
2613
2746
  None,
2614
2747
  Annotated[StrictFloat, Field(gt=0)],
@@ -2630,6 +2763,8 @@ class UploadsApi:
2630
2763
  :type upload_href: str
2631
2764
  :param upload: (required)
2632
2765
  :type upload: Upload
2766
+ :param x_task_diagnostics: List of profilers to use on tasks.
2767
+ :type x_task_diagnostics: List[str]
2633
2768
  :param _request_timeout: timeout setting for this request. If one
2634
2769
  number provided, it will be total request
2635
2770
  timeout. It can also be a pair (tuple) of
@@ -2655,6 +2790,7 @@ class UploadsApi:
2655
2790
  _param = self._remove_role_serialize(
2656
2791
  upload_href=upload_href,
2657
2792
  upload=upload,
2793
+ x_task_diagnostics=x_task_diagnostics,
2658
2794
  _request_auth=_request_auth,
2659
2795
  _content_type=_content_type,
2660
2796
  _headers=_headers,
@@ -2680,6 +2816,7 @@ class UploadsApi:
2680
2816
  self,
2681
2817
  upload_href: StrictStr,
2682
2818
  upload: Upload,
2819
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2683
2820
  _request_timeout: Union[
2684
2821
  None,
2685
2822
  Annotated[StrictFloat, Field(gt=0)],
@@ -2701,6 +2838,8 @@ class UploadsApi:
2701
2838
  :type upload_href: str
2702
2839
  :param upload: (required)
2703
2840
  :type upload: Upload
2841
+ :param x_task_diagnostics: List of profilers to use on tasks.
2842
+ :type x_task_diagnostics: List[str]
2704
2843
  :param _request_timeout: timeout setting for this request. If one
2705
2844
  number provided, it will be total request
2706
2845
  timeout. It can also be a pair (tuple) of
@@ -2726,6 +2865,7 @@ class UploadsApi:
2726
2865
  _param = self._remove_role_serialize(
2727
2866
  upload_href=upload_href,
2728
2867
  upload=upload,
2868
+ x_task_diagnostics=x_task_diagnostics,
2729
2869
  _request_auth=_request_auth,
2730
2870
  _content_type=_content_type,
2731
2871
  _headers=_headers,
@@ -2746,6 +2886,7 @@ class UploadsApi:
2746
2886
  self,
2747
2887
  upload_href,
2748
2888
  upload,
2889
+ x_task_diagnostics,
2749
2890
  _request_auth,
2750
2891
  _content_type,
2751
2892
  _headers,
@@ -2755,6 +2896,7 @@ class UploadsApi:
2755
2896
  _host = None
2756
2897
 
2757
2898
  _collection_formats: Dict[str, str] = {
2899
+ 'X-Task-Diagnostics': 'csv',
2758
2900
  }
2759
2901
 
2760
2902
  _path_params: Dict[str, str] = {}
@@ -2771,6 +2913,8 @@ class UploadsApi:
2771
2913
  _path_params['upload_href'] = upload_href
2772
2914
  # process the query parameters
2773
2915
  # process the header parameters
2916
+ if x_task_diagnostics is not None:
2917
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2774
2918
  # process the form parameters
2775
2919
  # process the body parameter
2776
2920
  if upload is not None:
@@ -2831,6 +2975,7 @@ class UploadsApi:
2831
2975
  content_range: Annotated[StrictStr, Field(description="The Content-Range header specifies the location of the file chunk within the file.")],
2832
2976
  upload_href: StrictStr,
2833
2977
  file: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="A chunk of the uploaded file.")],
2978
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2834
2979
  sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-256 checksum of the chunk if available.")] = None,
2835
2980
  _request_timeout: Union[
2836
2981
  None,
@@ -2855,6 +3000,8 @@ class UploadsApi:
2855
3000
  :type upload_href: str
2856
3001
  :param file: A chunk of the uploaded file. (required)
2857
3002
  :type file: bytearray
3003
+ :param x_task_diagnostics: List of profilers to use on tasks.
3004
+ :type x_task_diagnostics: List[str]
2858
3005
  :param sha256: The SHA-256 checksum of the chunk if available.
2859
3006
  :type sha256: str
2860
3007
  :param _request_timeout: timeout setting for this request. If one
@@ -2883,6 +3030,7 @@ class UploadsApi:
2883
3030
  content_range=content_range,
2884
3031
  upload_href=upload_href,
2885
3032
  file=file,
3033
+ x_task_diagnostics=x_task_diagnostics,
2886
3034
  sha256=sha256,
2887
3035
  _request_auth=_request_auth,
2888
3036
  _content_type=_content_type,
@@ -2910,6 +3058,7 @@ class UploadsApi:
2910
3058
  content_range: Annotated[StrictStr, Field(description="The Content-Range header specifies the location of the file chunk within the file.")],
2911
3059
  upload_href: StrictStr,
2912
3060
  file: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="A chunk of the uploaded file.")],
3061
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2913
3062
  sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-256 checksum of the chunk if available.")] = None,
2914
3063
  _request_timeout: Union[
2915
3064
  None,
@@ -2934,6 +3083,8 @@ class UploadsApi:
2934
3083
  :type upload_href: str
2935
3084
  :param file: A chunk of the uploaded file. (required)
2936
3085
  :type file: bytearray
3086
+ :param x_task_diagnostics: List of profilers to use on tasks.
3087
+ :type x_task_diagnostics: List[str]
2937
3088
  :param sha256: The SHA-256 checksum of the chunk if available.
2938
3089
  :type sha256: str
2939
3090
  :param _request_timeout: timeout setting for this request. If one
@@ -2962,6 +3113,7 @@ class UploadsApi:
2962
3113
  content_range=content_range,
2963
3114
  upload_href=upload_href,
2964
3115
  file=file,
3116
+ x_task_diagnostics=x_task_diagnostics,
2965
3117
  sha256=sha256,
2966
3118
  _request_auth=_request_auth,
2967
3119
  _content_type=_content_type,
@@ -2989,6 +3141,7 @@ class UploadsApi:
2989
3141
  content_range: Annotated[StrictStr, Field(description="The Content-Range header specifies the location of the file chunk within the file.")],
2990
3142
  upload_href: StrictStr,
2991
3143
  file: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="A chunk of the uploaded file.")],
3144
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2992
3145
  sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-256 checksum of the chunk if available.")] = None,
2993
3146
  _request_timeout: Union[
2994
3147
  None,
@@ -3013,6 +3166,8 @@ class UploadsApi:
3013
3166
  :type upload_href: str
3014
3167
  :param file: A chunk of the uploaded file. (required)
3015
3168
  :type file: bytearray
3169
+ :param x_task_diagnostics: List of profilers to use on tasks.
3170
+ :type x_task_diagnostics: List[str]
3016
3171
  :param sha256: The SHA-256 checksum of the chunk if available.
3017
3172
  :type sha256: str
3018
3173
  :param _request_timeout: timeout setting for this request. If one
@@ -3041,6 +3196,7 @@ class UploadsApi:
3041
3196
  content_range=content_range,
3042
3197
  upload_href=upload_href,
3043
3198
  file=file,
3199
+ x_task_diagnostics=x_task_diagnostics,
3044
3200
  sha256=sha256,
3045
3201
  _request_auth=_request_auth,
3046
3202
  _content_type=_content_type,
@@ -3063,6 +3219,7 @@ class UploadsApi:
3063
3219
  content_range,
3064
3220
  upload_href,
3065
3221
  file,
3222
+ x_task_diagnostics,
3066
3223
  sha256,
3067
3224
  _request_auth,
3068
3225
  _content_type,
@@ -3073,6 +3230,7 @@ class UploadsApi:
3073
3230
  _host = None
3074
3231
 
3075
3232
  _collection_formats: Dict[str, str] = {
3233
+ 'X-Task-Diagnostics': 'csv',
3076
3234
  }
3077
3235
 
3078
3236
  _path_params: Dict[str, str] = {}
@@ -3091,6 +3249,8 @@ class UploadsApi:
3091
3249
  # process the header parameters
3092
3250
  if content_range is not None:
3093
3251
  _header_params['Content-Range'] = content_range
3252
+ if x_task_diagnostics is not None:
3253
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
3094
3254
  # process the form parameters
3095
3255
  if file is not None:
3096
3256
  _files['file'] = file