pulp-python-client 3.15.1__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.

@@ -53,6 +53,7 @@ class PublicationsPypiApi:
53
53
  self,
54
54
  python_python_publication_href: StrictStr,
55
55
  nested_role: NestedRole,
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 PublicationsPypiApi:
74
75
  :type python_python_publication_href: str
75
76
  :param nested_role: (required)
76
77
  :type nested_role: NestedRole
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 PublicationsPypiApi:
99
102
  _param = self._add_role_serialize(
100
103
  python_python_publication_href=python_python_publication_href,
101
104
  nested_role=nested_role,
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 PublicationsPypiApi:
124
128
  self,
125
129
  python_python_publication_href: StrictStr,
126
130
  nested_role: NestedRole,
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 PublicationsPypiApi:
145
150
  :type python_python_publication_href: str
146
151
  :param nested_role: (required)
147
152
  :type nested_role: NestedRole
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 PublicationsPypiApi:
170
177
  _param = self._add_role_serialize(
171
178
  python_python_publication_href=python_python_publication_href,
172
179
  nested_role=nested_role,
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 PublicationsPypiApi:
195
203
  self,
196
204
  python_python_publication_href: StrictStr,
197
205
  nested_role: NestedRole,
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 PublicationsPypiApi:
216
225
  :type python_python_publication_href: str
217
226
  :param nested_role: (required)
218
227
  :type nested_role: NestedRole
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 PublicationsPypiApi:
241
252
  _param = self._add_role_serialize(
242
253
  python_python_publication_href=python_python_publication_href,
243
254
  nested_role=nested_role,
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 PublicationsPypiApi:
261
273
  self,
262
274
  python_python_publication_href,
263
275
  nested_role,
276
+ x_task_diagnostics,
264
277
  _request_auth,
265
278
  _content_type,
266
279
  _headers,
@@ -270,6 +283,7 @@ class PublicationsPypiApi:
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 PublicationsPypiApi:
286
300
  _path_params['python_python_publication_href'] = python_python_publication_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 nested_role is not None:
@@ -344,6 +360,7 @@ class PublicationsPypiApi:
344
360
  def create(
345
361
  self,
346
362
  python_python_publication: PythonPythonPublication,
363
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
347
364
  _request_timeout: Union[
348
365
  None,
349
366
  Annotated[StrictFloat, Field(gt=0)],
@@ -363,6 +380,8 @@ class PublicationsPypiApi:
363
380
 
364
381
  :param python_python_publication: (required)
365
382
  :type python_python_publication: PythonPythonPublication
383
+ :param x_task_diagnostics: List of profilers to use on tasks.
384
+ :type x_task_diagnostics: List[str]
366
385
  :param _request_timeout: timeout setting for this request. If one
367
386
  number provided, it will be total request
368
387
  timeout. It can also be a pair (tuple) of
@@ -387,6 +406,7 @@ class PublicationsPypiApi:
387
406
 
388
407
  _param = self._create_serialize(
389
408
  python_python_publication=python_python_publication,
409
+ x_task_diagnostics=x_task_diagnostics,
390
410
  _request_auth=_request_auth,
391
411
  _content_type=_content_type,
392
412
  _headers=_headers,
@@ -411,6 +431,7 @@ class PublicationsPypiApi:
411
431
  def create_with_http_info(
412
432
  self,
413
433
  python_python_publication: PythonPythonPublication,
434
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
414
435
  _request_timeout: Union[
415
436
  None,
416
437
  Annotated[StrictFloat, Field(gt=0)],
@@ -430,6 +451,8 @@ class PublicationsPypiApi:
430
451
 
431
452
  :param python_python_publication: (required)
432
453
  :type python_python_publication: PythonPythonPublication
454
+ :param x_task_diagnostics: List of profilers to use on tasks.
455
+ :type x_task_diagnostics: List[str]
433
456
  :param _request_timeout: timeout setting for this request. If one
434
457
  number provided, it will be total request
435
458
  timeout. It can also be a pair (tuple) of
@@ -454,6 +477,7 @@ class PublicationsPypiApi:
454
477
 
455
478
  _param = self._create_serialize(
456
479
  python_python_publication=python_python_publication,
480
+ x_task_diagnostics=x_task_diagnostics,
457
481
  _request_auth=_request_auth,
458
482
  _content_type=_content_type,
459
483
  _headers=_headers,
@@ -478,6 +502,7 @@ class PublicationsPypiApi:
478
502
  def create_without_preload_content(
479
503
  self,
480
504
  python_python_publication: PythonPythonPublication,
505
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
481
506
  _request_timeout: Union[
482
507
  None,
483
508
  Annotated[StrictFloat, Field(gt=0)],
@@ -497,6 +522,8 @@ class PublicationsPypiApi:
497
522
 
498
523
  :param python_python_publication: (required)
499
524
  :type python_python_publication: PythonPythonPublication
525
+ :param x_task_diagnostics: List of profilers to use on tasks.
526
+ :type x_task_diagnostics: List[str]
500
527
  :param _request_timeout: timeout setting for this request. If one
501
528
  number provided, it will be total request
502
529
  timeout. It can also be a pair (tuple) of
@@ -521,6 +548,7 @@ class PublicationsPypiApi:
521
548
 
522
549
  _param = self._create_serialize(
523
550
  python_python_publication=python_python_publication,
551
+ x_task_diagnostics=x_task_diagnostics,
524
552
  _request_auth=_request_auth,
525
553
  _content_type=_content_type,
526
554
  _headers=_headers,
@@ -540,6 +568,7 @@ class PublicationsPypiApi:
540
568
  def _create_serialize(
541
569
  self,
542
570
  python_python_publication,
571
+ x_task_diagnostics,
543
572
  _request_auth,
544
573
  _content_type,
545
574
  _headers,
@@ -549,6 +578,7 @@ class PublicationsPypiApi:
549
578
  _host = None
550
579
 
551
580
  _collection_formats: Dict[str, str] = {
581
+ 'X-Task-Diagnostics': 'csv',
552
582
  }
553
583
 
554
584
  _path_params: Dict[str, str] = {}
@@ -563,6 +593,8 @@ class PublicationsPypiApi:
563
593
  # process the path parameters
564
594
  # process the query parameters
565
595
  # process the header parameters
596
+ if x_task_diagnostics is not None:
597
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
566
598
  # process the form parameters
567
599
  # process the body parameter
568
600
  if python_python_publication is not None:
@@ -621,6 +653,7 @@ class PublicationsPypiApi:
621
653
  def delete(
622
654
  self,
623
655
  python_python_publication_href: StrictStr,
656
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
624
657
  _request_timeout: Union[
625
658
  None,
626
659
  Annotated[StrictFloat, Field(gt=0)],
@@ -640,6 +673,8 @@ class PublicationsPypiApi:
640
673
 
641
674
  :param python_python_publication_href: (required)
642
675
  :type python_python_publication_href: str
676
+ :param x_task_diagnostics: List of profilers to use on tasks.
677
+ :type x_task_diagnostics: List[str]
643
678
  :param _request_timeout: timeout setting for this request. If one
644
679
  number provided, it will be total request
645
680
  timeout. It can also be a pair (tuple) of
@@ -664,6 +699,7 @@ class PublicationsPypiApi:
664
699
 
665
700
  _param = self._delete_serialize(
666
701
  python_python_publication_href=python_python_publication_href,
702
+ x_task_diagnostics=x_task_diagnostics,
667
703
  _request_auth=_request_auth,
668
704
  _content_type=_content_type,
669
705
  _headers=_headers,
@@ -688,6 +724,7 @@ class PublicationsPypiApi:
688
724
  def delete_with_http_info(
689
725
  self,
690
726
  python_python_publication_href: StrictStr,
727
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
691
728
  _request_timeout: Union[
692
729
  None,
693
730
  Annotated[StrictFloat, Field(gt=0)],
@@ -707,6 +744,8 @@ class PublicationsPypiApi:
707
744
 
708
745
  :param python_python_publication_href: (required)
709
746
  :type python_python_publication_href: str
747
+ :param x_task_diagnostics: List of profilers to use on tasks.
748
+ :type x_task_diagnostics: List[str]
710
749
  :param _request_timeout: timeout setting for this request. If one
711
750
  number provided, it will be total request
712
751
  timeout. It can also be a pair (tuple) of
@@ -731,6 +770,7 @@ class PublicationsPypiApi:
731
770
 
732
771
  _param = self._delete_serialize(
733
772
  python_python_publication_href=python_python_publication_href,
773
+ x_task_diagnostics=x_task_diagnostics,
734
774
  _request_auth=_request_auth,
735
775
  _content_type=_content_type,
736
776
  _headers=_headers,
@@ -755,6 +795,7 @@ class PublicationsPypiApi:
755
795
  def delete_without_preload_content(
756
796
  self,
757
797
  python_python_publication_href: StrictStr,
798
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
758
799
  _request_timeout: Union[
759
800
  None,
760
801
  Annotated[StrictFloat, Field(gt=0)],
@@ -774,6 +815,8 @@ class PublicationsPypiApi:
774
815
 
775
816
  :param python_python_publication_href: (required)
776
817
  :type python_python_publication_href: str
818
+ :param x_task_diagnostics: List of profilers to use on tasks.
819
+ :type x_task_diagnostics: List[str]
777
820
  :param _request_timeout: timeout setting for this request. If one
778
821
  number provided, it will be total request
779
822
  timeout. It can also be a pair (tuple) of
@@ -798,6 +841,7 @@ class PublicationsPypiApi:
798
841
 
799
842
  _param = self._delete_serialize(
800
843
  python_python_publication_href=python_python_publication_href,
844
+ x_task_diagnostics=x_task_diagnostics,
801
845
  _request_auth=_request_auth,
802
846
  _content_type=_content_type,
803
847
  _headers=_headers,
@@ -817,6 +861,7 @@ class PublicationsPypiApi:
817
861
  def _delete_serialize(
818
862
  self,
819
863
  python_python_publication_href,
864
+ x_task_diagnostics,
820
865
  _request_auth,
821
866
  _content_type,
822
867
  _headers,
@@ -826,6 +871,7 @@ class PublicationsPypiApi:
826
871
  _host = None
827
872
 
828
873
  _collection_formats: Dict[str, str] = {
874
+ 'X-Task-Diagnostics': 'csv',
829
875
  }
830
876
 
831
877
  _path_params: Dict[str, str] = {}
@@ -842,6 +888,8 @@ class PublicationsPypiApi:
842
888
  _path_params['python_python_publication_href'] = python_python_publication_href
843
889
  # process the query parameters
844
890
  # process the header parameters
891
+ if x_task_diagnostics is not None:
892
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
845
893
  # process the form parameters
846
894
  # process the body parameter
847
895
 
@@ -875,6 +923,7 @@ class PublicationsPypiApi:
875
923
  @validate_call
876
924
  def list(
877
925
  self,
926
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
878
927
  checkpoint: Annotated[Optional[StrictBool], Field(description="Filter results where checkpoint matches value")] = None,
879
928
  content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
880
929
  content__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
@@ -913,6 +962,8 @@ class PublicationsPypiApi:
913
962
 
914
963
  Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
915
964
 
965
+ :param x_task_diagnostics: List of profilers to use on tasks.
966
+ :type x_task_diagnostics: List[str]
916
967
  :param checkpoint: Filter results where checkpoint matches value
917
968
  :type checkpoint: bool
918
969
  :param content: Content Unit referenced by HREF/PRN
@@ -978,6 +1029,7 @@ class PublicationsPypiApi:
978
1029
  """ # noqa: E501
979
1030
 
980
1031
  _param = self._list_serialize(
1032
+ x_task_diagnostics=x_task_diagnostics,
981
1033
  checkpoint=checkpoint,
982
1034
  content=content,
983
1035
  content__in=content__in,
@@ -1022,6 +1074,7 @@ class PublicationsPypiApi:
1022
1074
  @validate_call
1023
1075
  def list_with_http_info(
1024
1076
  self,
1077
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1025
1078
  checkpoint: Annotated[Optional[StrictBool], Field(description="Filter results where checkpoint matches value")] = None,
1026
1079
  content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
1027
1080
  content__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
@@ -1060,6 +1113,8 @@ class PublicationsPypiApi:
1060
1113
 
1061
1114
  Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
1062
1115
 
1116
+ :param x_task_diagnostics: List of profilers to use on tasks.
1117
+ :type x_task_diagnostics: List[str]
1063
1118
  :param checkpoint: Filter results where checkpoint matches value
1064
1119
  :type checkpoint: bool
1065
1120
  :param content: Content Unit referenced by HREF/PRN
@@ -1125,6 +1180,7 @@ class PublicationsPypiApi:
1125
1180
  """ # noqa: E501
1126
1181
 
1127
1182
  _param = self._list_serialize(
1183
+ x_task_diagnostics=x_task_diagnostics,
1128
1184
  checkpoint=checkpoint,
1129
1185
  content=content,
1130
1186
  content__in=content__in,
@@ -1169,6 +1225,7 @@ class PublicationsPypiApi:
1169
1225
  @validate_call
1170
1226
  def list_without_preload_content(
1171
1227
  self,
1228
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1172
1229
  checkpoint: Annotated[Optional[StrictBool], Field(description="Filter results where checkpoint matches value")] = None,
1173
1230
  content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
1174
1231
  content__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
@@ -1207,6 +1264,8 @@ class PublicationsPypiApi:
1207
1264
 
1208
1265
  Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
1209
1266
 
1267
+ :param x_task_diagnostics: List of profilers to use on tasks.
1268
+ :type x_task_diagnostics: List[str]
1210
1269
  :param checkpoint: Filter results where checkpoint matches value
1211
1270
  :type checkpoint: bool
1212
1271
  :param content: Content Unit referenced by HREF/PRN
@@ -1272,6 +1331,7 @@ class PublicationsPypiApi:
1272
1331
  """ # noqa: E501
1273
1332
 
1274
1333
  _param = self._list_serialize(
1334
+ x_task_diagnostics=x_task_diagnostics,
1275
1335
  checkpoint=checkpoint,
1276
1336
  content=content,
1277
1337
  content__in=content__in,
@@ -1311,6 +1371,7 @@ class PublicationsPypiApi:
1311
1371
 
1312
1372
  def _list_serialize(
1313
1373
  self,
1374
+ x_task_diagnostics,
1314
1375
  checkpoint,
1315
1376
  content,
1316
1377
  content__in,
@@ -1341,6 +1402,7 @@ class PublicationsPypiApi:
1341
1402
  _host = None
1342
1403
 
1343
1404
  _collection_formats: Dict[str, str] = {
1405
+ 'X-Task-Diagnostics': 'csv',
1344
1406
  'content__in': 'csv',
1345
1407
  'ordering': 'csv',
1346
1408
  'prn__in': 'csv',
@@ -1492,6 +1554,8 @@ class PublicationsPypiApi:
1492
1554
  _query_params.append(('exclude_fields', exclude_fields))
1493
1555
 
1494
1556
  # process the header parameters
1557
+ if x_task_diagnostics is not None:
1558
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1495
1559
  # process the form parameters
1496
1560
  # process the body parameter
1497
1561
 
@@ -1533,6 +1597,7 @@ class PublicationsPypiApi:
1533
1597
  def list_roles(
1534
1598
  self,
1535
1599
  python_python_publication_href: StrictStr,
1600
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1536
1601
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1537
1602
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1538
1603
  _request_timeout: Union[
@@ -1554,6 +1619,8 @@ class PublicationsPypiApi:
1554
1619
 
1555
1620
  :param python_python_publication_href: (required)
1556
1621
  :type python_python_publication_href: str
1622
+ :param x_task_diagnostics: List of profilers to use on tasks.
1623
+ :type x_task_diagnostics: List[str]
1557
1624
  :param fields: A list of fields to include in the response.
1558
1625
  :type fields: List[str]
1559
1626
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1582,6 +1649,7 @@ class PublicationsPypiApi:
1582
1649
 
1583
1650
  _param = self._list_roles_serialize(
1584
1651
  python_python_publication_href=python_python_publication_href,
1652
+ x_task_diagnostics=x_task_diagnostics,
1585
1653
  fields=fields,
1586
1654
  exclude_fields=exclude_fields,
1587
1655
  _request_auth=_request_auth,
@@ -1608,6 +1676,7 @@ class PublicationsPypiApi:
1608
1676
  def list_roles_with_http_info(
1609
1677
  self,
1610
1678
  python_python_publication_href: StrictStr,
1679
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1611
1680
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1612
1681
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1613
1682
  _request_timeout: Union[
@@ -1629,6 +1698,8 @@ class PublicationsPypiApi:
1629
1698
 
1630
1699
  :param python_python_publication_href: (required)
1631
1700
  :type python_python_publication_href: str
1701
+ :param x_task_diagnostics: List of profilers to use on tasks.
1702
+ :type x_task_diagnostics: List[str]
1632
1703
  :param fields: A list of fields to include in the response.
1633
1704
  :type fields: List[str]
1634
1705
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1657,6 +1728,7 @@ class PublicationsPypiApi:
1657
1728
 
1658
1729
  _param = self._list_roles_serialize(
1659
1730
  python_python_publication_href=python_python_publication_href,
1731
+ x_task_diagnostics=x_task_diagnostics,
1660
1732
  fields=fields,
1661
1733
  exclude_fields=exclude_fields,
1662
1734
  _request_auth=_request_auth,
@@ -1683,6 +1755,7 @@ class PublicationsPypiApi:
1683
1755
  def list_roles_without_preload_content(
1684
1756
  self,
1685
1757
  python_python_publication_href: StrictStr,
1758
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1686
1759
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1687
1760
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1688
1761
  _request_timeout: Union[
@@ -1704,6 +1777,8 @@ class PublicationsPypiApi:
1704
1777
 
1705
1778
  :param python_python_publication_href: (required)
1706
1779
  :type python_python_publication_href: str
1780
+ :param x_task_diagnostics: List of profilers to use on tasks.
1781
+ :type x_task_diagnostics: List[str]
1707
1782
  :param fields: A list of fields to include in the response.
1708
1783
  :type fields: List[str]
1709
1784
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1732,6 +1807,7 @@ class PublicationsPypiApi:
1732
1807
 
1733
1808
  _param = self._list_roles_serialize(
1734
1809
  python_python_publication_href=python_python_publication_href,
1810
+ x_task_diagnostics=x_task_diagnostics,
1735
1811
  fields=fields,
1736
1812
  exclude_fields=exclude_fields,
1737
1813
  _request_auth=_request_auth,
@@ -1753,6 +1829,7 @@ class PublicationsPypiApi:
1753
1829
  def _list_roles_serialize(
1754
1830
  self,
1755
1831
  python_python_publication_href,
1832
+ x_task_diagnostics,
1756
1833
  fields,
1757
1834
  exclude_fields,
1758
1835
  _request_auth,
@@ -1764,6 +1841,7 @@ class PublicationsPypiApi:
1764
1841
  _host = None
1765
1842
 
1766
1843
  _collection_formats: Dict[str, str] = {
1844
+ 'X-Task-Diagnostics': 'csv',
1767
1845
  'fields': 'multi',
1768
1846
  'exclude_fields': 'multi',
1769
1847
  }
@@ -1790,6 +1868,8 @@ class PublicationsPypiApi:
1790
1868
  _query_params.append(('exclude_fields', exclude_fields))
1791
1869
 
1792
1870
  # process the header parameters
1871
+ if x_task_diagnostics is not None:
1872
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1793
1873
  # process the form parameters
1794
1874
  # process the body parameter
1795
1875
 
@@ -1831,6 +1911,7 @@ class PublicationsPypiApi:
1831
1911
  def my_permissions(
1832
1912
  self,
1833
1913
  python_python_publication_href: StrictStr,
1914
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1834
1915
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1835
1916
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1836
1917
  _request_timeout: Union[
@@ -1852,6 +1933,8 @@ class PublicationsPypiApi:
1852
1933
 
1853
1934
  :param python_python_publication_href: (required)
1854
1935
  :type python_python_publication_href: str
1936
+ :param x_task_diagnostics: List of profilers to use on tasks.
1937
+ :type x_task_diagnostics: List[str]
1855
1938
  :param fields: A list of fields to include in the response.
1856
1939
  :type fields: List[str]
1857
1940
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1880,6 +1963,7 @@ class PublicationsPypiApi:
1880
1963
 
1881
1964
  _param = self._my_permissions_serialize(
1882
1965
  python_python_publication_href=python_python_publication_href,
1966
+ x_task_diagnostics=x_task_diagnostics,
1883
1967
  fields=fields,
1884
1968
  exclude_fields=exclude_fields,
1885
1969
  _request_auth=_request_auth,
@@ -1906,6 +1990,7 @@ class PublicationsPypiApi:
1906
1990
  def my_permissions_with_http_info(
1907
1991
  self,
1908
1992
  python_python_publication_href: StrictStr,
1993
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1909
1994
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1910
1995
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1911
1996
  _request_timeout: Union[
@@ -1927,6 +2012,8 @@ class PublicationsPypiApi:
1927
2012
 
1928
2013
  :param python_python_publication_href: (required)
1929
2014
  :type python_python_publication_href: str
2015
+ :param x_task_diagnostics: List of profilers to use on tasks.
2016
+ :type x_task_diagnostics: List[str]
1930
2017
  :param fields: A list of fields to include in the response.
1931
2018
  :type fields: List[str]
1932
2019
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1955,6 +2042,7 @@ class PublicationsPypiApi:
1955
2042
 
1956
2043
  _param = self._my_permissions_serialize(
1957
2044
  python_python_publication_href=python_python_publication_href,
2045
+ x_task_diagnostics=x_task_diagnostics,
1958
2046
  fields=fields,
1959
2047
  exclude_fields=exclude_fields,
1960
2048
  _request_auth=_request_auth,
@@ -1981,6 +2069,7 @@ class PublicationsPypiApi:
1981
2069
  def my_permissions_without_preload_content(
1982
2070
  self,
1983
2071
  python_python_publication_href: StrictStr,
2072
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1984
2073
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1985
2074
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1986
2075
  _request_timeout: Union[
@@ -2002,6 +2091,8 @@ class PublicationsPypiApi:
2002
2091
 
2003
2092
  :param python_python_publication_href: (required)
2004
2093
  :type python_python_publication_href: str
2094
+ :param x_task_diagnostics: List of profilers to use on tasks.
2095
+ :type x_task_diagnostics: List[str]
2005
2096
  :param fields: A list of fields to include in the response.
2006
2097
  :type fields: List[str]
2007
2098
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2030,6 +2121,7 @@ class PublicationsPypiApi:
2030
2121
 
2031
2122
  _param = self._my_permissions_serialize(
2032
2123
  python_python_publication_href=python_python_publication_href,
2124
+ x_task_diagnostics=x_task_diagnostics,
2033
2125
  fields=fields,
2034
2126
  exclude_fields=exclude_fields,
2035
2127
  _request_auth=_request_auth,
@@ -2051,6 +2143,7 @@ class PublicationsPypiApi:
2051
2143
  def _my_permissions_serialize(
2052
2144
  self,
2053
2145
  python_python_publication_href,
2146
+ x_task_diagnostics,
2054
2147
  fields,
2055
2148
  exclude_fields,
2056
2149
  _request_auth,
@@ -2062,6 +2155,7 @@ class PublicationsPypiApi:
2062
2155
  _host = None
2063
2156
 
2064
2157
  _collection_formats: Dict[str, str] = {
2158
+ 'X-Task-Diagnostics': 'csv',
2065
2159
  'fields': 'multi',
2066
2160
  'exclude_fields': 'multi',
2067
2161
  }
@@ -2088,6 +2182,8 @@ class PublicationsPypiApi:
2088
2182
  _query_params.append(('exclude_fields', exclude_fields))
2089
2183
 
2090
2184
  # process the header parameters
2185
+ if x_task_diagnostics is not None:
2186
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2091
2187
  # process the form parameters
2092
2188
  # process the body parameter
2093
2189
 
@@ -2129,6 +2225,7 @@ class PublicationsPypiApi:
2129
2225
  def read(
2130
2226
  self,
2131
2227
  python_python_publication_href: StrictStr,
2228
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2132
2229
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2133
2230
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2134
2231
  _request_timeout: Union[
@@ -2150,6 +2247,8 @@ class PublicationsPypiApi:
2150
2247
 
2151
2248
  :param python_python_publication_href: (required)
2152
2249
  :type python_python_publication_href: str
2250
+ :param x_task_diagnostics: List of profilers to use on tasks.
2251
+ :type x_task_diagnostics: List[str]
2153
2252
  :param fields: A list of fields to include in the response.
2154
2253
  :type fields: List[str]
2155
2254
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2178,6 +2277,7 @@ class PublicationsPypiApi:
2178
2277
 
2179
2278
  _param = self._read_serialize(
2180
2279
  python_python_publication_href=python_python_publication_href,
2280
+ x_task_diagnostics=x_task_diagnostics,
2181
2281
  fields=fields,
2182
2282
  exclude_fields=exclude_fields,
2183
2283
  _request_auth=_request_auth,
@@ -2204,6 +2304,7 @@ class PublicationsPypiApi:
2204
2304
  def read_with_http_info(
2205
2305
  self,
2206
2306
  python_python_publication_href: StrictStr,
2307
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2207
2308
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2208
2309
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2209
2310
  _request_timeout: Union[
@@ -2225,6 +2326,8 @@ class PublicationsPypiApi:
2225
2326
 
2226
2327
  :param python_python_publication_href: (required)
2227
2328
  :type python_python_publication_href: str
2329
+ :param x_task_diagnostics: List of profilers to use on tasks.
2330
+ :type x_task_diagnostics: List[str]
2228
2331
  :param fields: A list of fields to include in the response.
2229
2332
  :type fields: List[str]
2230
2333
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2253,6 +2356,7 @@ class PublicationsPypiApi:
2253
2356
 
2254
2357
  _param = self._read_serialize(
2255
2358
  python_python_publication_href=python_python_publication_href,
2359
+ x_task_diagnostics=x_task_diagnostics,
2256
2360
  fields=fields,
2257
2361
  exclude_fields=exclude_fields,
2258
2362
  _request_auth=_request_auth,
@@ -2279,6 +2383,7 @@ class PublicationsPypiApi:
2279
2383
  def read_without_preload_content(
2280
2384
  self,
2281
2385
  python_python_publication_href: StrictStr,
2386
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2282
2387
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2283
2388
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2284
2389
  _request_timeout: Union[
@@ -2300,6 +2405,8 @@ class PublicationsPypiApi:
2300
2405
 
2301
2406
  :param python_python_publication_href: (required)
2302
2407
  :type python_python_publication_href: str
2408
+ :param x_task_diagnostics: List of profilers to use on tasks.
2409
+ :type x_task_diagnostics: List[str]
2303
2410
  :param fields: A list of fields to include in the response.
2304
2411
  :type fields: List[str]
2305
2412
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2328,6 +2435,7 @@ class PublicationsPypiApi:
2328
2435
 
2329
2436
  _param = self._read_serialize(
2330
2437
  python_python_publication_href=python_python_publication_href,
2438
+ x_task_diagnostics=x_task_diagnostics,
2331
2439
  fields=fields,
2332
2440
  exclude_fields=exclude_fields,
2333
2441
  _request_auth=_request_auth,
@@ -2349,6 +2457,7 @@ class PublicationsPypiApi:
2349
2457
  def _read_serialize(
2350
2458
  self,
2351
2459
  python_python_publication_href,
2460
+ x_task_diagnostics,
2352
2461
  fields,
2353
2462
  exclude_fields,
2354
2463
  _request_auth,
@@ -2360,6 +2469,7 @@ class PublicationsPypiApi:
2360
2469
  _host = None
2361
2470
 
2362
2471
  _collection_formats: Dict[str, str] = {
2472
+ 'X-Task-Diagnostics': 'csv',
2363
2473
  'fields': 'multi',
2364
2474
  'exclude_fields': 'multi',
2365
2475
  }
@@ -2386,6 +2496,8 @@ class PublicationsPypiApi:
2386
2496
  _query_params.append(('exclude_fields', exclude_fields))
2387
2497
 
2388
2498
  # process the header parameters
2499
+ if x_task_diagnostics is not None:
2500
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2389
2501
  # process the form parameters
2390
2502
  # process the body parameter
2391
2503
 
@@ -2428,6 +2540,7 @@ class PublicationsPypiApi:
2428
2540
  self,
2429
2541
  python_python_publication_href: StrictStr,
2430
2542
  nested_role: NestedRole,
2543
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2431
2544
  _request_timeout: Union[
2432
2545
  None,
2433
2546
  Annotated[StrictFloat, Field(gt=0)],
@@ -2449,6 +2562,8 @@ class PublicationsPypiApi:
2449
2562
  :type python_python_publication_href: str
2450
2563
  :param nested_role: (required)
2451
2564
  :type nested_role: NestedRole
2565
+ :param x_task_diagnostics: List of profilers to use on tasks.
2566
+ :type x_task_diagnostics: List[str]
2452
2567
  :param _request_timeout: timeout setting for this request. If one
2453
2568
  number provided, it will be total request
2454
2569
  timeout. It can also be a pair (tuple) of
@@ -2474,6 +2589,7 @@ class PublicationsPypiApi:
2474
2589
  _param = self._remove_role_serialize(
2475
2590
  python_python_publication_href=python_python_publication_href,
2476
2591
  nested_role=nested_role,
2592
+ x_task_diagnostics=x_task_diagnostics,
2477
2593
  _request_auth=_request_auth,
2478
2594
  _content_type=_content_type,
2479
2595
  _headers=_headers,
@@ -2499,6 +2615,7 @@ class PublicationsPypiApi:
2499
2615
  self,
2500
2616
  python_python_publication_href: StrictStr,
2501
2617
  nested_role: NestedRole,
2618
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2502
2619
  _request_timeout: Union[
2503
2620
  None,
2504
2621
  Annotated[StrictFloat, Field(gt=0)],
@@ -2520,6 +2637,8 @@ class PublicationsPypiApi:
2520
2637
  :type python_python_publication_href: str
2521
2638
  :param nested_role: (required)
2522
2639
  :type nested_role: NestedRole
2640
+ :param x_task_diagnostics: List of profilers to use on tasks.
2641
+ :type x_task_diagnostics: List[str]
2523
2642
  :param _request_timeout: timeout setting for this request. If one
2524
2643
  number provided, it will be total request
2525
2644
  timeout. It can also be a pair (tuple) of
@@ -2545,6 +2664,7 @@ class PublicationsPypiApi:
2545
2664
  _param = self._remove_role_serialize(
2546
2665
  python_python_publication_href=python_python_publication_href,
2547
2666
  nested_role=nested_role,
2667
+ x_task_diagnostics=x_task_diagnostics,
2548
2668
  _request_auth=_request_auth,
2549
2669
  _content_type=_content_type,
2550
2670
  _headers=_headers,
@@ -2570,6 +2690,7 @@ class PublicationsPypiApi:
2570
2690
  self,
2571
2691
  python_python_publication_href: StrictStr,
2572
2692
  nested_role: NestedRole,
2693
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2573
2694
  _request_timeout: Union[
2574
2695
  None,
2575
2696
  Annotated[StrictFloat, Field(gt=0)],
@@ -2591,6 +2712,8 @@ class PublicationsPypiApi:
2591
2712
  :type python_python_publication_href: str
2592
2713
  :param nested_role: (required)
2593
2714
  :type nested_role: NestedRole
2715
+ :param x_task_diagnostics: List of profilers to use on tasks.
2716
+ :type x_task_diagnostics: List[str]
2594
2717
  :param _request_timeout: timeout setting for this request. If one
2595
2718
  number provided, it will be total request
2596
2719
  timeout. It can also be a pair (tuple) of
@@ -2616,6 +2739,7 @@ class PublicationsPypiApi:
2616
2739
  _param = self._remove_role_serialize(
2617
2740
  python_python_publication_href=python_python_publication_href,
2618
2741
  nested_role=nested_role,
2742
+ x_task_diagnostics=x_task_diagnostics,
2619
2743
  _request_auth=_request_auth,
2620
2744
  _content_type=_content_type,
2621
2745
  _headers=_headers,
@@ -2636,6 +2760,7 @@ class PublicationsPypiApi:
2636
2760
  self,
2637
2761
  python_python_publication_href,
2638
2762
  nested_role,
2763
+ x_task_diagnostics,
2639
2764
  _request_auth,
2640
2765
  _content_type,
2641
2766
  _headers,
@@ -2645,6 +2770,7 @@ class PublicationsPypiApi:
2645
2770
  _host = None
2646
2771
 
2647
2772
  _collection_formats: Dict[str, str] = {
2773
+ 'X-Task-Diagnostics': 'csv',
2648
2774
  }
2649
2775
 
2650
2776
  _path_params: Dict[str, str] = {}
@@ -2661,6 +2787,8 @@ class PublicationsPypiApi:
2661
2787
  _path_params['python_python_publication_href'] = python_python_publication_href
2662
2788
  # process the query parameters
2663
2789
  # process the header parameters
2790
+ if x_task_diagnostics is not None:
2791
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2664
2792
  # process the form parameters
2665
2793
  # process the body parameter
2666
2794
  if nested_role is not None: