pulp-python-client 3.16.0__py3-none-any.whl → 3.17.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 pulp-python-client might be problematic. Click here for more details.

@@ -57,6 +57,7 @@ class DistributionsPypiApi:
57
57
  self,
58
58
  python_python_distribution_href: StrictStr,
59
59
  nested_role: NestedRole,
60
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
60
61
  _request_timeout: Union[
61
62
  None,
62
63
  Annotated[StrictFloat, Field(gt=0)],
@@ -78,6 +79,8 @@ class DistributionsPypiApi:
78
79
  :type python_python_distribution_href: str
79
80
  :param nested_role: (required)
80
81
  :type nested_role: NestedRole
82
+ :param x_task_diagnostics: List of profilers to use on tasks.
83
+ :type x_task_diagnostics: List[str]
81
84
  :param _request_timeout: timeout setting for this request. If one
82
85
  number provided, it will be total request
83
86
  timeout. It can also be a pair (tuple) of
@@ -103,6 +106,7 @@ class DistributionsPypiApi:
103
106
  _param = self._add_role_serialize(
104
107
  python_python_distribution_href=python_python_distribution_href,
105
108
  nested_role=nested_role,
109
+ x_task_diagnostics=x_task_diagnostics,
106
110
  _request_auth=_request_auth,
107
111
  _content_type=_content_type,
108
112
  _headers=_headers,
@@ -128,6 +132,7 @@ class DistributionsPypiApi:
128
132
  self,
129
133
  python_python_distribution_href: StrictStr,
130
134
  nested_role: NestedRole,
135
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
131
136
  _request_timeout: Union[
132
137
  None,
133
138
  Annotated[StrictFloat, Field(gt=0)],
@@ -149,6 +154,8 @@ class DistributionsPypiApi:
149
154
  :type python_python_distribution_href: str
150
155
  :param nested_role: (required)
151
156
  :type nested_role: NestedRole
157
+ :param x_task_diagnostics: List of profilers to use on tasks.
158
+ :type x_task_diagnostics: List[str]
152
159
  :param _request_timeout: timeout setting for this request. If one
153
160
  number provided, it will be total request
154
161
  timeout. It can also be a pair (tuple) of
@@ -174,6 +181,7 @@ class DistributionsPypiApi:
174
181
  _param = self._add_role_serialize(
175
182
  python_python_distribution_href=python_python_distribution_href,
176
183
  nested_role=nested_role,
184
+ x_task_diagnostics=x_task_diagnostics,
177
185
  _request_auth=_request_auth,
178
186
  _content_type=_content_type,
179
187
  _headers=_headers,
@@ -199,6 +207,7 @@ class DistributionsPypiApi:
199
207
  self,
200
208
  python_python_distribution_href: StrictStr,
201
209
  nested_role: NestedRole,
210
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
202
211
  _request_timeout: Union[
203
212
  None,
204
213
  Annotated[StrictFloat, Field(gt=0)],
@@ -220,6 +229,8 @@ class DistributionsPypiApi:
220
229
  :type python_python_distribution_href: str
221
230
  :param nested_role: (required)
222
231
  :type nested_role: NestedRole
232
+ :param x_task_diagnostics: List of profilers to use on tasks.
233
+ :type x_task_diagnostics: List[str]
223
234
  :param _request_timeout: timeout setting for this request. If one
224
235
  number provided, it will be total request
225
236
  timeout. It can also be a pair (tuple) of
@@ -245,6 +256,7 @@ class DistributionsPypiApi:
245
256
  _param = self._add_role_serialize(
246
257
  python_python_distribution_href=python_python_distribution_href,
247
258
  nested_role=nested_role,
259
+ x_task_diagnostics=x_task_diagnostics,
248
260
  _request_auth=_request_auth,
249
261
  _content_type=_content_type,
250
262
  _headers=_headers,
@@ -265,6 +277,7 @@ class DistributionsPypiApi:
265
277
  self,
266
278
  python_python_distribution_href,
267
279
  nested_role,
280
+ x_task_diagnostics,
268
281
  _request_auth,
269
282
  _content_type,
270
283
  _headers,
@@ -274,6 +287,7 @@ class DistributionsPypiApi:
274
287
  _host = None
275
288
 
276
289
  _collection_formats: Dict[str, str] = {
290
+ 'X-Task-Diagnostics': 'csv',
277
291
  }
278
292
 
279
293
  _path_params: Dict[str, str] = {}
@@ -290,6 +304,8 @@ class DistributionsPypiApi:
290
304
  _path_params['python_python_distribution_href'] = python_python_distribution_href
291
305
  # process the query parameters
292
306
  # process the header parameters
307
+ if x_task_diagnostics is not None:
308
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
293
309
  # process the form parameters
294
310
  # process the body parameter
295
311
  if nested_role is not None:
@@ -348,6 +364,7 @@ class DistributionsPypiApi:
348
364
  def create(
349
365
  self,
350
366
  python_python_distribution: PythonPythonDistribution,
367
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
351
368
  _request_timeout: Union[
352
369
  None,
353
370
  Annotated[StrictFloat, Field(gt=0)],
@@ -367,6 +384,8 @@ class DistributionsPypiApi:
367
384
 
368
385
  :param python_python_distribution: (required)
369
386
  :type python_python_distribution: PythonPythonDistribution
387
+ :param x_task_diagnostics: List of profilers to use on tasks.
388
+ :type x_task_diagnostics: List[str]
370
389
  :param _request_timeout: timeout setting for this request. If one
371
390
  number provided, it will be total request
372
391
  timeout. It can also be a pair (tuple) of
@@ -391,6 +410,7 @@ class DistributionsPypiApi:
391
410
 
392
411
  _param = self._create_serialize(
393
412
  python_python_distribution=python_python_distribution,
413
+ x_task_diagnostics=x_task_diagnostics,
394
414
  _request_auth=_request_auth,
395
415
  _content_type=_content_type,
396
416
  _headers=_headers,
@@ -415,6 +435,7 @@ class DistributionsPypiApi:
415
435
  def create_with_http_info(
416
436
  self,
417
437
  python_python_distribution: PythonPythonDistribution,
438
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
418
439
  _request_timeout: Union[
419
440
  None,
420
441
  Annotated[StrictFloat, Field(gt=0)],
@@ -434,6 +455,8 @@ class DistributionsPypiApi:
434
455
 
435
456
  :param python_python_distribution: (required)
436
457
  :type python_python_distribution: PythonPythonDistribution
458
+ :param x_task_diagnostics: List of profilers to use on tasks.
459
+ :type x_task_diagnostics: List[str]
437
460
  :param _request_timeout: timeout setting for this request. If one
438
461
  number provided, it will be total request
439
462
  timeout. It can also be a pair (tuple) of
@@ -458,6 +481,7 @@ class DistributionsPypiApi:
458
481
 
459
482
  _param = self._create_serialize(
460
483
  python_python_distribution=python_python_distribution,
484
+ x_task_diagnostics=x_task_diagnostics,
461
485
  _request_auth=_request_auth,
462
486
  _content_type=_content_type,
463
487
  _headers=_headers,
@@ -482,6 +506,7 @@ class DistributionsPypiApi:
482
506
  def create_without_preload_content(
483
507
  self,
484
508
  python_python_distribution: PythonPythonDistribution,
509
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
485
510
  _request_timeout: Union[
486
511
  None,
487
512
  Annotated[StrictFloat, Field(gt=0)],
@@ -501,6 +526,8 @@ class DistributionsPypiApi:
501
526
 
502
527
  :param python_python_distribution: (required)
503
528
  :type python_python_distribution: PythonPythonDistribution
529
+ :param x_task_diagnostics: List of profilers to use on tasks.
530
+ :type x_task_diagnostics: List[str]
504
531
  :param _request_timeout: timeout setting for this request. If one
505
532
  number provided, it will be total request
506
533
  timeout. It can also be a pair (tuple) of
@@ -525,6 +552,7 @@ class DistributionsPypiApi:
525
552
 
526
553
  _param = self._create_serialize(
527
554
  python_python_distribution=python_python_distribution,
555
+ x_task_diagnostics=x_task_diagnostics,
528
556
  _request_auth=_request_auth,
529
557
  _content_type=_content_type,
530
558
  _headers=_headers,
@@ -544,6 +572,7 @@ class DistributionsPypiApi:
544
572
  def _create_serialize(
545
573
  self,
546
574
  python_python_distribution,
575
+ x_task_diagnostics,
547
576
  _request_auth,
548
577
  _content_type,
549
578
  _headers,
@@ -553,6 +582,7 @@ class DistributionsPypiApi:
553
582
  _host = None
554
583
 
555
584
  _collection_formats: Dict[str, str] = {
585
+ 'X-Task-Diagnostics': 'csv',
556
586
  }
557
587
 
558
588
  _path_params: Dict[str, str] = {}
@@ -567,6 +597,8 @@ class DistributionsPypiApi:
567
597
  # process the path parameters
568
598
  # process the query parameters
569
599
  # process the header parameters
600
+ if x_task_diagnostics is not None:
601
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
570
602
  # process the form parameters
571
603
  # process the body parameter
572
604
  if python_python_distribution is not None:
@@ -625,6 +657,7 @@ class DistributionsPypiApi:
625
657
  def delete(
626
658
  self,
627
659
  python_python_distribution_href: StrictStr,
660
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
628
661
  _request_timeout: Union[
629
662
  None,
630
663
  Annotated[StrictFloat, Field(gt=0)],
@@ -644,6 +677,8 @@ class DistributionsPypiApi:
644
677
 
645
678
  :param python_python_distribution_href: (required)
646
679
  :type python_python_distribution_href: str
680
+ :param x_task_diagnostics: List of profilers to use on tasks.
681
+ :type x_task_diagnostics: List[str]
647
682
  :param _request_timeout: timeout setting for this request. If one
648
683
  number provided, it will be total request
649
684
  timeout. It can also be a pair (tuple) of
@@ -668,6 +703,7 @@ class DistributionsPypiApi:
668
703
 
669
704
  _param = self._delete_serialize(
670
705
  python_python_distribution_href=python_python_distribution_href,
706
+ x_task_diagnostics=x_task_diagnostics,
671
707
  _request_auth=_request_auth,
672
708
  _content_type=_content_type,
673
709
  _headers=_headers,
@@ -692,6 +728,7 @@ class DistributionsPypiApi:
692
728
  def delete_with_http_info(
693
729
  self,
694
730
  python_python_distribution_href: StrictStr,
731
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
695
732
  _request_timeout: Union[
696
733
  None,
697
734
  Annotated[StrictFloat, Field(gt=0)],
@@ -711,6 +748,8 @@ class DistributionsPypiApi:
711
748
 
712
749
  :param python_python_distribution_href: (required)
713
750
  :type python_python_distribution_href: str
751
+ :param x_task_diagnostics: List of profilers to use on tasks.
752
+ :type x_task_diagnostics: List[str]
714
753
  :param _request_timeout: timeout setting for this request. If one
715
754
  number provided, it will be total request
716
755
  timeout. It can also be a pair (tuple) of
@@ -735,6 +774,7 @@ class DistributionsPypiApi:
735
774
 
736
775
  _param = self._delete_serialize(
737
776
  python_python_distribution_href=python_python_distribution_href,
777
+ x_task_diagnostics=x_task_diagnostics,
738
778
  _request_auth=_request_auth,
739
779
  _content_type=_content_type,
740
780
  _headers=_headers,
@@ -759,6 +799,7 @@ class DistributionsPypiApi:
759
799
  def delete_without_preload_content(
760
800
  self,
761
801
  python_python_distribution_href: StrictStr,
802
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
762
803
  _request_timeout: Union[
763
804
  None,
764
805
  Annotated[StrictFloat, Field(gt=0)],
@@ -778,6 +819,8 @@ class DistributionsPypiApi:
778
819
 
779
820
  :param python_python_distribution_href: (required)
780
821
  :type python_python_distribution_href: str
822
+ :param x_task_diagnostics: List of profilers to use on tasks.
823
+ :type x_task_diagnostics: List[str]
781
824
  :param _request_timeout: timeout setting for this request. If one
782
825
  number provided, it will be total request
783
826
  timeout. It can also be a pair (tuple) of
@@ -802,6 +845,7 @@ class DistributionsPypiApi:
802
845
 
803
846
  _param = self._delete_serialize(
804
847
  python_python_distribution_href=python_python_distribution_href,
848
+ x_task_diagnostics=x_task_diagnostics,
805
849
  _request_auth=_request_auth,
806
850
  _content_type=_content_type,
807
851
  _headers=_headers,
@@ -821,6 +865,7 @@ class DistributionsPypiApi:
821
865
  def _delete_serialize(
822
866
  self,
823
867
  python_python_distribution_href,
868
+ x_task_diagnostics,
824
869
  _request_auth,
825
870
  _content_type,
826
871
  _headers,
@@ -830,6 +875,7 @@ class DistributionsPypiApi:
830
875
  _host = None
831
876
 
832
877
  _collection_formats: Dict[str, str] = {
878
+ 'X-Task-Diagnostics': 'csv',
833
879
  }
834
880
 
835
881
  _path_params: Dict[str, str] = {}
@@ -846,6 +892,8 @@ class DistributionsPypiApi:
846
892
  _path_params['python_python_distribution_href'] = python_python_distribution_href
847
893
  # process the query parameters
848
894
  # process the header parameters
895
+ if x_task_diagnostics is not None:
896
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
849
897
  # process the form parameters
850
898
  # process the body parameter
851
899
 
@@ -886,6 +934,7 @@ class DistributionsPypiApi:
886
934
  @validate_call
887
935
  def list(
888
936
  self,
937
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
889
938
  base_path: Annotated[Optional[StrictStr], Field(description="Filter results where base_path matches value")] = None,
890
939
  base_path__contains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
891
940
  base_path__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
@@ -930,6 +979,8 @@ class DistributionsPypiApi:
930
979
 
931
980
  Pulp Python Distributions are used to distribute Python content from Python Repositories or Python Publications. Pulp Python Distributions should not be confused with \"Python Distribution\" as defined by the Python community. In Pulp usage, Python content is referred to as Python Package Content.
932
981
 
982
+ :param x_task_diagnostics: List of profilers to use on tasks.
983
+ :type x_task_diagnostics: List[str]
933
984
  :param base_path: Filter results where base_path matches value
934
985
  :type base_path: str
935
986
  :param base_path__contains: Filter results where base_path contains value
@@ -1007,6 +1058,7 @@ class DistributionsPypiApi:
1007
1058
  """ # noqa: E501
1008
1059
 
1009
1060
  _param = self._list_serialize(
1061
+ x_task_diagnostics=x_task_diagnostics,
1010
1062
  base_path=base_path,
1011
1063
  base_path__contains=base_path__contains,
1012
1064
  base_path__icontains=base_path__icontains,
@@ -1057,6 +1109,7 @@ class DistributionsPypiApi:
1057
1109
  @validate_call
1058
1110
  def list_with_http_info(
1059
1111
  self,
1112
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1060
1113
  base_path: Annotated[Optional[StrictStr], Field(description="Filter results where base_path matches value")] = None,
1061
1114
  base_path__contains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
1062
1115
  base_path__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
@@ -1101,6 +1154,8 @@ class DistributionsPypiApi:
1101
1154
 
1102
1155
  Pulp Python Distributions are used to distribute Python content from Python Repositories or Python Publications. Pulp Python Distributions should not be confused with \"Python Distribution\" as defined by the Python community. In Pulp usage, Python content is referred to as Python Package Content.
1103
1156
 
1157
+ :param x_task_diagnostics: List of profilers to use on tasks.
1158
+ :type x_task_diagnostics: List[str]
1104
1159
  :param base_path: Filter results where base_path matches value
1105
1160
  :type base_path: str
1106
1161
  :param base_path__contains: Filter results where base_path contains value
@@ -1178,6 +1233,7 @@ class DistributionsPypiApi:
1178
1233
  """ # noqa: E501
1179
1234
 
1180
1235
  _param = self._list_serialize(
1236
+ x_task_diagnostics=x_task_diagnostics,
1181
1237
  base_path=base_path,
1182
1238
  base_path__contains=base_path__contains,
1183
1239
  base_path__icontains=base_path__icontains,
@@ -1228,6 +1284,7 @@ class DistributionsPypiApi:
1228
1284
  @validate_call
1229
1285
  def list_without_preload_content(
1230
1286
  self,
1287
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1231
1288
  base_path: Annotated[Optional[StrictStr], Field(description="Filter results where base_path matches value")] = None,
1232
1289
  base_path__contains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
1233
1290
  base_path__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
@@ -1272,6 +1329,8 @@ class DistributionsPypiApi:
1272
1329
 
1273
1330
  Pulp Python Distributions are used to distribute Python content from Python Repositories or Python Publications. Pulp Python Distributions should not be confused with \"Python Distribution\" as defined by the Python community. In Pulp usage, Python content is referred to as Python Package Content.
1274
1331
 
1332
+ :param x_task_diagnostics: List of profilers to use on tasks.
1333
+ :type x_task_diagnostics: List[str]
1275
1334
  :param base_path: Filter results where base_path matches value
1276
1335
  :type base_path: str
1277
1336
  :param base_path__contains: Filter results where base_path contains value
@@ -1349,6 +1408,7 @@ class DistributionsPypiApi:
1349
1408
  """ # noqa: E501
1350
1409
 
1351
1410
  _param = self._list_serialize(
1411
+ x_task_diagnostics=x_task_diagnostics,
1352
1412
  base_path=base_path,
1353
1413
  base_path__contains=base_path__contains,
1354
1414
  base_path__icontains=base_path__icontains,
@@ -1394,6 +1454,7 @@ class DistributionsPypiApi:
1394
1454
 
1395
1455
  def _list_serialize(
1396
1456
  self,
1457
+ x_task_diagnostics,
1397
1458
  base_path,
1398
1459
  base_path__contains,
1399
1460
  base_path__icontains,
@@ -1430,6 +1491,7 @@ class DistributionsPypiApi:
1430
1491
  _host = None
1431
1492
 
1432
1493
  _collection_formats: Dict[str, str] = {
1494
+ 'X-Task-Diagnostics': 'csv',
1433
1495
  'base_path__in': 'csv',
1434
1496
  'name__in': 'csv',
1435
1497
  'ordering': 'csv',
@@ -1561,6 +1623,8 @@ class DistributionsPypiApi:
1561
1623
  _query_params.append(('exclude_fields', exclude_fields))
1562
1624
 
1563
1625
  # process the header parameters
1626
+ if x_task_diagnostics is not None:
1627
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1564
1628
  # process the form parameters
1565
1629
  # process the body parameter
1566
1630
 
@@ -1602,6 +1666,7 @@ class DistributionsPypiApi:
1602
1666
  def list_roles(
1603
1667
  self,
1604
1668
  python_python_distribution_href: StrictStr,
1669
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1605
1670
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1606
1671
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1607
1672
  _request_timeout: Union[
@@ -1623,6 +1688,8 @@ class DistributionsPypiApi:
1623
1688
 
1624
1689
  :param python_python_distribution_href: (required)
1625
1690
  :type python_python_distribution_href: str
1691
+ :param x_task_diagnostics: List of profilers to use on tasks.
1692
+ :type x_task_diagnostics: List[str]
1626
1693
  :param fields: A list of fields to include in the response.
1627
1694
  :type fields: List[str]
1628
1695
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1651,6 +1718,7 @@ class DistributionsPypiApi:
1651
1718
 
1652
1719
  _param = self._list_roles_serialize(
1653
1720
  python_python_distribution_href=python_python_distribution_href,
1721
+ x_task_diagnostics=x_task_diagnostics,
1654
1722
  fields=fields,
1655
1723
  exclude_fields=exclude_fields,
1656
1724
  _request_auth=_request_auth,
@@ -1677,6 +1745,7 @@ class DistributionsPypiApi:
1677
1745
  def list_roles_with_http_info(
1678
1746
  self,
1679
1747
  python_python_distribution_href: StrictStr,
1748
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1680
1749
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1681
1750
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1682
1751
  _request_timeout: Union[
@@ -1698,6 +1767,8 @@ class DistributionsPypiApi:
1698
1767
 
1699
1768
  :param python_python_distribution_href: (required)
1700
1769
  :type python_python_distribution_href: str
1770
+ :param x_task_diagnostics: List of profilers to use on tasks.
1771
+ :type x_task_diagnostics: List[str]
1701
1772
  :param fields: A list of fields to include in the response.
1702
1773
  :type fields: List[str]
1703
1774
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1726,6 +1797,7 @@ class DistributionsPypiApi:
1726
1797
 
1727
1798
  _param = self._list_roles_serialize(
1728
1799
  python_python_distribution_href=python_python_distribution_href,
1800
+ x_task_diagnostics=x_task_diagnostics,
1729
1801
  fields=fields,
1730
1802
  exclude_fields=exclude_fields,
1731
1803
  _request_auth=_request_auth,
@@ -1752,6 +1824,7 @@ class DistributionsPypiApi:
1752
1824
  def list_roles_without_preload_content(
1753
1825
  self,
1754
1826
  python_python_distribution_href: StrictStr,
1827
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1755
1828
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1756
1829
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1757
1830
  _request_timeout: Union[
@@ -1773,6 +1846,8 @@ class DistributionsPypiApi:
1773
1846
 
1774
1847
  :param python_python_distribution_href: (required)
1775
1848
  :type python_python_distribution_href: str
1849
+ :param x_task_diagnostics: List of profilers to use on tasks.
1850
+ :type x_task_diagnostics: List[str]
1776
1851
  :param fields: A list of fields to include in the response.
1777
1852
  :type fields: List[str]
1778
1853
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1801,6 +1876,7 @@ class DistributionsPypiApi:
1801
1876
 
1802
1877
  _param = self._list_roles_serialize(
1803
1878
  python_python_distribution_href=python_python_distribution_href,
1879
+ x_task_diagnostics=x_task_diagnostics,
1804
1880
  fields=fields,
1805
1881
  exclude_fields=exclude_fields,
1806
1882
  _request_auth=_request_auth,
@@ -1822,6 +1898,7 @@ class DistributionsPypiApi:
1822
1898
  def _list_roles_serialize(
1823
1899
  self,
1824
1900
  python_python_distribution_href,
1901
+ x_task_diagnostics,
1825
1902
  fields,
1826
1903
  exclude_fields,
1827
1904
  _request_auth,
@@ -1833,6 +1910,7 @@ class DistributionsPypiApi:
1833
1910
  _host = None
1834
1911
 
1835
1912
  _collection_formats: Dict[str, str] = {
1913
+ 'X-Task-Diagnostics': 'csv',
1836
1914
  'fields': 'multi',
1837
1915
  'exclude_fields': 'multi',
1838
1916
  }
@@ -1859,6 +1937,8 @@ class DistributionsPypiApi:
1859
1937
  _query_params.append(('exclude_fields', exclude_fields))
1860
1938
 
1861
1939
  # process the header parameters
1940
+ if x_task_diagnostics is not None:
1941
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1862
1942
  # process the form parameters
1863
1943
  # process the body parameter
1864
1944
 
@@ -1900,6 +1980,7 @@ class DistributionsPypiApi:
1900
1980
  def my_permissions(
1901
1981
  self,
1902
1982
  python_python_distribution_href: StrictStr,
1983
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1903
1984
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1904
1985
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1905
1986
  _request_timeout: Union[
@@ -1921,6 +2002,8 @@ class DistributionsPypiApi:
1921
2002
 
1922
2003
  :param python_python_distribution_href: (required)
1923
2004
  :type python_python_distribution_href: str
2005
+ :param x_task_diagnostics: List of profilers to use on tasks.
2006
+ :type x_task_diagnostics: List[str]
1924
2007
  :param fields: A list of fields to include in the response.
1925
2008
  :type fields: List[str]
1926
2009
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1949,6 +2032,7 @@ class DistributionsPypiApi:
1949
2032
 
1950
2033
  _param = self._my_permissions_serialize(
1951
2034
  python_python_distribution_href=python_python_distribution_href,
2035
+ x_task_diagnostics=x_task_diagnostics,
1952
2036
  fields=fields,
1953
2037
  exclude_fields=exclude_fields,
1954
2038
  _request_auth=_request_auth,
@@ -1975,6 +2059,7 @@ class DistributionsPypiApi:
1975
2059
  def my_permissions_with_http_info(
1976
2060
  self,
1977
2061
  python_python_distribution_href: StrictStr,
2062
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1978
2063
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1979
2064
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1980
2065
  _request_timeout: Union[
@@ -1996,6 +2081,8 @@ class DistributionsPypiApi:
1996
2081
 
1997
2082
  :param python_python_distribution_href: (required)
1998
2083
  :type python_python_distribution_href: str
2084
+ :param x_task_diagnostics: List of profilers to use on tasks.
2085
+ :type x_task_diagnostics: List[str]
1999
2086
  :param fields: A list of fields to include in the response.
2000
2087
  :type fields: List[str]
2001
2088
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2024,6 +2111,7 @@ class DistributionsPypiApi:
2024
2111
 
2025
2112
  _param = self._my_permissions_serialize(
2026
2113
  python_python_distribution_href=python_python_distribution_href,
2114
+ x_task_diagnostics=x_task_diagnostics,
2027
2115
  fields=fields,
2028
2116
  exclude_fields=exclude_fields,
2029
2117
  _request_auth=_request_auth,
@@ -2050,6 +2138,7 @@ class DistributionsPypiApi:
2050
2138
  def my_permissions_without_preload_content(
2051
2139
  self,
2052
2140
  python_python_distribution_href: StrictStr,
2141
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2053
2142
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2054
2143
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2055
2144
  _request_timeout: Union[
@@ -2071,6 +2160,8 @@ class DistributionsPypiApi:
2071
2160
 
2072
2161
  :param python_python_distribution_href: (required)
2073
2162
  :type python_python_distribution_href: str
2163
+ :param x_task_diagnostics: List of profilers to use on tasks.
2164
+ :type x_task_diagnostics: List[str]
2074
2165
  :param fields: A list of fields to include in the response.
2075
2166
  :type fields: List[str]
2076
2167
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2099,6 +2190,7 @@ class DistributionsPypiApi:
2099
2190
 
2100
2191
  _param = self._my_permissions_serialize(
2101
2192
  python_python_distribution_href=python_python_distribution_href,
2193
+ x_task_diagnostics=x_task_diagnostics,
2102
2194
  fields=fields,
2103
2195
  exclude_fields=exclude_fields,
2104
2196
  _request_auth=_request_auth,
@@ -2120,6 +2212,7 @@ class DistributionsPypiApi:
2120
2212
  def _my_permissions_serialize(
2121
2213
  self,
2122
2214
  python_python_distribution_href,
2215
+ x_task_diagnostics,
2123
2216
  fields,
2124
2217
  exclude_fields,
2125
2218
  _request_auth,
@@ -2131,6 +2224,7 @@ class DistributionsPypiApi:
2131
2224
  _host = None
2132
2225
 
2133
2226
  _collection_formats: Dict[str, str] = {
2227
+ 'X-Task-Diagnostics': 'csv',
2134
2228
  'fields': 'multi',
2135
2229
  'exclude_fields': 'multi',
2136
2230
  }
@@ -2157,6 +2251,8 @@ class DistributionsPypiApi:
2157
2251
  _query_params.append(('exclude_fields', exclude_fields))
2158
2252
 
2159
2253
  # process the header parameters
2254
+ if x_task_diagnostics is not None:
2255
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2160
2256
  # process the form parameters
2161
2257
  # process the body parameter
2162
2258
 
@@ -2199,6 +2295,7 @@ class DistributionsPypiApi:
2199
2295
  self,
2200
2296
  python_python_distribution_href: StrictStr,
2201
2297
  patchedpython_python_distribution: PatchedpythonPythonDistribution,
2298
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2202
2299
  _request_timeout: Union[
2203
2300
  None,
2204
2301
  Annotated[StrictFloat, Field(gt=0)],
@@ -2220,6 +2317,8 @@ class DistributionsPypiApi:
2220
2317
  :type python_python_distribution_href: str
2221
2318
  :param patchedpython_python_distribution: (required)
2222
2319
  :type patchedpython_python_distribution: PatchedpythonPythonDistribution
2320
+ :param x_task_diagnostics: List of profilers to use on tasks.
2321
+ :type x_task_diagnostics: List[str]
2223
2322
  :param _request_timeout: timeout setting for this request. If one
2224
2323
  number provided, it will be total request
2225
2324
  timeout. It can also be a pair (tuple) of
@@ -2245,6 +2344,7 @@ class DistributionsPypiApi:
2245
2344
  _param = self._partial_update_serialize(
2246
2345
  python_python_distribution_href=python_python_distribution_href,
2247
2346
  patchedpython_python_distribution=patchedpython_python_distribution,
2347
+ x_task_diagnostics=x_task_diagnostics,
2248
2348
  _request_auth=_request_auth,
2249
2349
  _content_type=_content_type,
2250
2350
  _headers=_headers,
@@ -2270,6 +2370,7 @@ class DistributionsPypiApi:
2270
2370
  self,
2271
2371
  python_python_distribution_href: StrictStr,
2272
2372
  patchedpython_python_distribution: PatchedpythonPythonDistribution,
2373
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2273
2374
  _request_timeout: Union[
2274
2375
  None,
2275
2376
  Annotated[StrictFloat, Field(gt=0)],
@@ -2291,6 +2392,8 @@ class DistributionsPypiApi:
2291
2392
  :type python_python_distribution_href: str
2292
2393
  :param patchedpython_python_distribution: (required)
2293
2394
  :type patchedpython_python_distribution: PatchedpythonPythonDistribution
2395
+ :param x_task_diagnostics: List of profilers to use on tasks.
2396
+ :type x_task_diagnostics: List[str]
2294
2397
  :param _request_timeout: timeout setting for this request. If one
2295
2398
  number provided, it will be total request
2296
2399
  timeout. It can also be a pair (tuple) of
@@ -2316,6 +2419,7 @@ class DistributionsPypiApi:
2316
2419
  _param = self._partial_update_serialize(
2317
2420
  python_python_distribution_href=python_python_distribution_href,
2318
2421
  patchedpython_python_distribution=patchedpython_python_distribution,
2422
+ x_task_diagnostics=x_task_diagnostics,
2319
2423
  _request_auth=_request_auth,
2320
2424
  _content_type=_content_type,
2321
2425
  _headers=_headers,
@@ -2341,6 +2445,7 @@ class DistributionsPypiApi:
2341
2445
  self,
2342
2446
  python_python_distribution_href: StrictStr,
2343
2447
  patchedpython_python_distribution: PatchedpythonPythonDistribution,
2448
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2344
2449
  _request_timeout: Union[
2345
2450
  None,
2346
2451
  Annotated[StrictFloat, Field(gt=0)],
@@ -2362,6 +2467,8 @@ class DistributionsPypiApi:
2362
2467
  :type python_python_distribution_href: str
2363
2468
  :param patchedpython_python_distribution: (required)
2364
2469
  :type patchedpython_python_distribution: PatchedpythonPythonDistribution
2470
+ :param x_task_diagnostics: List of profilers to use on tasks.
2471
+ :type x_task_diagnostics: List[str]
2365
2472
  :param _request_timeout: timeout setting for this request. If one
2366
2473
  number provided, it will be total request
2367
2474
  timeout. It can also be a pair (tuple) of
@@ -2387,6 +2494,7 @@ class DistributionsPypiApi:
2387
2494
  _param = self._partial_update_serialize(
2388
2495
  python_python_distribution_href=python_python_distribution_href,
2389
2496
  patchedpython_python_distribution=patchedpython_python_distribution,
2497
+ x_task_diagnostics=x_task_diagnostics,
2390
2498
  _request_auth=_request_auth,
2391
2499
  _content_type=_content_type,
2392
2500
  _headers=_headers,
@@ -2407,6 +2515,7 @@ class DistributionsPypiApi:
2407
2515
  self,
2408
2516
  python_python_distribution_href,
2409
2517
  patchedpython_python_distribution,
2518
+ x_task_diagnostics,
2410
2519
  _request_auth,
2411
2520
  _content_type,
2412
2521
  _headers,
@@ -2416,6 +2525,7 @@ class DistributionsPypiApi:
2416
2525
  _host = None
2417
2526
 
2418
2527
  _collection_formats: Dict[str, str] = {
2528
+ 'X-Task-Diagnostics': 'csv',
2419
2529
  }
2420
2530
 
2421
2531
  _path_params: Dict[str, str] = {}
@@ -2432,6 +2542,8 @@ class DistributionsPypiApi:
2432
2542
  _path_params['python_python_distribution_href'] = python_python_distribution_href
2433
2543
  # process the query parameters
2434
2544
  # process the header parameters
2545
+ if x_task_diagnostics is not None:
2546
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2435
2547
  # process the form parameters
2436
2548
  # process the body parameter
2437
2549
  if patchedpython_python_distribution is not None:
@@ -2490,6 +2602,7 @@ class DistributionsPypiApi:
2490
2602
  def read(
2491
2603
  self,
2492
2604
  python_python_distribution_href: StrictStr,
2605
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2493
2606
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2494
2607
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2495
2608
  _request_timeout: Union[
@@ -2511,6 +2624,8 @@ class DistributionsPypiApi:
2511
2624
 
2512
2625
  :param python_python_distribution_href: (required)
2513
2626
  :type python_python_distribution_href: str
2627
+ :param x_task_diagnostics: List of profilers to use on tasks.
2628
+ :type x_task_diagnostics: List[str]
2514
2629
  :param fields: A list of fields to include in the response.
2515
2630
  :type fields: List[str]
2516
2631
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2539,6 +2654,7 @@ class DistributionsPypiApi:
2539
2654
 
2540
2655
  _param = self._read_serialize(
2541
2656
  python_python_distribution_href=python_python_distribution_href,
2657
+ x_task_diagnostics=x_task_diagnostics,
2542
2658
  fields=fields,
2543
2659
  exclude_fields=exclude_fields,
2544
2660
  _request_auth=_request_auth,
@@ -2565,6 +2681,7 @@ class DistributionsPypiApi:
2565
2681
  def read_with_http_info(
2566
2682
  self,
2567
2683
  python_python_distribution_href: StrictStr,
2684
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2568
2685
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2569
2686
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2570
2687
  _request_timeout: Union[
@@ -2586,6 +2703,8 @@ class DistributionsPypiApi:
2586
2703
 
2587
2704
  :param python_python_distribution_href: (required)
2588
2705
  :type python_python_distribution_href: str
2706
+ :param x_task_diagnostics: List of profilers to use on tasks.
2707
+ :type x_task_diagnostics: List[str]
2589
2708
  :param fields: A list of fields to include in the response.
2590
2709
  :type fields: List[str]
2591
2710
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2614,6 +2733,7 @@ class DistributionsPypiApi:
2614
2733
 
2615
2734
  _param = self._read_serialize(
2616
2735
  python_python_distribution_href=python_python_distribution_href,
2736
+ x_task_diagnostics=x_task_diagnostics,
2617
2737
  fields=fields,
2618
2738
  exclude_fields=exclude_fields,
2619
2739
  _request_auth=_request_auth,
@@ -2640,6 +2760,7 @@ class DistributionsPypiApi:
2640
2760
  def read_without_preload_content(
2641
2761
  self,
2642
2762
  python_python_distribution_href: StrictStr,
2763
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2643
2764
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2644
2765
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2645
2766
  _request_timeout: Union[
@@ -2661,6 +2782,8 @@ class DistributionsPypiApi:
2661
2782
 
2662
2783
  :param python_python_distribution_href: (required)
2663
2784
  :type python_python_distribution_href: str
2785
+ :param x_task_diagnostics: List of profilers to use on tasks.
2786
+ :type x_task_diagnostics: List[str]
2664
2787
  :param fields: A list of fields to include in the response.
2665
2788
  :type fields: List[str]
2666
2789
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2689,6 +2812,7 @@ class DistributionsPypiApi:
2689
2812
 
2690
2813
  _param = self._read_serialize(
2691
2814
  python_python_distribution_href=python_python_distribution_href,
2815
+ x_task_diagnostics=x_task_diagnostics,
2692
2816
  fields=fields,
2693
2817
  exclude_fields=exclude_fields,
2694
2818
  _request_auth=_request_auth,
@@ -2710,6 +2834,7 @@ class DistributionsPypiApi:
2710
2834
  def _read_serialize(
2711
2835
  self,
2712
2836
  python_python_distribution_href,
2837
+ x_task_diagnostics,
2713
2838
  fields,
2714
2839
  exclude_fields,
2715
2840
  _request_auth,
@@ -2721,6 +2846,7 @@ class DistributionsPypiApi:
2721
2846
  _host = None
2722
2847
 
2723
2848
  _collection_formats: Dict[str, str] = {
2849
+ 'X-Task-Diagnostics': 'csv',
2724
2850
  'fields': 'multi',
2725
2851
  'exclude_fields': 'multi',
2726
2852
  }
@@ -2747,6 +2873,8 @@ class DistributionsPypiApi:
2747
2873
  _query_params.append(('exclude_fields', exclude_fields))
2748
2874
 
2749
2875
  # process the header parameters
2876
+ if x_task_diagnostics is not None:
2877
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2750
2878
  # process the form parameters
2751
2879
  # process the body parameter
2752
2880
 
@@ -2789,6 +2917,7 @@ class DistributionsPypiApi:
2789
2917
  self,
2790
2918
  python_python_distribution_href: StrictStr,
2791
2919
  nested_role: NestedRole,
2920
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2792
2921
  _request_timeout: Union[
2793
2922
  None,
2794
2923
  Annotated[StrictFloat, Field(gt=0)],
@@ -2810,6 +2939,8 @@ class DistributionsPypiApi:
2810
2939
  :type python_python_distribution_href: str
2811
2940
  :param nested_role: (required)
2812
2941
  :type nested_role: NestedRole
2942
+ :param x_task_diagnostics: List of profilers to use on tasks.
2943
+ :type x_task_diagnostics: List[str]
2813
2944
  :param _request_timeout: timeout setting for this request. If one
2814
2945
  number provided, it will be total request
2815
2946
  timeout. It can also be a pair (tuple) of
@@ -2835,6 +2966,7 @@ class DistributionsPypiApi:
2835
2966
  _param = self._remove_role_serialize(
2836
2967
  python_python_distribution_href=python_python_distribution_href,
2837
2968
  nested_role=nested_role,
2969
+ x_task_diagnostics=x_task_diagnostics,
2838
2970
  _request_auth=_request_auth,
2839
2971
  _content_type=_content_type,
2840
2972
  _headers=_headers,
@@ -2860,6 +2992,7 @@ class DistributionsPypiApi:
2860
2992
  self,
2861
2993
  python_python_distribution_href: StrictStr,
2862
2994
  nested_role: NestedRole,
2995
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2863
2996
  _request_timeout: Union[
2864
2997
  None,
2865
2998
  Annotated[StrictFloat, Field(gt=0)],
@@ -2881,6 +3014,8 @@ class DistributionsPypiApi:
2881
3014
  :type python_python_distribution_href: str
2882
3015
  :param nested_role: (required)
2883
3016
  :type nested_role: NestedRole
3017
+ :param x_task_diagnostics: List of profilers to use on tasks.
3018
+ :type x_task_diagnostics: List[str]
2884
3019
  :param _request_timeout: timeout setting for this request. If one
2885
3020
  number provided, it will be total request
2886
3021
  timeout. It can also be a pair (tuple) of
@@ -2906,6 +3041,7 @@ class DistributionsPypiApi:
2906
3041
  _param = self._remove_role_serialize(
2907
3042
  python_python_distribution_href=python_python_distribution_href,
2908
3043
  nested_role=nested_role,
3044
+ x_task_diagnostics=x_task_diagnostics,
2909
3045
  _request_auth=_request_auth,
2910
3046
  _content_type=_content_type,
2911
3047
  _headers=_headers,
@@ -2931,6 +3067,7 @@ class DistributionsPypiApi:
2931
3067
  self,
2932
3068
  python_python_distribution_href: StrictStr,
2933
3069
  nested_role: NestedRole,
3070
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2934
3071
  _request_timeout: Union[
2935
3072
  None,
2936
3073
  Annotated[StrictFloat, Field(gt=0)],
@@ -2952,6 +3089,8 @@ class DistributionsPypiApi:
2952
3089
  :type python_python_distribution_href: str
2953
3090
  :param nested_role: (required)
2954
3091
  :type nested_role: NestedRole
3092
+ :param x_task_diagnostics: List of profilers to use on tasks.
3093
+ :type x_task_diagnostics: List[str]
2955
3094
  :param _request_timeout: timeout setting for this request. If one
2956
3095
  number provided, it will be total request
2957
3096
  timeout. It can also be a pair (tuple) of
@@ -2977,6 +3116,7 @@ class DistributionsPypiApi:
2977
3116
  _param = self._remove_role_serialize(
2978
3117
  python_python_distribution_href=python_python_distribution_href,
2979
3118
  nested_role=nested_role,
3119
+ x_task_diagnostics=x_task_diagnostics,
2980
3120
  _request_auth=_request_auth,
2981
3121
  _content_type=_content_type,
2982
3122
  _headers=_headers,
@@ -2997,6 +3137,7 @@ class DistributionsPypiApi:
2997
3137
  self,
2998
3138
  python_python_distribution_href,
2999
3139
  nested_role,
3140
+ x_task_diagnostics,
3000
3141
  _request_auth,
3001
3142
  _content_type,
3002
3143
  _headers,
@@ -3006,6 +3147,7 @@ class DistributionsPypiApi:
3006
3147
  _host = None
3007
3148
 
3008
3149
  _collection_formats: Dict[str, str] = {
3150
+ 'X-Task-Diagnostics': 'csv',
3009
3151
  }
3010
3152
 
3011
3153
  _path_params: Dict[str, str] = {}
@@ -3022,6 +3164,8 @@ class DistributionsPypiApi:
3022
3164
  _path_params['python_python_distribution_href'] = python_python_distribution_href
3023
3165
  # process the query parameters
3024
3166
  # process the header parameters
3167
+ if x_task_diagnostics is not None:
3168
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
3025
3169
  # process the form parameters
3026
3170
  # process the body parameter
3027
3171
  if nested_role is not None:
@@ -3081,6 +3225,7 @@ class DistributionsPypiApi:
3081
3225
  self,
3082
3226
  python_python_distribution_href: StrictStr,
3083
3227
  set_label: SetLabel,
3228
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3084
3229
  _request_timeout: Union[
3085
3230
  None,
3086
3231
  Annotated[StrictFloat, Field(gt=0)],
@@ -3102,6 +3247,8 @@ class DistributionsPypiApi:
3102
3247
  :type python_python_distribution_href: str
3103
3248
  :param set_label: (required)
3104
3249
  :type set_label: SetLabel
3250
+ :param x_task_diagnostics: List of profilers to use on tasks.
3251
+ :type x_task_diagnostics: List[str]
3105
3252
  :param _request_timeout: timeout setting for this request. If one
3106
3253
  number provided, it will be total request
3107
3254
  timeout. It can also be a pair (tuple) of
@@ -3127,6 +3274,7 @@ class DistributionsPypiApi:
3127
3274
  _param = self._set_label_serialize(
3128
3275
  python_python_distribution_href=python_python_distribution_href,
3129
3276
  set_label=set_label,
3277
+ x_task_diagnostics=x_task_diagnostics,
3130
3278
  _request_auth=_request_auth,
3131
3279
  _content_type=_content_type,
3132
3280
  _headers=_headers,
@@ -3152,6 +3300,7 @@ class DistributionsPypiApi:
3152
3300
  self,
3153
3301
  python_python_distribution_href: StrictStr,
3154
3302
  set_label: SetLabel,
3303
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3155
3304
  _request_timeout: Union[
3156
3305
  None,
3157
3306
  Annotated[StrictFloat, Field(gt=0)],
@@ -3173,6 +3322,8 @@ class DistributionsPypiApi:
3173
3322
  :type python_python_distribution_href: str
3174
3323
  :param set_label: (required)
3175
3324
  :type set_label: SetLabel
3325
+ :param x_task_diagnostics: List of profilers to use on tasks.
3326
+ :type x_task_diagnostics: List[str]
3176
3327
  :param _request_timeout: timeout setting for this request. If one
3177
3328
  number provided, it will be total request
3178
3329
  timeout. It can also be a pair (tuple) of
@@ -3198,6 +3349,7 @@ class DistributionsPypiApi:
3198
3349
  _param = self._set_label_serialize(
3199
3350
  python_python_distribution_href=python_python_distribution_href,
3200
3351
  set_label=set_label,
3352
+ x_task_diagnostics=x_task_diagnostics,
3201
3353
  _request_auth=_request_auth,
3202
3354
  _content_type=_content_type,
3203
3355
  _headers=_headers,
@@ -3223,6 +3375,7 @@ class DistributionsPypiApi:
3223
3375
  self,
3224
3376
  python_python_distribution_href: StrictStr,
3225
3377
  set_label: SetLabel,
3378
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3226
3379
  _request_timeout: Union[
3227
3380
  None,
3228
3381
  Annotated[StrictFloat, Field(gt=0)],
@@ -3244,6 +3397,8 @@ class DistributionsPypiApi:
3244
3397
  :type python_python_distribution_href: str
3245
3398
  :param set_label: (required)
3246
3399
  :type set_label: SetLabel
3400
+ :param x_task_diagnostics: List of profilers to use on tasks.
3401
+ :type x_task_diagnostics: List[str]
3247
3402
  :param _request_timeout: timeout setting for this request. If one
3248
3403
  number provided, it will be total request
3249
3404
  timeout. It can also be a pair (tuple) of
@@ -3269,6 +3424,7 @@ class DistributionsPypiApi:
3269
3424
  _param = self._set_label_serialize(
3270
3425
  python_python_distribution_href=python_python_distribution_href,
3271
3426
  set_label=set_label,
3427
+ x_task_diagnostics=x_task_diagnostics,
3272
3428
  _request_auth=_request_auth,
3273
3429
  _content_type=_content_type,
3274
3430
  _headers=_headers,
@@ -3289,6 +3445,7 @@ class DistributionsPypiApi:
3289
3445
  self,
3290
3446
  python_python_distribution_href,
3291
3447
  set_label,
3448
+ x_task_diagnostics,
3292
3449
  _request_auth,
3293
3450
  _content_type,
3294
3451
  _headers,
@@ -3298,6 +3455,7 @@ class DistributionsPypiApi:
3298
3455
  _host = None
3299
3456
 
3300
3457
  _collection_formats: Dict[str, str] = {
3458
+ 'X-Task-Diagnostics': 'csv',
3301
3459
  }
3302
3460
 
3303
3461
  _path_params: Dict[str, str] = {}
@@ -3314,6 +3472,8 @@ class DistributionsPypiApi:
3314
3472
  _path_params['python_python_distribution_href'] = python_python_distribution_href
3315
3473
  # process the query parameters
3316
3474
  # process the header parameters
3475
+ if x_task_diagnostics is not None:
3476
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
3317
3477
  # process the form parameters
3318
3478
  # process the body parameter
3319
3479
  if set_label is not None:
@@ -3373,6 +3533,7 @@ class DistributionsPypiApi:
3373
3533
  self,
3374
3534
  python_python_distribution_href: StrictStr,
3375
3535
  unset_label: UnsetLabel,
3536
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3376
3537
  _request_timeout: Union[
3377
3538
  None,
3378
3539
  Annotated[StrictFloat, Field(gt=0)],
@@ -3394,6 +3555,8 @@ class DistributionsPypiApi:
3394
3555
  :type python_python_distribution_href: str
3395
3556
  :param unset_label: (required)
3396
3557
  :type unset_label: UnsetLabel
3558
+ :param x_task_diagnostics: List of profilers to use on tasks.
3559
+ :type x_task_diagnostics: List[str]
3397
3560
  :param _request_timeout: timeout setting for this request. If one
3398
3561
  number provided, it will be total request
3399
3562
  timeout. It can also be a pair (tuple) of
@@ -3419,6 +3582,7 @@ class DistributionsPypiApi:
3419
3582
  _param = self._unset_label_serialize(
3420
3583
  python_python_distribution_href=python_python_distribution_href,
3421
3584
  unset_label=unset_label,
3585
+ x_task_diagnostics=x_task_diagnostics,
3422
3586
  _request_auth=_request_auth,
3423
3587
  _content_type=_content_type,
3424
3588
  _headers=_headers,
@@ -3444,6 +3608,7 @@ class DistributionsPypiApi:
3444
3608
  self,
3445
3609
  python_python_distribution_href: StrictStr,
3446
3610
  unset_label: UnsetLabel,
3611
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3447
3612
  _request_timeout: Union[
3448
3613
  None,
3449
3614
  Annotated[StrictFloat, Field(gt=0)],
@@ -3465,6 +3630,8 @@ class DistributionsPypiApi:
3465
3630
  :type python_python_distribution_href: str
3466
3631
  :param unset_label: (required)
3467
3632
  :type unset_label: UnsetLabel
3633
+ :param x_task_diagnostics: List of profilers to use on tasks.
3634
+ :type x_task_diagnostics: List[str]
3468
3635
  :param _request_timeout: timeout setting for this request. If one
3469
3636
  number provided, it will be total request
3470
3637
  timeout. It can also be a pair (tuple) of
@@ -3490,6 +3657,7 @@ class DistributionsPypiApi:
3490
3657
  _param = self._unset_label_serialize(
3491
3658
  python_python_distribution_href=python_python_distribution_href,
3492
3659
  unset_label=unset_label,
3660
+ x_task_diagnostics=x_task_diagnostics,
3493
3661
  _request_auth=_request_auth,
3494
3662
  _content_type=_content_type,
3495
3663
  _headers=_headers,
@@ -3515,6 +3683,7 @@ class DistributionsPypiApi:
3515
3683
  self,
3516
3684
  python_python_distribution_href: StrictStr,
3517
3685
  unset_label: UnsetLabel,
3686
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3518
3687
  _request_timeout: Union[
3519
3688
  None,
3520
3689
  Annotated[StrictFloat, Field(gt=0)],
@@ -3536,6 +3705,8 @@ class DistributionsPypiApi:
3536
3705
  :type python_python_distribution_href: str
3537
3706
  :param unset_label: (required)
3538
3707
  :type unset_label: UnsetLabel
3708
+ :param x_task_diagnostics: List of profilers to use on tasks.
3709
+ :type x_task_diagnostics: List[str]
3539
3710
  :param _request_timeout: timeout setting for this request. If one
3540
3711
  number provided, it will be total request
3541
3712
  timeout. It can also be a pair (tuple) of
@@ -3561,6 +3732,7 @@ class DistributionsPypiApi:
3561
3732
  _param = self._unset_label_serialize(
3562
3733
  python_python_distribution_href=python_python_distribution_href,
3563
3734
  unset_label=unset_label,
3735
+ x_task_diagnostics=x_task_diagnostics,
3564
3736
  _request_auth=_request_auth,
3565
3737
  _content_type=_content_type,
3566
3738
  _headers=_headers,
@@ -3581,6 +3753,7 @@ class DistributionsPypiApi:
3581
3753
  self,
3582
3754
  python_python_distribution_href,
3583
3755
  unset_label,
3756
+ x_task_diagnostics,
3584
3757
  _request_auth,
3585
3758
  _content_type,
3586
3759
  _headers,
@@ -3590,6 +3763,7 @@ class DistributionsPypiApi:
3590
3763
  _host = None
3591
3764
 
3592
3765
  _collection_formats: Dict[str, str] = {
3766
+ 'X-Task-Diagnostics': 'csv',
3593
3767
  }
3594
3768
 
3595
3769
  _path_params: Dict[str, str] = {}
@@ -3606,6 +3780,8 @@ class DistributionsPypiApi:
3606
3780
  _path_params['python_python_distribution_href'] = python_python_distribution_href
3607
3781
  # process the query parameters
3608
3782
  # process the header parameters
3783
+ if x_task_diagnostics is not None:
3784
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
3609
3785
  # process the form parameters
3610
3786
  # process the body parameter
3611
3787
  if unset_label is not None:
@@ -3665,6 +3841,7 @@ class DistributionsPypiApi:
3665
3841
  self,
3666
3842
  python_python_distribution_href: StrictStr,
3667
3843
  python_python_distribution: PythonPythonDistribution,
3844
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3668
3845
  _request_timeout: Union[
3669
3846
  None,
3670
3847
  Annotated[StrictFloat, Field(gt=0)],
@@ -3686,6 +3863,8 @@ class DistributionsPypiApi:
3686
3863
  :type python_python_distribution_href: str
3687
3864
  :param python_python_distribution: (required)
3688
3865
  :type python_python_distribution: PythonPythonDistribution
3866
+ :param x_task_diagnostics: List of profilers to use on tasks.
3867
+ :type x_task_diagnostics: List[str]
3689
3868
  :param _request_timeout: timeout setting for this request. If one
3690
3869
  number provided, it will be total request
3691
3870
  timeout. It can also be a pair (tuple) of
@@ -3711,6 +3890,7 @@ class DistributionsPypiApi:
3711
3890
  _param = self._update_serialize(
3712
3891
  python_python_distribution_href=python_python_distribution_href,
3713
3892
  python_python_distribution=python_python_distribution,
3893
+ x_task_diagnostics=x_task_diagnostics,
3714
3894
  _request_auth=_request_auth,
3715
3895
  _content_type=_content_type,
3716
3896
  _headers=_headers,
@@ -3736,6 +3916,7 @@ class DistributionsPypiApi:
3736
3916
  self,
3737
3917
  python_python_distribution_href: StrictStr,
3738
3918
  python_python_distribution: PythonPythonDistribution,
3919
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3739
3920
  _request_timeout: Union[
3740
3921
  None,
3741
3922
  Annotated[StrictFloat, Field(gt=0)],
@@ -3757,6 +3938,8 @@ class DistributionsPypiApi:
3757
3938
  :type python_python_distribution_href: str
3758
3939
  :param python_python_distribution: (required)
3759
3940
  :type python_python_distribution: PythonPythonDistribution
3941
+ :param x_task_diagnostics: List of profilers to use on tasks.
3942
+ :type x_task_diagnostics: List[str]
3760
3943
  :param _request_timeout: timeout setting for this request. If one
3761
3944
  number provided, it will be total request
3762
3945
  timeout. It can also be a pair (tuple) of
@@ -3782,6 +3965,7 @@ class DistributionsPypiApi:
3782
3965
  _param = self._update_serialize(
3783
3966
  python_python_distribution_href=python_python_distribution_href,
3784
3967
  python_python_distribution=python_python_distribution,
3968
+ x_task_diagnostics=x_task_diagnostics,
3785
3969
  _request_auth=_request_auth,
3786
3970
  _content_type=_content_type,
3787
3971
  _headers=_headers,
@@ -3807,6 +3991,7 @@ class DistributionsPypiApi:
3807
3991
  self,
3808
3992
  python_python_distribution_href: StrictStr,
3809
3993
  python_python_distribution: PythonPythonDistribution,
3994
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3810
3995
  _request_timeout: Union[
3811
3996
  None,
3812
3997
  Annotated[StrictFloat, Field(gt=0)],
@@ -3828,6 +4013,8 @@ class DistributionsPypiApi:
3828
4013
  :type python_python_distribution_href: str
3829
4014
  :param python_python_distribution: (required)
3830
4015
  :type python_python_distribution: PythonPythonDistribution
4016
+ :param x_task_diagnostics: List of profilers to use on tasks.
4017
+ :type x_task_diagnostics: List[str]
3831
4018
  :param _request_timeout: timeout setting for this request. If one
3832
4019
  number provided, it will be total request
3833
4020
  timeout. It can also be a pair (tuple) of
@@ -3853,6 +4040,7 @@ class DistributionsPypiApi:
3853
4040
  _param = self._update_serialize(
3854
4041
  python_python_distribution_href=python_python_distribution_href,
3855
4042
  python_python_distribution=python_python_distribution,
4043
+ x_task_diagnostics=x_task_diagnostics,
3856
4044
  _request_auth=_request_auth,
3857
4045
  _content_type=_content_type,
3858
4046
  _headers=_headers,
@@ -3873,6 +4061,7 @@ class DistributionsPypiApi:
3873
4061
  self,
3874
4062
  python_python_distribution_href,
3875
4063
  python_python_distribution,
4064
+ x_task_diagnostics,
3876
4065
  _request_auth,
3877
4066
  _content_type,
3878
4067
  _headers,
@@ -3882,6 +4071,7 @@ class DistributionsPypiApi:
3882
4071
  _host = None
3883
4072
 
3884
4073
  _collection_formats: Dict[str, str] = {
4074
+ 'X-Task-Diagnostics': 'csv',
3885
4075
  }
3886
4076
 
3887
4077
  _path_params: Dict[str, str] = {}
@@ -3898,6 +4088,8 @@ class DistributionsPypiApi:
3898
4088
  _path_params['python_python_distribution_href'] = python_python_distribution_href
3899
4089
  # process the query parameters
3900
4090
  # process the header parameters
4091
+ if x_task_diagnostics is not None:
4092
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
3901
4093
  # process the form parameters
3902
4094
  # process the body parameter
3903
4095
  if python_python_distribution is not None: