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.

@@ -58,6 +58,7 @@ class RemotesPythonApi:
58
58
  self,
59
59
  python_python_remote_href: StrictStr,
60
60
  nested_role: NestedRole,
61
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
61
62
  _request_timeout: Union[
62
63
  None,
63
64
  Annotated[StrictFloat, Field(gt=0)],
@@ -79,6 +80,8 @@ class RemotesPythonApi:
79
80
  :type python_python_remote_href: str
80
81
  :param nested_role: (required)
81
82
  :type nested_role: NestedRole
83
+ :param x_task_diagnostics: List of profilers to use on tasks.
84
+ :type x_task_diagnostics: List[str]
82
85
  :param _request_timeout: timeout setting for this request. If one
83
86
  number provided, it will be total request
84
87
  timeout. It can also be a pair (tuple) of
@@ -104,6 +107,7 @@ class RemotesPythonApi:
104
107
  _param = self._add_role_serialize(
105
108
  python_python_remote_href=python_python_remote_href,
106
109
  nested_role=nested_role,
110
+ x_task_diagnostics=x_task_diagnostics,
107
111
  _request_auth=_request_auth,
108
112
  _content_type=_content_type,
109
113
  _headers=_headers,
@@ -129,6 +133,7 @@ class RemotesPythonApi:
129
133
  self,
130
134
  python_python_remote_href: StrictStr,
131
135
  nested_role: NestedRole,
136
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
132
137
  _request_timeout: Union[
133
138
  None,
134
139
  Annotated[StrictFloat, Field(gt=0)],
@@ -150,6 +155,8 @@ class RemotesPythonApi:
150
155
  :type python_python_remote_href: str
151
156
  :param nested_role: (required)
152
157
  :type nested_role: NestedRole
158
+ :param x_task_diagnostics: List of profilers to use on tasks.
159
+ :type x_task_diagnostics: List[str]
153
160
  :param _request_timeout: timeout setting for this request. If one
154
161
  number provided, it will be total request
155
162
  timeout. It can also be a pair (tuple) of
@@ -175,6 +182,7 @@ class RemotesPythonApi:
175
182
  _param = self._add_role_serialize(
176
183
  python_python_remote_href=python_python_remote_href,
177
184
  nested_role=nested_role,
185
+ x_task_diagnostics=x_task_diagnostics,
178
186
  _request_auth=_request_auth,
179
187
  _content_type=_content_type,
180
188
  _headers=_headers,
@@ -200,6 +208,7 @@ class RemotesPythonApi:
200
208
  self,
201
209
  python_python_remote_href: StrictStr,
202
210
  nested_role: NestedRole,
211
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
203
212
  _request_timeout: Union[
204
213
  None,
205
214
  Annotated[StrictFloat, Field(gt=0)],
@@ -221,6 +230,8 @@ class RemotesPythonApi:
221
230
  :type python_python_remote_href: str
222
231
  :param nested_role: (required)
223
232
  :type nested_role: NestedRole
233
+ :param x_task_diagnostics: List of profilers to use on tasks.
234
+ :type x_task_diagnostics: List[str]
224
235
  :param _request_timeout: timeout setting for this request. If one
225
236
  number provided, it will be total request
226
237
  timeout. It can also be a pair (tuple) of
@@ -246,6 +257,7 @@ class RemotesPythonApi:
246
257
  _param = self._add_role_serialize(
247
258
  python_python_remote_href=python_python_remote_href,
248
259
  nested_role=nested_role,
260
+ x_task_diagnostics=x_task_diagnostics,
249
261
  _request_auth=_request_auth,
250
262
  _content_type=_content_type,
251
263
  _headers=_headers,
@@ -266,6 +278,7 @@ class RemotesPythonApi:
266
278
  self,
267
279
  python_python_remote_href,
268
280
  nested_role,
281
+ x_task_diagnostics,
269
282
  _request_auth,
270
283
  _content_type,
271
284
  _headers,
@@ -275,6 +288,7 @@ class RemotesPythonApi:
275
288
  _host = None
276
289
 
277
290
  _collection_formats: Dict[str, str] = {
291
+ 'X-Task-Diagnostics': 'csv',
278
292
  }
279
293
 
280
294
  _path_params: Dict[str, str] = {}
@@ -291,6 +305,8 @@ class RemotesPythonApi:
291
305
  _path_params['python_python_remote_href'] = python_python_remote_href
292
306
  # process the query parameters
293
307
  # process the header parameters
308
+ if x_task_diagnostics is not None:
309
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
294
310
  # process the form parameters
295
311
  # process the body parameter
296
312
  if nested_role is not None:
@@ -349,6 +365,7 @@ class RemotesPythonApi:
349
365
  def create(
350
366
  self,
351
367
  python_python_remote: PythonPythonRemote,
368
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
352
369
  _request_timeout: Union[
353
370
  None,
354
371
  Annotated[StrictFloat, Field(gt=0)],
@@ -368,6 +385,8 @@ class RemotesPythonApi:
368
385
 
369
386
  :param python_python_remote: (required)
370
387
  :type python_python_remote: PythonPythonRemote
388
+ :param x_task_diagnostics: List of profilers to use on tasks.
389
+ :type x_task_diagnostics: List[str]
371
390
  :param _request_timeout: timeout setting for this request. If one
372
391
  number provided, it will be total request
373
392
  timeout. It can also be a pair (tuple) of
@@ -392,6 +411,7 @@ class RemotesPythonApi:
392
411
 
393
412
  _param = self._create_serialize(
394
413
  python_python_remote=python_python_remote,
414
+ x_task_diagnostics=x_task_diagnostics,
395
415
  _request_auth=_request_auth,
396
416
  _content_type=_content_type,
397
417
  _headers=_headers,
@@ -416,6 +436,7 @@ class RemotesPythonApi:
416
436
  def create_with_http_info(
417
437
  self,
418
438
  python_python_remote: PythonPythonRemote,
439
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
419
440
  _request_timeout: Union[
420
441
  None,
421
442
  Annotated[StrictFloat, Field(gt=0)],
@@ -435,6 +456,8 @@ class RemotesPythonApi:
435
456
 
436
457
  :param python_python_remote: (required)
437
458
  :type python_python_remote: PythonPythonRemote
459
+ :param x_task_diagnostics: List of profilers to use on tasks.
460
+ :type x_task_diagnostics: List[str]
438
461
  :param _request_timeout: timeout setting for this request. If one
439
462
  number provided, it will be total request
440
463
  timeout. It can also be a pair (tuple) of
@@ -459,6 +482,7 @@ class RemotesPythonApi:
459
482
 
460
483
  _param = self._create_serialize(
461
484
  python_python_remote=python_python_remote,
485
+ x_task_diagnostics=x_task_diagnostics,
462
486
  _request_auth=_request_auth,
463
487
  _content_type=_content_type,
464
488
  _headers=_headers,
@@ -483,6 +507,7 @@ class RemotesPythonApi:
483
507
  def create_without_preload_content(
484
508
  self,
485
509
  python_python_remote: PythonPythonRemote,
510
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
486
511
  _request_timeout: Union[
487
512
  None,
488
513
  Annotated[StrictFloat, Field(gt=0)],
@@ -502,6 +527,8 @@ class RemotesPythonApi:
502
527
 
503
528
  :param python_python_remote: (required)
504
529
  :type python_python_remote: PythonPythonRemote
530
+ :param x_task_diagnostics: List of profilers to use on tasks.
531
+ :type x_task_diagnostics: List[str]
505
532
  :param _request_timeout: timeout setting for this request. If one
506
533
  number provided, it will be total request
507
534
  timeout. It can also be a pair (tuple) of
@@ -526,6 +553,7 @@ class RemotesPythonApi:
526
553
 
527
554
  _param = self._create_serialize(
528
555
  python_python_remote=python_python_remote,
556
+ x_task_diagnostics=x_task_diagnostics,
529
557
  _request_auth=_request_auth,
530
558
  _content_type=_content_type,
531
559
  _headers=_headers,
@@ -545,6 +573,7 @@ class RemotesPythonApi:
545
573
  def _create_serialize(
546
574
  self,
547
575
  python_python_remote,
576
+ x_task_diagnostics,
548
577
  _request_auth,
549
578
  _content_type,
550
579
  _headers,
@@ -554,6 +583,7 @@ class RemotesPythonApi:
554
583
  _host = None
555
584
 
556
585
  _collection_formats: Dict[str, str] = {
586
+ 'X-Task-Diagnostics': 'csv',
557
587
  }
558
588
 
559
589
  _path_params: Dict[str, str] = {}
@@ -568,6 +598,8 @@ class RemotesPythonApi:
568
598
  # process the path parameters
569
599
  # process the query parameters
570
600
  # process the header parameters
601
+ if x_task_diagnostics is not None:
602
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
571
603
  # process the form parameters
572
604
  # process the body parameter
573
605
  if python_python_remote is not None:
@@ -626,6 +658,7 @@ class RemotesPythonApi:
626
658
  def delete(
627
659
  self,
628
660
  python_python_remote_href: StrictStr,
661
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
629
662
  _request_timeout: Union[
630
663
  None,
631
664
  Annotated[StrictFloat, Field(gt=0)],
@@ -645,6 +678,8 @@ class RemotesPythonApi:
645
678
 
646
679
  :param python_python_remote_href: (required)
647
680
  :type python_python_remote_href: str
681
+ :param x_task_diagnostics: List of profilers to use on tasks.
682
+ :type x_task_diagnostics: List[str]
648
683
  :param _request_timeout: timeout setting for this request. If one
649
684
  number provided, it will be total request
650
685
  timeout. It can also be a pair (tuple) of
@@ -669,6 +704,7 @@ class RemotesPythonApi:
669
704
 
670
705
  _param = self._delete_serialize(
671
706
  python_python_remote_href=python_python_remote_href,
707
+ x_task_diagnostics=x_task_diagnostics,
672
708
  _request_auth=_request_auth,
673
709
  _content_type=_content_type,
674
710
  _headers=_headers,
@@ -693,6 +729,7 @@ class RemotesPythonApi:
693
729
  def delete_with_http_info(
694
730
  self,
695
731
  python_python_remote_href: StrictStr,
732
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
696
733
  _request_timeout: Union[
697
734
  None,
698
735
  Annotated[StrictFloat, Field(gt=0)],
@@ -712,6 +749,8 @@ class RemotesPythonApi:
712
749
 
713
750
  :param python_python_remote_href: (required)
714
751
  :type python_python_remote_href: str
752
+ :param x_task_diagnostics: List of profilers to use on tasks.
753
+ :type x_task_diagnostics: List[str]
715
754
  :param _request_timeout: timeout setting for this request. If one
716
755
  number provided, it will be total request
717
756
  timeout. It can also be a pair (tuple) of
@@ -736,6 +775,7 @@ class RemotesPythonApi:
736
775
 
737
776
  _param = self._delete_serialize(
738
777
  python_python_remote_href=python_python_remote_href,
778
+ x_task_diagnostics=x_task_diagnostics,
739
779
  _request_auth=_request_auth,
740
780
  _content_type=_content_type,
741
781
  _headers=_headers,
@@ -760,6 +800,7 @@ class RemotesPythonApi:
760
800
  def delete_without_preload_content(
761
801
  self,
762
802
  python_python_remote_href: StrictStr,
803
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
763
804
  _request_timeout: Union[
764
805
  None,
765
806
  Annotated[StrictFloat, Field(gt=0)],
@@ -779,6 +820,8 @@ class RemotesPythonApi:
779
820
 
780
821
  :param python_python_remote_href: (required)
781
822
  :type python_python_remote_href: str
823
+ :param x_task_diagnostics: List of profilers to use on tasks.
824
+ :type x_task_diagnostics: List[str]
782
825
  :param _request_timeout: timeout setting for this request. If one
783
826
  number provided, it will be total request
784
827
  timeout. It can also be a pair (tuple) of
@@ -803,6 +846,7 @@ class RemotesPythonApi:
803
846
 
804
847
  _param = self._delete_serialize(
805
848
  python_python_remote_href=python_python_remote_href,
849
+ x_task_diagnostics=x_task_diagnostics,
806
850
  _request_auth=_request_auth,
807
851
  _content_type=_content_type,
808
852
  _headers=_headers,
@@ -822,6 +866,7 @@ class RemotesPythonApi:
822
866
  def _delete_serialize(
823
867
  self,
824
868
  python_python_remote_href,
869
+ x_task_diagnostics,
825
870
  _request_auth,
826
871
  _content_type,
827
872
  _headers,
@@ -831,6 +876,7 @@ class RemotesPythonApi:
831
876
  _host = None
832
877
 
833
878
  _collection_formats: Dict[str, str] = {
879
+ 'X-Task-Diagnostics': 'csv',
834
880
  }
835
881
 
836
882
  _path_params: Dict[str, str] = {}
@@ -847,6 +893,8 @@ class RemotesPythonApi:
847
893
  _path_params['python_python_remote_href'] = python_python_remote_href
848
894
  # process the query parameters
849
895
  # process the header parameters
896
+ if x_task_diagnostics is not None:
897
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
850
898
  # process the form parameters
851
899
  # process the body parameter
852
900
 
@@ -889,6 +937,7 @@ class RemotesPythonApi:
889
937
  self,
890
938
  config: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="A Bandersnatch config that may be used to construct a Python Remote.")],
891
939
  name: Annotated[str, Field(min_length=1, strict=True, description="A unique name for this remote")],
940
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
892
941
  policy: Annotated[Optional[Any], Field(description="The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.")] = None,
893
942
  _request_timeout: Union[
894
943
  None,
@@ -911,6 +960,8 @@ class RemotesPythonApi:
911
960
  :type config: bytearray
912
961
  :param name: A unique name for this remote (required)
913
962
  :type name: str
963
+ :param x_task_diagnostics: List of profilers to use on tasks.
964
+ :type x_task_diagnostics: List[str]
914
965
  :param policy: The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
915
966
  :type policy: PolicyEnum
916
967
  :param _request_timeout: timeout setting for this request. If one
@@ -938,6 +989,7 @@ class RemotesPythonApi:
938
989
  _param = self._from_bandersnatch_serialize(
939
990
  config=config,
940
991
  name=name,
992
+ x_task_diagnostics=x_task_diagnostics,
941
993
  policy=policy,
942
994
  _request_auth=_request_auth,
943
995
  _content_type=_content_type,
@@ -964,6 +1016,7 @@ class RemotesPythonApi:
964
1016
  self,
965
1017
  config: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="A Bandersnatch config that may be used to construct a Python Remote.")],
966
1018
  name: Annotated[str, Field(min_length=1, strict=True, description="A unique name for this remote")],
1019
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
967
1020
  policy: Annotated[Optional[Any], Field(description="The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.")] = None,
968
1021
  _request_timeout: Union[
969
1022
  None,
@@ -986,6 +1039,8 @@ class RemotesPythonApi:
986
1039
  :type config: bytearray
987
1040
  :param name: A unique name for this remote (required)
988
1041
  :type name: str
1042
+ :param x_task_diagnostics: List of profilers to use on tasks.
1043
+ :type x_task_diagnostics: List[str]
989
1044
  :param policy: The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
990
1045
  :type policy: PolicyEnum
991
1046
  :param _request_timeout: timeout setting for this request. If one
@@ -1013,6 +1068,7 @@ class RemotesPythonApi:
1013
1068
  _param = self._from_bandersnatch_serialize(
1014
1069
  config=config,
1015
1070
  name=name,
1071
+ x_task_diagnostics=x_task_diagnostics,
1016
1072
  policy=policy,
1017
1073
  _request_auth=_request_auth,
1018
1074
  _content_type=_content_type,
@@ -1039,6 +1095,7 @@ class RemotesPythonApi:
1039
1095
  self,
1040
1096
  config: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="A Bandersnatch config that may be used to construct a Python Remote.")],
1041
1097
  name: Annotated[str, Field(min_length=1, strict=True, description="A unique name for this remote")],
1098
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1042
1099
  policy: Annotated[Optional[Any], Field(description="The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.")] = None,
1043
1100
  _request_timeout: Union[
1044
1101
  None,
@@ -1061,6 +1118,8 @@ class RemotesPythonApi:
1061
1118
  :type config: bytearray
1062
1119
  :param name: A unique name for this remote (required)
1063
1120
  :type name: str
1121
+ :param x_task_diagnostics: List of profilers to use on tasks.
1122
+ :type x_task_diagnostics: List[str]
1064
1123
  :param policy: The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
1065
1124
  :type policy: PolicyEnum
1066
1125
  :param _request_timeout: timeout setting for this request. If one
@@ -1088,6 +1147,7 @@ class RemotesPythonApi:
1088
1147
  _param = self._from_bandersnatch_serialize(
1089
1148
  config=config,
1090
1149
  name=name,
1150
+ x_task_diagnostics=x_task_diagnostics,
1091
1151
  policy=policy,
1092
1152
  _request_auth=_request_auth,
1093
1153
  _content_type=_content_type,
@@ -1109,6 +1169,7 @@ class RemotesPythonApi:
1109
1169
  self,
1110
1170
  config,
1111
1171
  name,
1172
+ x_task_diagnostics,
1112
1173
  policy,
1113
1174
  _request_auth,
1114
1175
  _content_type,
@@ -1119,6 +1180,7 @@ class RemotesPythonApi:
1119
1180
  _host = None
1120
1181
 
1121
1182
  _collection_formats: Dict[str, str] = {
1183
+ 'X-Task-Diagnostics': 'csv',
1122
1184
  }
1123
1185
 
1124
1186
  _path_params: Dict[str, str] = {}
@@ -1133,6 +1195,8 @@ class RemotesPythonApi:
1133
1195
  # process the path parameters
1134
1196
  # process the query parameters
1135
1197
  # process the header parameters
1198
+ if x_task_diagnostics is not None:
1199
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1136
1200
  # process the form parameters
1137
1201
  if config is not None:
1138
1202
  _files['config'] = config
@@ -1193,6 +1257,7 @@ class RemotesPythonApi:
1193
1257
  @validate_call
1194
1258
  def list(
1195
1259
  self,
1260
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1196
1261
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
1197
1262
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
1198
1263
  name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
@@ -1236,6 +1301,8 @@ class RemotesPythonApi:
1236
1301
 
1237
1302
  Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
1238
1303
 
1304
+ :param x_task_diagnostics: List of profilers to use on tasks.
1305
+ :type x_task_diagnostics: List[str]
1239
1306
  :param limit: Number of results to return per page.
1240
1307
  :type limit: int
1241
1308
  :param name: Filter results where name matches value
@@ -1311,6 +1378,7 @@ class RemotesPythonApi:
1311
1378
  """ # noqa: E501
1312
1379
 
1313
1380
  _param = self._list_serialize(
1381
+ x_task_diagnostics=x_task_diagnostics,
1314
1382
  limit=limit,
1315
1383
  name=name,
1316
1384
  name__contains=name__contains,
@@ -1360,6 +1428,7 @@ class RemotesPythonApi:
1360
1428
  @validate_call
1361
1429
  def list_with_http_info(
1362
1430
  self,
1431
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1363
1432
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
1364
1433
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
1365
1434
  name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
@@ -1403,6 +1472,8 @@ class RemotesPythonApi:
1403
1472
 
1404
1473
  Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
1405
1474
 
1475
+ :param x_task_diagnostics: List of profilers to use on tasks.
1476
+ :type x_task_diagnostics: List[str]
1406
1477
  :param limit: Number of results to return per page.
1407
1478
  :type limit: int
1408
1479
  :param name: Filter results where name matches value
@@ -1478,6 +1549,7 @@ class RemotesPythonApi:
1478
1549
  """ # noqa: E501
1479
1550
 
1480
1551
  _param = self._list_serialize(
1552
+ x_task_diagnostics=x_task_diagnostics,
1481
1553
  limit=limit,
1482
1554
  name=name,
1483
1555
  name__contains=name__contains,
@@ -1527,6 +1599,7 @@ class RemotesPythonApi:
1527
1599
  @validate_call
1528
1600
  def list_without_preload_content(
1529
1601
  self,
1602
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1530
1603
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
1531
1604
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
1532
1605
  name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
@@ -1570,6 +1643,8 @@ class RemotesPythonApi:
1570
1643
 
1571
1644
  Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
1572
1645
 
1646
+ :param x_task_diagnostics: List of profilers to use on tasks.
1647
+ :type x_task_diagnostics: List[str]
1573
1648
  :param limit: Number of results to return per page.
1574
1649
  :type limit: int
1575
1650
  :param name: Filter results where name matches value
@@ -1645,6 +1720,7 @@ class RemotesPythonApi:
1645
1720
  """ # noqa: E501
1646
1721
 
1647
1722
  _param = self._list_serialize(
1723
+ x_task_diagnostics=x_task_diagnostics,
1648
1724
  limit=limit,
1649
1725
  name=name,
1650
1726
  name__contains=name__contains,
@@ -1689,6 +1765,7 @@ class RemotesPythonApi:
1689
1765
 
1690
1766
  def _list_serialize(
1691
1767
  self,
1768
+ x_task_diagnostics,
1692
1769
  limit,
1693
1770
  name,
1694
1771
  name__contains,
@@ -1724,6 +1801,7 @@ class RemotesPythonApi:
1724
1801
  _host = None
1725
1802
 
1726
1803
  _collection_formats: Dict[str, str] = {
1804
+ 'X-Task-Diagnostics': 'csv',
1727
1805
  'name__in': 'csv',
1728
1806
  'ordering': 'csv',
1729
1807
  'prn__in': 'csv',
@@ -1895,6 +1973,8 @@ class RemotesPythonApi:
1895
1973
  _query_params.append(('exclude_fields', exclude_fields))
1896
1974
 
1897
1975
  # process the header parameters
1976
+ if x_task_diagnostics is not None:
1977
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1898
1978
  # process the form parameters
1899
1979
  # process the body parameter
1900
1980
 
@@ -1936,6 +2016,7 @@ class RemotesPythonApi:
1936
2016
  def list_roles(
1937
2017
  self,
1938
2018
  python_python_remote_href: StrictStr,
2019
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1939
2020
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1940
2021
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1941
2022
  _request_timeout: Union[
@@ -1957,6 +2038,8 @@ class RemotesPythonApi:
1957
2038
 
1958
2039
  :param python_python_remote_href: (required)
1959
2040
  :type python_python_remote_href: str
2041
+ :param x_task_diagnostics: List of profilers to use on tasks.
2042
+ :type x_task_diagnostics: List[str]
1960
2043
  :param fields: A list of fields to include in the response.
1961
2044
  :type fields: List[str]
1962
2045
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1985,6 +2068,7 @@ class RemotesPythonApi:
1985
2068
 
1986
2069
  _param = self._list_roles_serialize(
1987
2070
  python_python_remote_href=python_python_remote_href,
2071
+ x_task_diagnostics=x_task_diagnostics,
1988
2072
  fields=fields,
1989
2073
  exclude_fields=exclude_fields,
1990
2074
  _request_auth=_request_auth,
@@ -2011,6 +2095,7 @@ class RemotesPythonApi:
2011
2095
  def list_roles_with_http_info(
2012
2096
  self,
2013
2097
  python_python_remote_href: StrictStr,
2098
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2014
2099
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2015
2100
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2016
2101
  _request_timeout: Union[
@@ -2032,6 +2117,8 @@ class RemotesPythonApi:
2032
2117
 
2033
2118
  :param python_python_remote_href: (required)
2034
2119
  :type python_python_remote_href: str
2120
+ :param x_task_diagnostics: List of profilers to use on tasks.
2121
+ :type x_task_diagnostics: List[str]
2035
2122
  :param fields: A list of fields to include in the response.
2036
2123
  :type fields: List[str]
2037
2124
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2060,6 +2147,7 @@ class RemotesPythonApi:
2060
2147
 
2061
2148
  _param = self._list_roles_serialize(
2062
2149
  python_python_remote_href=python_python_remote_href,
2150
+ x_task_diagnostics=x_task_diagnostics,
2063
2151
  fields=fields,
2064
2152
  exclude_fields=exclude_fields,
2065
2153
  _request_auth=_request_auth,
@@ -2086,6 +2174,7 @@ class RemotesPythonApi:
2086
2174
  def list_roles_without_preload_content(
2087
2175
  self,
2088
2176
  python_python_remote_href: StrictStr,
2177
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2089
2178
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2090
2179
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2091
2180
  _request_timeout: Union[
@@ -2107,6 +2196,8 @@ class RemotesPythonApi:
2107
2196
 
2108
2197
  :param python_python_remote_href: (required)
2109
2198
  :type python_python_remote_href: str
2199
+ :param x_task_diagnostics: List of profilers to use on tasks.
2200
+ :type x_task_diagnostics: List[str]
2110
2201
  :param fields: A list of fields to include in the response.
2111
2202
  :type fields: List[str]
2112
2203
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2135,6 +2226,7 @@ class RemotesPythonApi:
2135
2226
 
2136
2227
  _param = self._list_roles_serialize(
2137
2228
  python_python_remote_href=python_python_remote_href,
2229
+ x_task_diagnostics=x_task_diagnostics,
2138
2230
  fields=fields,
2139
2231
  exclude_fields=exclude_fields,
2140
2232
  _request_auth=_request_auth,
@@ -2156,6 +2248,7 @@ class RemotesPythonApi:
2156
2248
  def _list_roles_serialize(
2157
2249
  self,
2158
2250
  python_python_remote_href,
2251
+ x_task_diagnostics,
2159
2252
  fields,
2160
2253
  exclude_fields,
2161
2254
  _request_auth,
@@ -2167,6 +2260,7 @@ class RemotesPythonApi:
2167
2260
  _host = None
2168
2261
 
2169
2262
  _collection_formats: Dict[str, str] = {
2263
+ 'X-Task-Diagnostics': 'csv',
2170
2264
  'fields': 'multi',
2171
2265
  'exclude_fields': 'multi',
2172
2266
  }
@@ -2193,6 +2287,8 @@ class RemotesPythonApi:
2193
2287
  _query_params.append(('exclude_fields', exclude_fields))
2194
2288
 
2195
2289
  # process the header parameters
2290
+ if x_task_diagnostics is not None:
2291
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2196
2292
  # process the form parameters
2197
2293
  # process the body parameter
2198
2294
 
@@ -2234,6 +2330,7 @@ class RemotesPythonApi:
2234
2330
  def my_permissions(
2235
2331
  self,
2236
2332
  python_python_remote_href: StrictStr,
2333
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2237
2334
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2238
2335
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2239
2336
  _request_timeout: Union[
@@ -2255,6 +2352,8 @@ class RemotesPythonApi:
2255
2352
 
2256
2353
  :param python_python_remote_href: (required)
2257
2354
  :type python_python_remote_href: str
2355
+ :param x_task_diagnostics: List of profilers to use on tasks.
2356
+ :type x_task_diagnostics: List[str]
2258
2357
  :param fields: A list of fields to include in the response.
2259
2358
  :type fields: List[str]
2260
2359
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2283,6 +2382,7 @@ class RemotesPythonApi:
2283
2382
 
2284
2383
  _param = self._my_permissions_serialize(
2285
2384
  python_python_remote_href=python_python_remote_href,
2385
+ x_task_diagnostics=x_task_diagnostics,
2286
2386
  fields=fields,
2287
2387
  exclude_fields=exclude_fields,
2288
2388
  _request_auth=_request_auth,
@@ -2309,6 +2409,7 @@ class RemotesPythonApi:
2309
2409
  def my_permissions_with_http_info(
2310
2410
  self,
2311
2411
  python_python_remote_href: StrictStr,
2412
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2312
2413
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2313
2414
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2314
2415
  _request_timeout: Union[
@@ -2330,6 +2431,8 @@ class RemotesPythonApi:
2330
2431
 
2331
2432
  :param python_python_remote_href: (required)
2332
2433
  :type python_python_remote_href: str
2434
+ :param x_task_diagnostics: List of profilers to use on tasks.
2435
+ :type x_task_diagnostics: List[str]
2333
2436
  :param fields: A list of fields to include in the response.
2334
2437
  :type fields: List[str]
2335
2438
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2358,6 +2461,7 @@ class RemotesPythonApi:
2358
2461
 
2359
2462
  _param = self._my_permissions_serialize(
2360
2463
  python_python_remote_href=python_python_remote_href,
2464
+ x_task_diagnostics=x_task_diagnostics,
2361
2465
  fields=fields,
2362
2466
  exclude_fields=exclude_fields,
2363
2467
  _request_auth=_request_auth,
@@ -2384,6 +2488,7 @@ class RemotesPythonApi:
2384
2488
  def my_permissions_without_preload_content(
2385
2489
  self,
2386
2490
  python_python_remote_href: StrictStr,
2491
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2387
2492
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2388
2493
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2389
2494
  _request_timeout: Union[
@@ -2405,6 +2510,8 @@ class RemotesPythonApi:
2405
2510
 
2406
2511
  :param python_python_remote_href: (required)
2407
2512
  :type python_python_remote_href: str
2513
+ :param x_task_diagnostics: List of profilers to use on tasks.
2514
+ :type x_task_diagnostics: List[str]
2408
2515
  :param fields: A list of fields to include in the response.
2409
2516
  :type fields: List[str]
2410
2517
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2433,6 +2540,7 @@ class RemotesPythonApi:
2433
2540
 
2434
2541
  _param = self._my_permissions_serialize(
2435
2542
  python_python_remote_href=python_python_remote_href,
2543
+ x_task_diagnostics=x_task_diagnostics,
2436
2544
  fields=fields,
2437
2545
  exclude_fields=exclude_fields,
2438
2546
  _request_auth=_request_auth,
@@ -2454,6 +2562,7 @@ class RemotesPythonApi:
2454
2562
  def _my_permissions_serialize(
2455
2563
  self,
2456
2564
  python_python_remote_href,
2565
+ x_task_diagnostics,
2457
2566
  fields,
2458
2567
  exclude_fields,
2459
2568
  _request_auth,
@@ -2465,6 +2574,7 @@ class RemotesPythonApi:
2465
2574
  _host = None
2466
2575
 
2467
2576
  _collection_formats: Dict[str, str] = {
2577
+ 'X-Task-Diagnostics': 'csv',
2468
2578
  'fields': 'multi',
2469
2579
  'exclude_fields': 'multi',
2470
2580
  }
@@ -2491,6 +2601,8 @@ class RemotesPythonApi:
2491
2601
  _query_params.append(('exclude_fields', exclude_fields))
2492
2602
 
2493
2603
  # process the header parameters
2604
+ if x_task_diagnostics is not None:
2605
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2494
2606
  # process the form parameters
2495
2607
  # process the body parameter
2496
2608
 
@@ -2533,6 +2645,7 @@ class RemotesPythonApi:
2533
2645
  self,
2534
2646
  python_python_remote_href: StrictStr,
2535
2647
  patchedpython_python_remote: PatchedpythonPythonRemote,
2648
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2536
2649
  _request_timeout: Union[
2537
2650
  None,
2538
2651
  Annotated[StrictFloat, Field(gt=0)],
@@ -2554,6 +2667,8 @@ class RemotesPythonApi:
2554
2667
  :type python_python_remote_href: str
2555
2668
  :param patchedpython_python_remote: (required)
2556
2669
  :type patchedpython_python_remote: PatchedpythonPythonRemote
2670
+ :param x_task_diagnostics: List of profilers to use on tasks.
2671
+ :type x_task_diagnostics: List[str]
2557
2672
  :param _request_timeout: timeout setting for this request. If one
2558
2673
  number provided, it will be total request
2559
2674
  timeout. It can also be a pair (tuple) of
@@ -2579,6 +2694,7 @@ class RemotesPythonApi:
2579
2694
  _param = self._partial_update_serialize(
2580
2695
  python_python_remote_href=python_python_remote_href,
2581
2696
  patchedpython_python_remote=patchedpython_python_remote,
2697
+ x_task_diagnostics=x_task_diagnostics,
2582
2698
  _request_auth=_request_auth,
2583
2699
  _content_type=_content_type,
2584
2700
  _headers=_headers,
@@ -2604,6 +2720,7 @@ class RemotesPythonApi:
2604
2720
  self,
2605
2721
  python_python_remote_href: StrictStr,
2606
2722
  patchedpython_python_remote: PatchedpythonPythonRemote,
2723
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2607
2724
  _request_timeout: Union[
2608
2725
  None,
2609
2726
  Annotated[StrictFloat, Field(gt=0)],
@@ -2625,6 +2742,8 @@ class RemotesPythonApi:
2625
2742
  :type python_python_remote_href: str
2626
2743
  :param patchedpython_python_remote: (required)
2627
2744
  :type patchedpython_python_remote: PatchedpythonPythonRemote
2745
+ :param x_task_diagnostics: List of profilers to use on tasks.
2746
+ :type x_task_diagnostics: List[str]
2628
2747
  :param _request_timeout: timeout setting for this request. If one
2629
2748
  number provided, it will be total request
2630
2749
  timeout. It can also be a pair (tuple) of
@@ -2650,6 +2769,7 @@ class RemotesPythonApi:
2650
2769
  _param = self._partial_update_serialize(
2651
2770
  python_python_remote_href=python_python_remote_href,
2652
2771
  patchedpython_python_remote=patchedpython_python_remote,
2772
+ x_task_diagnostics=x_task_diagnostics,
2653
2773
  _request_auth=_request_auth,
2654
2774
  _content_type=_content_type,
2655
2775
  _headers=_headers,
@@ -2675,6 +2795,7 @@ class RemotesPythonApi:
2675
2795
  self,
2676
2796
  python_python_remote_href: StrictStr,
2677
2797
  patchedpython_python_remote: PatchedpythonPythonRemote,
2798
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2678
2799
  _request_timeout: Union[
2679
2800
  None,
2680
2801
  Annotated[StrictFloat, Field(gt=0)],
@@ -2696,6 +2817,8 @@ class RemotesPythonApi:
2696
2817
  :type python_python_remote_href: str
2697
2818
  :param patchedpython_python_remote: (required)
2698
2819
  :type patchedpython_python_remote: PatchedpythonPythonRemote
2820
+ :param x_task_diagnostics: List of profilers to use on tasks.
2821
+ :type x_task_diagnostics: List[str]
2699
2822
  :param _request_timeout: timeout setting for this request. If one
2700
2823
  number provided, it will be total request
2701
2824
  timeout. It can also be a pair (tuple) of
@@ -2721,6 +2844,7 @@ class RemotesPythonApi:
2721
2844
  _param = self._partial_update_serialize(
2722
2845
  python_python_remote_href=python_python_remote_href,
2723
2846
  patchedpython_python_remote=patchedpython_python_remote,
2847
+ x_task_diagnostics=x_task_diagnostics,
2724
2848
  _request_auth=_request_auth,
2725
2849
  _content_type=_content_type,
2726
2850
  _headers=_headers,
@@ -2741,6 +2865,7 @@ class RemotesPythonApi:
2741
2865
  self,
2742
2866
  python_python_remote_href,
2743
2867
  patchedpython_python_remote,
2868
+ x_task_diagnostics,
2744
2869
  _request_auth,
2745
2870
  _content_type,
2746
2871
  _headers,
@@ -2750,6 +2875,7 @@ class RemotesPythonApi:
2750
2875
  _host = None
2751
2876
 
2752
2877
  _collection_formats: Dict[str, str] = {
2878
+ 'X-Task-Diagnostics': 'csv',
2753
2879
  }
2754
2880
 
2755
2881
  _path_params: Dict[str, str] = {}
@@ -2766,6 +2892,8 @@ class RemotesPythonApi:
2766
2892
  _path_params['python_python_remote_href'] = python_python_remote_href
2767
2893
  # process the query parameters
2768
2894
  # process the header parameters
2895
+ if x_task_diagnostics is not None:
2896
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2769
2897
  # process the form parameters
2770
2898
  # process the body parameter
2771
2899
  if patchedpython_python_remote is not None:
@@ -2824,6 +2952,7 @@ class RemotesPythonApi:
2824
2952
  def read(
2825
2953
  self,
2826
2954
  python_python_remote_href: StrictStr,
2955
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2827
2956
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2828
2957
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2829
2958
  _request_timeout: Union[
@@ -2845,6 +2974,8 @@ class RemotesPythonApi:
2845
2974
 
2846
2975
  :param python_python_remote_href: (required)
2847
2976
  :type python_python_remote_href: str
2977
+ :param x_task_diagnostics: List of profilers to use on tasks.
2978
+ :type x_task_diagnostics: List[str]
2848
2979
  :param fields: A list of fields to include in the response.
2849
2980
  :type fields: List[str]
2850
2981
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2873,6 +3004,7 @@ class RemotesPythonApi:
2873
3004
 
2874
3005
  _param = self._read_serialize(
2875
3006
  python_python_remote_href=python_python_remote_href,
3007
+ x_task_diagnostics=x_task_diagnostics,
2876
3008
  fields=fields,
2877
3009
  exclude_fields=exclude_fields,
2878
3010
  _request_auth=_request_auth,
@@ -2899,6 +3031,7 @@ class RemotesPythonApi:
2899
3031
  def read_with_http_info(
2900
3032
  self,
2901
3033
  python_python_remote_href: StrictStr,
3034
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2902
3035
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2903
3036
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2904
3037
  _request_timeout: Union[
@@ -2920,6 +3053,8 @@ class RemotesPythonApi:
2920
3053
 
2921
3054
  :param python_python_remote_href: (required)
2922
3055
  :type python_python_remote_href: str
3056
+ :param x_task_diagnostics: List of profilers to use on tasks.
3057
+ :type x_task_diagnostics: List[str]
2923
3058
  :param fields: A list of fields to include in the response.
2924
3059
  :type fields: List[str]
2925
3060
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2948,6 +3083,7 @@ class RemotesPythonApi:
2948
3083
 
2949
3084
  _param = self._read_serialize(
2950
3085
  python_python_remote_href=python_python_remote_href,
3086
+ x_task_diagnostics=x_task_diagnostics,
2951
3087
  fields=fields,
2952
3088
  exclude_fields=exclude_fields,
2953
3089
  _request_auth=_request_auth,
@@ -2974,6 +3110,7 @@ class RemotesPythonApi:
2974
3110
  def read_without_preload_content(
2975
3111
  self,
2976
3112
  python_python_remote_href: StrictStr,
3113
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2977
3114
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2978
3115
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2979
3116
  _request_timeout: Union[
@@ -2995,6 +3132,8 @@ class RemotesPythonApi:
2995
3132
 
2996
3133
  :param python_python_remote_href: (required)
2997
3134
  :type python_python_remote_href: str
3135
+ :param x_task_diagnostics: List of profilers to use on tasks.
3136
+ :type x_task_diagnostics: List[str]
2998
3137
  :param fields: A list of fields to include in the response.
2999
3138
  :type fields: List[str]
3000
3139
  :param exclude_fields: A list of fields to exclude from the response.
@@ -3023,6 +3162,7 @@ class RemotesPythonApi:
3023
3162
 
3024
3163
  _param = self._read_serialize(
3025
3164
  python_python_remote_href=python_python_remote_href,
3165
+ x_task_diagnostics=x_task_diagnostics,
3026
3166
  fields=fields,
3027
3167
  exclude_fields=exclude_fields,
3028
3168
  _request_auth=_request_auth,
@@ -3044,6 +3184,7 @@ class RemotesPythonApi:
3044
3184
  def _read_serialize(
3045
3185
  self,
3046
3186
  python_python_remote_href,
3187
+ x_task_diagnostics,
3047
3188
  fields,
3048
3189
  exclude_fields,
3049
3190
  _request_auth,
@@ -3055,6 +3196,7 @@ class RemotesPythonApi:
3055
3196
  _host = None
3056
3197
 
3057
3198
  _collection_formats: Dict[str, str] = {
3199
+ 'X-Task-Diagnostics': 'csv',
3058
3200
  'fields': 'multi',
3059
3201
  'exclude_fields': 'multi',
3060
3202
  }
@@ -3081,6 +3223,8 @@ class RemotesPythonApi:
3081
3223
  _query_params.append(('exclude_fields', exclude_fields))
3082
3224
 
3083
3225
  # process the header parameters
3226
+ if x_task_diagnostics is not None:
3227
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
3084
3228
  # process the form parameters
3085
3229
  # process the body parameter
3086
3230
 
@@ -3123,6 +3267,7 @@ class RemotesPythonApi:
3123
3267
  self,
3124
3268
  python_python_remote_href: StrictStr,
3125
3269
  nested_role: NestedRole,
3270
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3126
3271
  _request_timeout: Union[
3127
3272
  None,
3128
3273
  Annotated[StrictFloat, Field(gt=0)],
@@ -3144,6 +3289,8 @@ class RemotesPythonApi:
3144
3289
  :type python_python_remote_href: str
3145
3290
  :param nested_role: (required)
3146
3291
  :type nested_role: NestedRole
3292
+ :param x_task_diagnostics: List of profilers to use on tasks.
3293
+ :type x_task_diagnostics: List[str]
3147
3294
  :param _request_timeout: timeout setting for this request. If one
3148
3295
  number provided, it will be total request
3149
3296
  timeout. It can also be a pair (tuple) of
@@ -3169,6 +3316,7 @@ class RemotesPythonApi:
3169
3316
  _param = self._remove_role_serialize(
3170
3317
  python_python_remote_href=python_python_remote_href,
3171
3318
  nested_role=nested_role,
3319
+ x_task_diagnostics=x_task_diagnostics,
3172
3320
  _request_auth=_request_auth,
3173
3321
  _content_type=_content_type,
3174
3322
  _headers=_headers,
@@ -3194,6 +3342,7 @@ class RemotesPythonApi:
3194
3342
  self,
3195
3343
  python_python_remote_href: StrictStr,
3196
3344
  nested_role: NestedRole,
3345
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3197
3346
  _request_timeout: Union[
3198
3347
  None,
3199
3348
  Annotated[StrictFloat, Field(gt=0)],
@@ -3215,6 +3364,8 @@ class RemotesPythonApi:
3215
3364
  :type python_python_remote_href: str
3216
3365
  :param nested_role: (required)
3217
3366
  :type nested_role: NestedRole
3367
+ :param x_task_diagnostics: List of profilers to use on tasks.
3368
+ :type x_task_diagnostics: List[str]
3218
3369
  :param _request_timeout: timeout setting for this request. If one
3219
3370
  number provided, it will be total request
3220
3371
  timeout. It can also be a pair (tuple) of
@@ -3240,6 +3391,7 @@ class RemotesPythonApi:
3240
3391
  _param = self._remove_role_serialize(
3241
3392
  python_python_remote_href=python_python_remote_href,
3242
3393
  nested_role=nested_role,
3394
+ x_task_diagnostics=x_task_diagnostics,
3243
3395
  _request_auth=_request_auth,
3244
3396
  _content_type=_content_type,
3245
3397
  _headers=_headers,
@@ -3265,6 +3417,7 @@ class RemotesPythonApi:
3265
3417
  self,
3266
3418
  python_python_remote_href: StrictStr,
3267
3419
  nested_role: NestedRole,
3420
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3268
3421
  _request_timeout: Union[
3269
3422
  None,
3270
3423
  Annotated[StrictFloat, Field(gt=0)],
@@ -3286,6 +3439,8 @@ class RemotesPythonApi:
3286
3439
  :type python_python_remote_href: str
3287
3440
  :param nested_role: (required)
3288
3441
  :type nested_role: NestedRole
3442
+ :param x_task_diagnostics: List of profilers to use on tasks.
3443
+ :type x_task_diagnostics: List[str]
3289
3444
  :param _request_timeout: timeout setting for this request. If one
3290
3445
  number provided, it will be total request
3291
3446
  timeout. It can also be a pair (tuple) of
@@ -3311,6 +3466,7 @@ class RemotesPythonApi:
3311
3466
  _param = self._remove_role_serialize(
3312
3467
  python_python_remote_href=python_python_remote_href,
3313
3468
  nested_role=nested_role,
3469
+ x_task_diagnostics=x_task_diagnostics,
3314
3470
  _request_auth=_request_auth,
3315
3471
  _content_type=_content_type,
3316
3472
  _headers=_headers,
@@ -3331,6 +3487,7 @@ class RemotesPythonApi:
3331
3487
  self,
3332
3488
  python_python_remote_href,
3333
3489
  nested_role,
3490
+ x_task_diagnostics,
3334
3491
  _request_auth,
3335
3492
  _content_type,
3336
3493
  _headers,
@@ -3340,6 +3497,7 @@ class RemotesPythonApi:
3340
3497
  _host = None
3341
3498
 
3342
3499
  _collection_formats: Dict[str, str] = {
3500
+ 'X-Task-Diagnostics': 'csv',
3343
3501
  }
3344
3502
 
3345
3503
  _path_params: Dict[str, str] = {}
@@ -3356,6 +3514,8 @@ class RemotesPythonApi:
3356
3514
  _path_params['python_python_remote_href'] = python_python_remote_href
3357
3515
  # process the query parameters
3358
3516
  # process the header parameters
3517
+ if x_task_diagnostics is not None:
3518
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
3359
3519
  # process the form parameters
3360
3520
  # process the body parameter
3361
3521
  if nested_role is not None:
@@ -3415,6 +3575,7 @@ class RemotesPythonApi:
3415
3575
  self,
3416
3576
  python_python_remote_href: StrictStr,
3417
3577
  set_label: SetLabel,
3578
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3418
3579
  _request_timeout: Union[
3419
3580
  None,
3420
3581
  Annotated[StrictFloat, Field(gt=0)],
@@ -3436,6 +3597,8 @@ class RemotesPythonApi:
3436
3597
  :type python_python_remote_href: str
3437
3598
  :param set_label: (required)
3438
3599
  :type set_label: SetLabel
3600
+ :param x_task_diagnostics: List of profilers to use on tasks.
3601
+ :type x_task_diagnostics: List[str]
3439
3602
  :param _request_timeout: timeout setting for this request. If one
3440
3603
  number provided, it will be total request
3441
3604
  timeout. It can also be a pair (tuple) of
@@ -3461,6 +3624,7 @@ class RemotesPythonApi:
3461
3624
  _param = self._set_label_serialize(
3462
3625
  python_python_remote_href=python_python_remote_href,
3463
3626
  set_label=set_label,
3627
+ x_task_diagnostics=x_task_diagnostics,
3464
3628
  _request_auth=_request_auth,
3465
3629
  _content_type=_content_type,
3466
3630
  _headers=_headers,
@@ -3486,6 +3650,7 @@ class RemotesPythonApi:
3486
3650
  self,
3487
3651
  python_python_remote_href: StrictStr,
3488
3652
  set_label: SetLabel,
3653
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3489
3654
  _request_timeout: Union[
3490
3655
  None,
3491
3656
  Annotated[StrictFloat, Field(gt=0)],
@@ -3507,6 +3672,8 @@ class RemotesPythonApi:
3507
3672
  :type python_python_remote_href: str
3508
3673
  :param set_label: (required)
3509
3674
  :type set_label: SetLabel
3675
+ :param x_task_diagnostics: List of profilers to use on tasks.
3676
+ :type x_task_diagnostics: List[str]
3510
3677
  :param _request_timeout: timeout setting for this request. If one
3511
3678
  number provided, it will be total request
3512
3679
  timeout. It can also be a pair (tuple) of
@@ -3532,6 +3699,7 @@ class RemotesPythonApi:
3532
3699
  _param = self._set_label_serialize(
3533
3700
  python_python_remote_href=python_python_remote_href,
3534
3701
  set_label=set_label,
3702
+ x_task_diagnostics=x_task_diagnostics,
3535
3703
  _request_auth=_request_auth,
3536
3704
  _content_type=_content_type,
3537
3705
  _headers=_headers,
@@ -3557,6 +3725,7 @@ class RemotesPythonApi:
3557
3725
  self,
3558
3726
  python_python_remote_href: StrictStr,
3559
3727
  set_label: SetLabel,
3728
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3560
3729
  _request_timeout: Union[
3561
3730
  None,
3562
3731
  Annotated[StrictFloat, Field(gt=0)],
@@ -3578,6 +3747,8 @@ class RemotesPythonApi:
3578
3747
  :type python_python_remote_href: str
3579
3748
  :param set_label: (required)
3580
3749
  :type set_label: SetLabel
3750
+ :param x_task_diagnostics: List of profilers to use on tasks.
3751
+ :type x_task_diagnostics: List[str]
3581
3752
  :param _request_timeout: timeout setting for this request. If one
3582
3753
  number provided, it will be total request
3583
3754
  timeout. It can also be a pair (tuple) of
@@ -3603,6 +3774,7 @@ class RemotesPythonApi:
3603
3774
  _param = self._set_label_serialize(
3604
3775
  python_python_remote_href=python_python_remote_href,
3605
3776
  set_label=set_label,
3777
+ x_task_diagnostics=x_task_diagnostics,
3606
3778
  _request_auth=_request_auth,
3607
3779
  _content_type=_content_type,
3608
3780
  _headers=_headers,
@@ -3623,6 +3795,7 @@ class RemotesPythonApi:
3623
3795
  self,
3624
3796
  python_python_remote_href,
3625
3797
  set_label,
3798
+ x_task_diagnostics,
3626
3799
  _request_auth,
3627
3800
  _content_type,
3628
3801
  _headers,
@@ -3632,6 +3805,7 @@ class RemotesPythonApi:
3632
3805
  _host = None
3633
3806
 
3634
3807
  _collection_formats: Dict[str, str] = {
3808
+ 'X-Task-Diagnostics': 'csv',
3635
3809
  }
3636
3810
 
3637
3811
  _path_params: Dict[str, str] = {}
@@ -3648,6 +3822,8 @@ class RemotesPythonApi:
3648
3822
  _path_params['python_python_remote_href'] = python_python_remote_href
3649
3823
  # process the query parameters
3650
3824
  # process the header parameters
3825
+ if x_task_diagnostics is not None:
3826
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
3651
3827
  # process the form parameters
3652
3828
  # process the body parameter
3653
3829
  if set_label is not None:
@@ -3707,6 +3883,7 @@ class RemotesPythonApi:
3707
3883
  self,
3708
3884
  python_python_remote_href: StrictStr,
3709
3885
  unset_label: UnsetLabel,
3886
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3710
3887
  _request_timeout: Union[
3711
3888
  None,
3712
3889
  Annotated[StrictFloat, Field(gt=0)],
@@ -3728,6 +3905,8 @@ class RemotesPythonApi:
3728
3905
  :type python_python_remote_href: str
3729
3906
  :param unset_label: (required)
3730
3907
  :type unset_label: UnsetLabel
3908
+ :param x_task_diagnostics: List of profilers to use on tasks.
3909
+ :type x_task_diagnostics: List[str]
3731
3910
  :param _request_timeout: timeout setting for this request. If one
3732
3911
  number provided, it will be total request
3733
3912
  timeout. It can also be a pair (tuple) of
@@ -3753,6 +3932,7 @@ class RemotesPythonApi:
3753
3932
  _param = self._unset_label_serialize(
3754
3933
  python_python_remote_href=python_python_remote_href,
3755
3934
  unset_label=unset_label,
3935
+ x_task_diagnostics=x_task_diagnostics,
3756
3936
  _request_auth=_request_auth,
3757
3937
  _content_type=_content_type,
3758
3938
  _headers=_headers,
@@ -3778,6 +3958,7 @@ class RemotesPythonApi:
3778
3958
  self,
3779
3959
  python_python_remote_href: StrictStr,
3780
3960
  unset_label: UnsetLabel,
3961
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3781
3962
  _request_timeout: Union[
3782
3963
  None,
3783
3964
  Annotated[StrictFloat, Field(gt=0)],
@@ -3799,6 +3980,8 @@ class RemotesPythonApi:
3799
3980
  :type python_python_remote_href: str
3800
3981
  :param unset_label: (required)
3801
3982
  :type unset_label: UnsetLabel
3983
+ :param x_task_diagnostics: List of profilers to use on tasks.
3984
+ :type x_task_diagnostics: List[str]
3802
3985
  :param _request_timeout: timeout setting for this request. If one
3803
3986
  number provided, it will be total request
3804
3987
  timeout. It can also be a pair (tuple) of
@@ -3824,6 +4007,7 @@ class RemotesPythonApi:
3824
4007
  _param = self._unset_label_serialize(
3825
4008
  python_python_remote_href=python_python_remote_href,
3826
4009
  unset_label=unset_label,
4010
+ x_task_diagnostics=x_task_diagnostics,
3827
4011
  _request_auth=_request_auth,
3828
4012
  _content_type=_content_type,
3829
4013
  _headers=_headers,
@@ -3849,6 +4033,7 @@ class RemotesPythonApi:
3849
4033
  self,
3850
4034
  python_python_remote_href: StrictStr,
3851
4035
  unset_label: UnsetLabel,
4036
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3852
4037
  _request_timeout: Union[
3853
4038
  None,
3854
4039
  Annotated[StrictFloat, Field(gt=0)],
@@ -3870,6 +4055,8 @@ class RemotesPythonApi:
3870
4055
  :type python_python_remote_href: str
3871
4056
  :param unset_label: (required)
3872
4057
  :type unset_label: UnsetLabel
4058
+ :param x_task_diagnostics: List of profilers to use on tasks.
4059
+ :type x_task_diagnostics: List[str]
3873
4060
  :param _request_timeout: timeout setting for this request. If one
3874
4061
  number provided, it will be total request
3875
4062
  timeout. It can also be a pair (tuple) of
@@ -3895,6 +4082,7 @@ class RemotesPythonApi:
3895
4082
  _param = self._unset_label_serialize(
3896
4083
  python_python_remote_href=python_python_remote_href,
3897
4084
  unset_label=unset_label,
4085
+ x_task_diagnostics=x_task_diagnostics,
3898
4086
  _request_auth=_request_auth,
3899
4087
  _content_type=_content_type,
3900
4088
  _headers=_headers,
@@ -3915,6 +4103,7 @@ class RemotesPythonApi:
3915
4103
  self,
3916
4104
  python_python_remote_href,
3917
4105
  unset_label,
4106
+ x_task_diagnostics,
3918
4107
  _request_auth,
3919
4108
  _content_type,
3920
4109
  _headers,
@@ -3924,6 +4113,7 @@ class RemotesPythonApi:
3924
4113
  _host = None
3925
4114
 
3926
4115
  _collection_formats: Dict[str, str] = {
4116
+ 'X-Task-Diagnostics': 'csv',
3927
4117
  }
3928
4118
 
3929
4119
  _path_params: Dict[str, str] = {}
@@ -3940,6 +4130,8 @@ class RemotesPythonApi:
3940
4130
  _path_params['python_python_remote_href'] = python_python_remote_href
3941
4131
  # process the query parameters
3942
4132
  # process the header parameters
4133
+ if x_task_diagnostics is not None:
4134
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
3943
4135
  # process the form parameters
3944
4136
  # process the body parameter
3945
4137
  if unset_label is not None:
@@ -3999,6 +4191,7 @@ class RemotesPythonApi:
3999
4191
  self,
4000
4192
  python_python_remote_href: StrictStr,
4001
4193
  python_python_remote: PythonPythonRemote,
4194
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
4002
4195
  _request_timeout: Union[
4003
4196
  None,
4004
4197
  Annotated[StrictFloat, Field(gt=0)],
@@ -4020,6 +4213,8 @@ class RemotesPythonApi:
4020
4213
  :type python_python_remote_href: str
4021
4214
  :param python_python_remote: (required)
4022
4215
  :type python_python_remote: PythonPythonRemote
4216
+ :param x_task_diagnostics: List of profilers to use on tasks.
4217
+ :type x_task_diagnostics: List[str]
4023
4218
  :param _request_timeout: timeout setting for this request. If one
4024
4219
  number provided, it will be total request
4025
4220
  timeout. It can also be a pair (tuple) of
@@ -4045,6 +4240,7 @@ class RemotesPythonApi:
4045
4240
  _param = self._update_serialize(
4046
4241
  python_python_remote_href=python_python_remote_href,
4047
4242
  python_python_remote=python_python_remote,
4243
+ x_task_diagnostics=x_task_diagnostics,
4048
4244
  _request_auth=_request_auth,
4049
4245
  _content_type=_content_type,
4050
4246
  _headers=_headers,
@@ -4070,6 +4266,7 @@ class RemotesPythonApi:
4070
4266
  self,
4071
4267
  python_python_remote_href: StrictStr,
4072
4268
  python_python_remote: PythonPythonRemote,
4269
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
4073
4270
  _request_timeout: Union[
4074
4271
  None,
4075
4272
  Annotated[StrictFloat, Field(gt=0)],
@@ -4091,6 +4288,8 @@ class RemotesPythonApi:
4091
4288
  :type python_python_remote_href: str
4092
4289
  :param python_python_remote: (required)
4093
4290
  :type python_python_remote: PythonPythonRemote
4291
+ :param x_task_diagnostics: List of profilers to use on tasks.
4292
+ :type x_task_diagnostics: List[str]
4094
4293
  :param _request_timeout: timeout setting for this request. If one
4095
4294
  number provided, it will be total request
4096
4295
  timeout. It can also be a pair (tuple) of
@@ -4116,6 +4315,7 @@ class RemotesPythonApi:
4116
4315
  _param = self._update_serialize(
4117
4316
  python_python_remote_href=python_python_remote_href,
4118
4317
  python_python_remote=python_python_remote,
4318
+ x_task_diagnostics=x_task_diagnostics,
4119
4319
  _request_auth=_request_auth,
4120
4320
  _content_type=_content_type,
4121
4321
  _headers=_headers,
@@ -4141,6 +4341,7 @@ class RemotesPythonApi:
4141
4341
  self,
4142
4342
  python_python_remote_href: StrictStr,
4143
4343
  python_python_remote: PythonPythonRemote,
4344
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
4144
4345
  _request_timeout: Union[
4145
4346
  None,
4146
4347
  Annotated[StrictFloat, Field(gt=0)],
@@ -4162,6 +4363,8 @@ class RemotesPythonApi:
4162
4363
  :type python_python_remote_href: str
4163
4364
  :param python_python_remote: (required)
4164
4365
  :type python_python_remote: PythonPythonRemote
4366
+ :param x_task_diagnostics: List of profilers to use on tasks.
4367
+ :type x_task_diagnostics: List[str]
4165
4368
  :param _request_timeout: timeout setting for this request. If one
4166
4369
  number provided, it will be total request
4167
4370
  timeout. It can also be a pair (tuple) of
@@ -4187,6 +4390,7 @@ class RemotesPythonApi:
4187
4390
  _param = self._update_serialize(
4188
4391
  python_python_remote_href=python_python_remote_href,
4189
4392
  python_python_remote=python_python_remote,
4393
+ x_task_diagnostics=x_task_diagnostics,
4190
4394
  _request_auth=_request_auth,
4191
4395
  _content_type=_content_type,
4192
4396
  _headers=_headers,
@@ -4207,6 +4411,7 @@ class RemotesPythonApi:
4207
4411
  self,
4208
4412
  python_python_remote_href,
4209
4413
  python_python_remote,
4414
+ x_task_diagnostics,
4210
4415
  _request_auth,
4211
4416
  _content_type,
4212
4417
  _headers,
@@ -4216,6 +4421,7 @@ class RemotesPythonApi:
4216
4421
  _host = None
4217
4422
 
4218
4423
  _collection_formats: Dict[str, str] = {
4424
+ 'X-Task-Diagnostics': 'csv',
4219
4425
  }
4220
4426
 
4221
4427
  _path_params: Dict[str, str] = {}
@@ -4232,6 +4438,8 @@ class RemotesPythonApi:
4232
4438
  _path_params['python_python_remote_href'] = python_python_remote_href
4233
4439
  # process the query parameters
4234
4440
  # process the header parameters
4441
+ if x_task_diagnostics is not None:
4442
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
4235
4443
  # process the form parameters
4236
4444
  # process the body parameter
4237
4445
  if python_python_remote is not None: