pulpcore-client 3.80.2__py3-none-any.whl → 3.82.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulpcore-client might be problematic. Click here for more details.

Files changed (64) hide show
  1. pulpcore/client/pulpcore/__init__.py +1 -1
  2. pulpcore/client/pulpcore/api/access_policies_api.py +80 -0
  3. pulpcore/client/pulpcore/api/artifacts_api.py +64 -0
  4. pulpcore/client/pulpcore/api/content_api.py +16 -0
  5. pulpcore/client/pulpcore/api/content_openpgp_publickey_api.py +80 -0
  6. pulpcore/client/pulpcore/api/content_openpgp_publicsubkey_api.py +64 -0
  7. pulpcore/client/pulpcore/api/content_openpgp_signature_api.py +64 -0
  8. pulpcore/client/pulpcore/api/content_openpgp_userattribute_api.py +64 -0
  9. pulpcore/client/pulpcore/api/content_openpgp_userid_api.py +64 -0
  10. pulpcore/client/pulpcore/api/contentguards_api.py +16 -0
  11. pulpcore/client/pulpcore/api/contentguards_composite_api.py +160 -0
  12. pulpcore/client/pulpcore/api/contentguards_content_redirect_api.py +160 -0
  13. pulpcore/client/pulpcore/api/contentguards_header_api.py +160 -0
  14. pulpcore/client/pulpcore/api/contentguards_rbac_api.py +160 -0
  15. pulpcore/client/pulpcore/api/distributions_api.py +16 -0
  16. pulpcore/client/pulpcore/api/distributions_artifacts_api.py +32 -0
  17. pulpcore/client/pulpcore/api/distributions_openpgp_api.py +128 -0
  18. pulpcore/client/pulpcore/api/domains_api.py +144 -0
  19. pulpcore/client/pulpcore/api/exporters_filesystem_api.py +96 -0
  20. pulpcore/client/pulpcore/api/exporters_filesystem_exports_api.py +64 -0
  21. pulpcore/client/pulpcore/api/exporters_pulp_api.py +96 -0
  22. pulpcore/client/pulpcore/api/exporters_pulp_exports_api.py +64 -0
  23. pulpcore/client/pulpcore/api/groups_api.py +160 -0
  24. pulpcore/client/pulpcore/api/groups_roles_api.py +64 -0
  25. pulpcore/client/pulpcore/api/groups_users_api.py +48 -0
  26. pulpcore/client/pulpcore/api/importers_pulp_api.py +96 -0
  27. pulpcore/client/pulpcore/api/importers_pulp_import_check_api.py +19 -0
  28. pulpcore/client/pulpcore/api/importers_pulp_imports_api.py +64 -0
  29. pulpcore/client/pulpcore/api/livez_api.py +55 -0
  30. pulpcore/client/pulpcore/api/login_api.py +87 -0
  31. pulpcore/client/pulpcore/api/orphans_api.py +19 -0
  32. pulpcore/client/pulpcore/api/orphans_cleanup_api.py +19 -0
  33. pulpcore/client/pulpcore/api/publications_api.py +16 -0
  34. pulpcore/client/pulpcore/api/remotes_api.py +16 -0
  35. pulpcore/client/pulpcore/api/repair_api.py +19 -0
  36. pulpcore/client/pulpcore/api/repositories_api.py +16 -0
  37. pulpcore/client/pulpcore/api/repositories_openpgp_keyring_api.py +208 -0
  38. pulpcore/client/pulpcore/api/repositories_reclaim_space_api.py +19 -0
  39. pulpcore/client/pulpcore/api/repository_versions_api.py +16 -0
  40. pulpcore/client/pulpcore/api/roles_api.py +96 -0
  41. pulpcore/client/pulpcore/api/signing_services_api.py +32 -0
  42. pulpcore/client/pulpcore/api/status_api.py +55 -0
  43. pulpcore/client/pulpcore/api/task_groups_api.py +48 -0
  44. pulpcore/client/pulpcore/api/task_schedules_api.py +96 -0
  45. pulpcore/client/pulpcore/api/tasks_api.py +166 -6
  46. pulpcore/client/pulpcore/api/uploads_api.py +160 -0
  47. pulpcore/client/pulpcore/api/upstream_pulps_api.py +176 -0
  48. pulpcore/client/pulpcore/api/users_api.py +96 -0
  49. pulpcore/client/pulpcore/api/users_roles_api.py +64 -0
  50. pulpcore/client/pulpcore/api/workers_api.py +32 -0
  51. pulpcore/client/pulpcore/api_client.py +1 -1
  52. pulpcore/client/pulpcore/configuration.py +1 -1
  53. pulpcore/client/pulpcore/models/artifact_distribution_response.py +17 -17
  54. pulpcore/client/pulpcore/models/composite_content_guard.py +1 -1
  55. pulpcore/client/pulpcore/models/composite_content_guard_response.py +1 -1
  56. pulpcore/client/pulpcore/models/content_guard_response.py +1 -1
  57. pulpcore/client/pulpcore/models/patched_composite_content_guard.py +1 -1
  58. pulpcore/client/pulpcore/models/patched_rbac_content_guard.py +1 -1
  59. pulpcore/client/pulpcore/models/rbac_content_guard.py +1 -1
  60. pulpcore/client/pulpcore/models/rbac_content_guard_response.py +1 -1
  61. {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/METADATA +1 -1
  62. {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/RECORD +64 -64
  63. {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/WHEEL +0 -0
  64. {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/top_level.txt +0 -0
@@ -47,6 +47,7 @@ class ImportersPulpApi:
47
47
  def create(
48
48
  self,
49
49
  pulp_importer: PulpImporter,
50
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
50
51
  _request_timeout: Union[
51
52
  None,
52
53
  Annotated[StrictFloat, Field(gt=0)],
@@ -66,6 +67,8 @@ class ImportersPulpApi:
66
67
 
67
68
  :param pulp_importer: (required)
68
69
  :type pulp_importer: PulpImporter
70
+ :param x_task_diagnostics: List of profilers to use on tasks.
71
+ :type x_task_diagnostics: List[str]
69
72
  :param _request_timeout: timeout setting for this request. If one
70
73
  number provided, it will be total request
71
74
  timeout. It can also be a pair (tuple) of
@@ -90,6 +93,7 @@ class ImportersPulpApi:
90
93
 
91
94
  _param = self._create_serialize(
92
95
  pulp_importer=pulp_importer,
96
+ x_task_diagnostics=x_task_diagnostics,
93
97
  _request_auth=_request_auth,
94
98
  _content_type=_content_type,
95
99
  _headers=_headers,
@@ -114,6 +118,7 @@ class ImportersPulpApi:
114
118
  def create_with_http_info(
115
119
  self,
116
120
  pulp_importer: PulpImporter,
121
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
117
122
  _request_timeout: Union[
118
123
  None,
119
124
  Annotated[StrictFloat, Field(gt=0)],
@@ -133,6 +138,8 @@ class ImportersPulpApi:
133
138
 
134
139
  :param pulp_importer: (required)
135
140
  :type pulp_importer: PulpImporter
141
+ :param x_task_diagnostics: List of profilers to use on tasks.
142
+ :type x_task_diagnostics: List[str]
136
143
  :param _request_timeout: timeout setting for this request. If one
137
144
  number provided, it will be total request
138
145
  timeout. It can also be a pair (tuple) of
@@ -157,6 +164,7 @@ class ImportersPulpApi:
157
164
 
158
165
  _param = self._create_serialize(
159
166
  pulp_importer=pulp_importer,
167
+ x_task_diagnostics=x_task_diagnostics,
160
168
  _request_auth=_request_auth,
161
169
  _content_type=_content_type,
162
170
  _headers=_headers,
@@ -181,6 +189,7 @@ class ImportersPulpApi:
181
189
  def create_without_preload_content(
182
190
  self,
183
191
  pulp_importer: PulpImporter,
192
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
184
193
  _request_timeout: Union[
185
194
  None,
186
195
  Annotated[StrictFloat, Field(gt=0)],
@@ -200,6 +209,8 @@ class ImportersPulpApi:
200
209
 
201
210
  :param pulp_importer: (required)
202
211
  :type pulp_importer: PulpImporter
212
+ :param x_task_diagnostics: List of profilers to use on tasks.
213
+ :type x_task_diagnostics: List[str]
203
214
  :param _request_timeout: timeout setting for this request. If one
204
215
  number provided, it will be total request
205
216
  timeout. It can also be a pair (tuple) of
@@ -224,6 +235,7 @@ class ImportersPulpApi:
224
235
 
225
236
  _param = self._create_serialize(
226
237
  pulp_importer=pulp_importer,
238
+ x_task_diagnostics=x_task_diagnostics,
227
239
  _request_auth=_request_auth,
228
240
  _content_type=_content_type,
229
241
  _headers=_headers,
@@ -243,6 +255,7 @@ class ImportersPulpApi:
243
255
  def _create_serialize(
244
256
  self,
245
257
  pulp_importer,
258
+ x_task_diagnostics,
246
259
  _request_auth,
247
260
  _content_type,
248
261
  _headers,
@@ -252,6 +265,7 @@ class ImportersPulpApi:
252
265
  _host = None
253
266
 
254
267
  _collection_formats: Dict[str, str] = {
268
+ 'X-Task-Diagnostics': 'csv',
255
269
  }
256
270
 
257
271
  _path_params: Dict[str, str] = {}
@@ -266,6 +280,8 @@ class ImportersPulpApi:
266
280
  # process the path parameters
267
281
  # process the query parameters
268
282
  # process the header parameters
283
+ if x_task_diagnostics is not None:
284
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
269
285
  # process the form parameters
270
286
  # process the body parameter
271
287
  if pulp_importer is not None:
@@ -324,6 +340,7 @@ class ImportersPulpApi:
324
340
  def delete(
325
341
  self,
326
342
  pulp_importer_href: StrictStr,
343
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
327
344
  _request_timeout: Union[
328
345
  None,
329
346
  Annotated[StrictFloat, Field(gt=0)],
@@ -343,6 +360,8 @@ class ImportersPulpApi:
343
360
 
344
361
  :param pulp_importer_href: (required)
345
362
  :type pulp_importer_href: str
363
+ :param x_task_diagnostics: List of profilers to use on tasks.
364
+ :type x_task_diagnostics: List[str]
346
365
  :param _request_timeout: timeout setting for this request. If one
347
366
  number provided, it will be total request
348
367
  timeout. It can also be a pair (tuple) of
@@ -367,6 +386,7 @@ class ImportersPulpApi:
367
386
 
368
387
  _param = self._delete_serialize(
369
388
  pulp_importer_href=pulp_importer_href,
389
+ x_task_diagnostics=x_task_diagnostics,
370
390
  _request_auth=_request_auth,
371
391
  _content_type=_content_type,
372
392
  _headers=_headers,
@@ -391,6 +411,7 @@ class ImportersPulpApi:
391
411
  def delete_with_http_info(
392
412
  self,
393
413
  pulp_importer_href: StrictStr,
414
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
394
415
  _request_timeout: Union[
395
416
  None,
396
417
  Annotated[StrictFloat, Field(gt=0)],
@@ -410,6 +431,8 @@ class ImportersPulpApi:
410
431
 
411
432
  :param pulp_importer_href: (required)
412
433
  :type pulp_importer_href: str
434
+ :param x_task_diagnostics: List of profilers to use on tasks.
435
+ :type x_task_diagnostics: List[str]
413
436
  :param _request_timeout: timeout setting for this request. If one
414
437
  number provided, it will be total request
415
438
  timeout. It can also be a pair (tuple) of
@@ -434,6 +457,7 @@ class ImportersPulpApi:
434
457
 
435
458
  _param = self._delete_serialize(
436
459
  pulp_importer_href=pulp_importer_href,
460
+ x_task_diagnostics=x_task_diagnostics,
437
461
  _request_auth=_request_auth,
438
462
  _content_type=_content_type,
439
463
  _headers=_headers,
@@ -458,6 +482,7 @@ class ImportersPulpApi:
458
482
  def delete_without_preload_content(
459
483
  self,
460
484
  pulp_importer_href: StrictStr,
485
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
461
486
  _request_timeout: Union[
462
487
  None,
463
488
  Annotated[StrictFloat, Field(gt=0)],
@@ -477,6 +502,8 @@ class ImportersPulpApi:
477
502
 
478
503
  :param pulp_importer_href: (required)
479
504
  :type pulp_importer_href: str
505
+ :param x_task_diagnostics: List of profilers to use on tasks.
506
+ :type x_task_diagnostics: List[str]
480
507
  :param _request_timeout: timeout setting for this request. If one
481
508
  number provided, it will be total request
482
509
  timeout. It can also be a pair (tuple) of
@@ -501,6 +528,7 @@ class ImportersPulpApi:
501
528
 
502
529
  _param = self._delete_serialize(
503
530
  pulp_importer_href=pulp_importer_href,
531
+ x_task_diagnostics=x_task_diagnostics,
504
532
  _request_auth=_request_auth,
505
533
  _content_type=_content_type,
506
534
  _headers=_headers,
@@ -520,6 +548,7 @@ class ImportersPulpApi:
520
548
  def _delete_serialize(
521
549
  self,
522
550
  pulp_importer_href,
551
+ x_task_diagnostics,
523
552
  _request_auth,
524
553
  _content_type,
525
554
  _headers,
@@ -529,6 +558,7 @@ class ImportersPulpApi:
529
558
  _host = None
530
559
 
531
560
  _collection_formats: Dict[str, str] = {
561
+ 'X-Task-Diagnostics': 'csv',
532
562
  }
533
563
 
534
564
  _path_params: Dict[str, str] = {}
@@ -545,6 +575,8 @@ class ImportersPulpApi:
545
575
  _path_params['pulp_importer_href'] = pulp_importer_href
546
576
  # process the query parameters
547
577
  # process the header parameters
578
+ if x_task_diagnostics is not None:
579
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
548
580
  # process the form parameters
549
581
  # process the body parameter
550
582
 
@@ -578,6 +610,7 @@ class ImportersPulpApi:
578
610
  @validate_call
579
611
  def list(
580
612
  self,
613
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
581
614
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
582
615
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
583
616
  name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
@@ -613,6 +646,8 @@ class ImportersPulpApi:
613
646
 
614
647
  ViewSet for PulpImporters.
615
648
 
649
+ :param x_task_diagnostics: List of profilers to use on tasks.
650
+ :type x_task_diagnostics: List[str]
616
651
  :param limit: Number of results to return per page.
617
652
  :type limit: int
618
653
  :param name: Filter results where name matches value
@@ -672,6 +707,7 @@ class ImportersPulpApi:
672
707
  """ # noqa: E501
673
708
 
674
709
  _param = self._list_serialize(
710
+ x_task_diagnostics=x_task_diagnostics,
675
711
  limit=limit,
676
712
  name=name,
677
713
  name__contains=name__contains,
@@ -713,6 +749,7 @@ class ImportersPulpApi:
713
749
  @validate_call
714
750
  def list_with_http_info(
715
751
  self,
752
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
716
753
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
717
754
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
718
755
  name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
@@ -748,6 +785,8 @@ class ImportersPulpApi:
748
785
 
749
786
  ViewSet for PulpImporters.
750
787
 
788
+ :param x_task_diagnostics: List of profilers to use on tasks.
789
+ :type x_task_diagnostics: List[str]
751
790
  :param limit: Number of results to return per page.
752
791
  :type limit: int
753
792
  :param name: Filter results where name matches value
@@ -807,6 +846,7 @@ class ImportersPulpApi:
807
846
  """ # noqa: E501
808
847
 
809
848
  _param = self._list_serialize(
849
+ x_task_diagnostics=x_task_diagnostics,
810
850
  limit=limit,
811
851
  name=name,
812
852
  name__contains=name__contains,
@@ -848,6 +888,7 @@ class ImportersPulpApi:
848
888
  @validate_call
849
889
  def list_without_preload_content(
850
890
  self,
891
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
851
892
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
852
893
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
853
894
  name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
@@ -883,6 +924,8 @@ class ImportersPulpApi:
883
924
 
884
925
  ViewSet for PulpImporters.
885
926
 
927
+ :param x_task_diagnostics: List of profilers to use on tasks.
928
+ :type x_task_diagnostics: List[str]
886
929
  :param limit: Number of results to return per page.
887
930
  :type limit: int
888
931
  :param name: Filter results where name matches value
@@ -942,6 +985,7 @@ class ImportersPulpApi:
942
985
  """ # noqa: E501
943
986
 
944
987
  _param = self._list_serialize(
988
+ x_task_diagnostics=x_task_diagnostics,
945
989
  limit=limit,
946
990
  name=name,
947
991
  name__contains=name__contains,
@@ -978,6 +1022,7 @@ class ImportersPulpApi:
978
1022
 
979
1023
  def _list_serialize(
980
1024
  self,
1025
+ x_task_diagnostics,
981
1026
  limit,
982
1027
  name,
983
1028
  name__contains,
@@ -1005,6 +1050,7 @@ class ImportersPulpApi:
1005
1050
  _host = None
1006
1051
 
1007
1052
  _collection_formats: Dict[str, str] = {
1053
+ 'X-Task-Diagnostics': 'csv',
1008
1054
  'name__in': 'csv',
1009
1055
  'ordering': 'csv',
1010
1056
  'prn__in': 'csv',
@@ -1098,6 +1144,8 @@ class ImportersPulpApi:
1098
1144
  _query_params.append(('exclude_fields', exclude_fields))
1099
1145
 
1100
1146
  # process the header parameters
1147
+ if x_task_diagnostics is not None:
1148
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1101
1149
  # process the form parameters
1102
1150
  # process the body parameter
1103
1151
 
@@ -1140,6 +1188,7 @@ class ImportersPulpApi:
1140
1188
  self,
1141
1189
  pulp_importer_href: StrictStr,
1142
1190
  patched_pulp_importer: PatchedPulpImporter,
1191
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1143
1192
  _request_timeout: Union[
1144
1193
  None,
1145
1194
  Annotated[StrictFloat, Field(gt=0)],
@@ -1161,6 +1210,8 @@ class ImportersPulpApi:
1161
1210
  :type pulp_importer_href: str
1162
1211
  :param patched_pulp_importer: (required)
1163
1212
  :type patched_pulp_importer: PatchedPulpImporter
1213
+ :param x_task_diagnostics: List of profilers to use on tasks.
1214
+ :type x_task_diagnostics: List[str]
1164
1215
  :param _request_timeout: timeout setting for this request. If one
1165
1216
  number provided, it will be total request
1166
1217
  timeout. It can also be a pair (tuple) of
@@ -1186,6 +1237,7 @@ class ImportersPulpApi:
1186
1237
  _param = self._partial_update_serialize(
1187
1238
  pulp_importer_href=pulp_importer_href,
1188
1239
  patched_pulp_importer=patched_pulp_importer,
1240
+ x_task_diagnostics=x_task_diagnostics,
1189
1241
  _request_auth=_request_auth,
1190
1242
  _content_type=_content_type,
1191
1243
  _headers=_headers,
@@ -1211,6 +1263,7 @@ class ImportersPulpApi:
1211
1263
  self,
1212
1264
  pulp_importer_href: StrictStr,
1213
1265
  patched_pulp_importer: PatchedPulpImporter,
1266
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1214
1267
  _request_timeout: Union[
1215
1268
  None,
1216
1269
  Annotated[StrictFloat, Field(gt=0)],
@@ -1232,6 +1285,8 @@ class ImportersPulpApi:
1232
1285
  :type pulp_importer_href: str
1233
1286
  :param patched_pulp_importer: (required)
1234
1287
  :type patched_pulp_importer: PatchedPulpImporter
1288
+ :param x_task_diagnostics: List of profilers to use on tasks.
1289
+ :type x_task_diagnostics: List[str]
1235
1290
  :param _request_timeout: timeout setting for this request. If one
1236
1291
  number provided, it will be total request
1237
1292
  timeout. It can also be a pair (tuple) of
@@ -1257,6 +1312,7 @@ class ImportersPulpApi:
1257
1312
  _param = self._partial_update_serialize(
1258
1313
  pulp_importer_href=pulp_importer_href,
1259
1314
  patched_pulp_importer=patched_pulp_importer,
1315
+ x_task_diagnostics=x_task_diagnostics,
1260
1316
  _request_auth=_request_auth,
1261
1317
  _content_type=_content_type,
1262
1318
  _headers=_headers,
@@ -1282,6 +1338,7 @@ class ImportersPulpApi:
1282
1338
  self,
1283
1339
  pulp_importer_href: StrictStr,
1284
1340
  patched_pulp_importer: PatchedPulpImporter,
1341
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1285
1342
  _request_timeout: Union[
1286
1343
  None,
1287
1344
  Annotated[StrictFloat, Field(gt=0)],
@@ -1303,6 +1360,8 @@ class ImportersPulpApi:
1303
1360
  :type pulp_importer_href: str
1304
1361
  :param patched_pulp_importer: (required)
1305
1362
  :type patched_pulp_importer: PatchedPulpImporter
1363
+ :param x_task_diagnostics: List of profilers to use on tasks.
1364
+ :type x_task_diagnostics: List[str]
1306
1365
  :param _request_timeout: timeout setting for this request. If one
1307
1366
  number provided, it will be total request
1308
1367
  timeout. It can also be a pair (tuple) of
@@ -1328,6 +1387,7 @@ class ImportersPulpApi:
1328
1387
  _param = self._partial_update_serialize(
1329
1388
  pulp_importer_href=pulp_importer_href,
1330
1389
  patched_pulp_importer=patched_pulp_importer,
1390
+ x_task_diagnostics=x_task_diagnostics,
1331
1391
  _request_auth=_request_auth,
1332
1392
  _content_type=_content_type,
1333
1393
  _headers=_headers,
@@ -1348,6 +1408,7 @@ class ImportersPulpApi:
1348
1408
  self,
1349
1409
  pulp_importer_href,
1350
1410
  patched_pulp_importer,
1411
+ x_task_diagnostics,
1351
1412
  _request_auth,
1352
1413
  _content_type,
1353
1414
  _headers,
@@ -1357,6 +1418,7 @@ class ImportersPulpApi:
1357
1418
  _host = None
1358
1419
 
1359
1420
  _collection_formats: Dict[str, str] = {
1421
+ 'X-Task-Diagnostics': 'csv',
1360
1422
  }
1361
1423
 
1362
1424
  _path_params: Dict[str, str] = {}
@@ -1373,6 +1435,8 @@ class ImportersPulpApi:
1373
1435
  _path_params['pulp_importer_href'] = pulp_importer_href
1374
1436
  # process the query parameters
1375
1437
  # process the header parameters
1438
+ if x_task_diagnostics is not None:
1439
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1376
1440
  # process the form parameters
1377
1441
  # process the body parameter
1378
1442
  if patched_pulp_importer is not None:
@@ -1431,6 +1495,7 @@ class ImportersPulpApi:
1431
1495
  def read(
1432
1496
  self,
1433
1497
  pulp_importer_href: StrictStr,
1498
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1434
1499
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1435
1500
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1436
1501
  _request_timeout: Union[
@@ -1452,6 +1517,8 @@ class ImportersPulpApi:
1452
1517
 
1453
1518
  :param pulp_importer_href: (required)
1454
1519
  :type pulp_importer_href: str
1520
+ :param x_task_diagnostics: List of profilers to use on tasks.
1521
+ :type x_task_diagnostics: List[str]
1455
1522
  :param fields: A list of fields to include in the response.
1456
1523
  :type fields: List[str]
1457
1524
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1480,6 +1547,7 @@ class ImportersPulpApi:
1480
1547
 
1481
1548
  _param = self._read_serialize(
1482
1549
  pulp_importer_href=pulp_importer_href,
1550
+ x_task_diagnostics=x_task_diagnostics,
1483
1551
  fields=fields,
1484
1552
  exclude_fields=exclude_fields,
1485
1553
  _request_auth=_request_auth,
@@ -1506,6 +1574,7 @@ class ImportersPulpApi:
1506
1574
  def read_with_http_info(
1507
1575
  self,
1508
1576
  pulp_importer_href: StrictStr,
1577
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1509
1578
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1510
1579
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1511
1580
  _request_timeout: Union[
@@ -1527,6 +1596,8 @@ class ImportersPulpApi:
1527
1596
 
1528
1597
  :param pulp_importer_href: (required)
1529
1598
  :type pulp_importer_href: str
1599
+ :param x_task_diagnostics: List of profilers to use on tasks.
1600
+ :type x_task_diagnostics: List[str]
1530
1601
  :param fields: A list of fields to include in the response.
1531
1602
  :type fields: List[str]
1532
1603
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1555,6 +1626,7 @@ class ImportersPulpApi:
1555
1626
 
1556
1627
  _param = self._read_serialize(
1557
1628
  pulp_importer_href=pulp_importer_href,
1629
+ x_task_diagnostics=x_task_diagnostics,
1558
1630
  fields=fields,
1559
1631
  exclude_fields=exclude_fields,
1560
1632
  _request_auth=_request_auth,
@@ -1581,6 +1653,7 @@ class ImportersPulpApi:
1581
1653
  def read_without_preload_content(
1582
1654
  self,
1583
1655
  pulp_importer_href: StrictStr,
1656
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1584
1657
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1585
1658
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1586
1659
  _request_timeout: Union[
@@ -1602,6 +1675,8 @@ class ImportersPulpApi:
1602
1675
 
1603
1676
  :param pulp_importer_href: (required)
1604
1677
  :type pulp_importer_href: str
1678
+ :param x_task_diagnostics: List of profilers to use on tasks.
1679
+ :type x_task_diagnostics: List[str]
1605
1680
  :param fields: A list of fields to include in the response.
1606
1681
  :type fields: List[str]
1607
1682
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1630,6 +1705,7 @@ class ImportersPulpApi:
1630
1705
 
1631
1706
  _param = self._read_serialize(
1632
1707
  pulp_importer_href=pulp_importer_href,
1708
+ x_task_diagnostics=x_task_diagnostics,
1633
1709
  fields=fields,
1634
1710
  exclude_fields=exclude_fields,
1635
1711
  _request_auth=_request_auth,
@@ -1651,6 +1727,7 @@ class ImportersPulpApi:
1651
1727
  def _read_serialize(
1652
1728
  self,
1653
1729
  pulp_importer_href,
1730
+ x_task_diagnostics,
1654
1731
  fields,
1655
1732
  exclude_fields,
1656
1733
  _request_auth,
@@ -1662,6 +1739,7 @@ class ImportersPulpApi:
1662
1739
  _host = None
1663
1740
 
1664
1741
  _collection_formats: Dict[str, str] = {
1742
+ 'X-Task-Diagnostics': 'csv',
1665
1743
  'fields': 'multi',
1666
1744
  'exclude_fields': 'multi',
1667
1745
  }
@@ -1688,6 +1766,8 @@ class ImportersPulpApi:
1688
1766
  _query_params.append(('exclude_fields', exclude_fields))
1689
1767
 
1690
1768
  # process the header parameters
1769
+ if x_task_diagnostics is not None:
1770
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1691
1771
  # process the form parameters
1692
1772
  # process the body parameter
1693
1773
 
@@ -1730,6 +1810,7 @@ class ImportersPulpApi:
1730
1810
  self,
1731
1811
  pulp_importer_href: StrictStr,
1732
1812
  pulp_importer: PulpImporter,
1813
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1733
1814
  _request_timeout: Union[
1734
1815
  None,
1735
1816
  Annotated[StrictFloat, Field(gt=0)],
@@ -1751,6 +1832,8 @@ class ImportersPulpApi:
1751
1832
  :type pulp_importer_href: str
1752
1833
  :param pulp_importer: (required)
1753
1834
  :type pulp_importer: PulpImporter
1835
+ :param x_task_diagnostics: List of profilers to use on tasks.
1836
+ :type x_task_diagnostics: List[str]
1754
1837
  :param _request_timeout: timeout setting for this request. If one
1755
1838
  number provided, it will be total request
1756
1839
  timeout. It can also be a pair (tuple) of
@@ -1776,6 +1859,7 @@ class ImportersPulpApi:
1776
1859
  _param = self._update_serialize(
1777
1860
  pulp_importer_href=pulp_importer_href,
1778
1861
  pulp_importer=pulp_importer,
1862
+ x_task_diagnostics=x_task_diagnostics,
1779
1863
  _request_auth=_request_auth,
1780
1864
  _content_type=_content_type,
1781
1865
  _headers=_headers,
@@ -1801,6 +1885,7 @@ class ImportersPulpApi:
1801
1885
  self,
1802
1886
  pulp_importer_href: StrictStr,
1803
1887
  pulp_importer: PulpImporter,
1888
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1804
1889
  _request_timeout: Union[
1805
1890
  None,
1806
1891
  Annotated[StrictFloat, Field(gt=0)],
@@ -1822,6 +1907,8 @@ class ImportersPulpApi:
1822
1907
  :type pulp_importer_href: str
1823
1908
  :param pulp_importer: (required)
1824
1909
  :type pulp_importer: PulpImporter
1910
+ :param x_task_diagnostics: List of profilers to use on tasks.
1911
+ :type x_task_diagnostics: List[str]
1825
1912
  :param _request_timeout: timeout setting for this request. If one
1826
1913
  number provided, it will be total request
1827
1914
  timeout. It can also be a pair (tuple) of
@@ -1847,6 +1934,7 @@ class ImportersPulpApi:
1847
1934
  _param = self._update_serialize(
1848
1935
  pulp_importer_href=pulp_importer_href,
1849
1936
  pulp_importer=pulp_importer,
1937
+ x_task_diagnostics=x_task_diagnostics,
1850
1938
  _request_auth=_request_auth,
1851
1939
  _content_type=_content_type,
1852
1940
  _headers=_headers,
@@ -1872,6 +1960,7 @@ class ImportersPulpApi:
1872
1960
  self,
1873
1961
  pulp_importer_href: StrictStr,
1874
1962
  pulp_importer: PulpImporter,
1963
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1875
1964
  _request_timeout: Union[
1876
1965
  None,
1877
1966
  Annotated[StrictFloat, Field(gt=0)],
@@ -1893,6 +1982,8 @@ class ImportersPulpApi:
1893
1982
  :type pulp_importer_href: str
1894
1983
  :param pulp_importer: (required)
1895
1984
  :type pulp_importer: PulpImporter
1985
+ :param x_task_diagnostics: List of profilers to use on tasks.
1986
+ :type x_task_diagnostics: List[str]
1896
1987
  :param _request_timeout: timeout setting for this request. If one
1897
1988
  number provided, it will be total request
1898
1989
  timeout. It can also be a pair (tuple) of
@@ -1918,6 +2009,7 @@ class ImportersPulpApi:
1918
2009
  _param = self._update_serialize(
1919
2010
  pulp_importer_href=pulp_importer_href,
1920
2011
  pulp_importer=pulp_importer,
2012
+ x_task_diagnostics=x_task_diagnostics,
1921
2013
  _request_auth=_request_auth,
1922
2014
  _content_type=_content_type,
1923
2015
  _headers=_headers,
@@ -1938,6 +2030,7 @@ class ImportersPulpApi:
1938
2030
  self,
1939
2031
  pulp_importer_href,
1940
2032
  pulp_importer,
2033
+ x_task_diagnostics,
1941
2034
  _request_auth,
1942
2035
  _content_type,
1943
2036
  _headers,
@@ -1947,6 +2040,7 @@ class ImportersPulpApi:
1947
2040
  _host = None
1948
2041
 
1949
2042
  _collection_formats: Dict[str, str] = {
2043
+ 'X-Task-Diagnostics': 'csv',
1950
2044
  }
1951
2045
 
1952
2046
  _path_params: Dict[str, str] = {}
@@ -1963,6 +2057,8 @@ class ImportersPulpApi:
1963
2057
  _path_params['pulp_importer_href'] = pulp_importer_href
1964
2058
  # process the query parameters
1965
2059
  # process the header parameters
2060
+ if x_task_diagnostics is not None:
2061
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1966
2062
  # process the form parameters
1967
2063
  # process the body parameter
1968
2064
  if pulp_importer is not None:
@@ -17,6 +17,9 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
17
17
  from typing import Any, Dict, List, Optional, Tuple, Union
18
18
  from typing_extensions import Annotated
19
19
 
20
+ from pydantic import Field, StrictStr
21
+ from typing import List, Optional
22
+ from typing_extensions import Annotated
20
23
  from pulpcore.client.pulpcore.models.pulp_import_check import PulpImportCheck
21
24
  from pulpcore.client.pulpcore.models.pulp_import_check_response import PulpImportCheckResponse
22
25
 
@@ -42,6 +45,7 @@ class ImportersPulpImportCheckApi:
42
45
  def pulp_import_check_post(
43
46
  self,
44
47
  pulp_import_check: PulpImportCheck,
48
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
45
49
  _request_timeout: Union[
46
50
  None,
47
51
  Annotated[StrictFloat, Field(gt=0)],
@@ -61,6 +65,8 @@ class ImportersPulpImportCheckApi:
61
65
 
62
66
  :param pulp_import_check: (required)
63
67
  :type pulp_import_check: PulpImportCheck
68
+ :param x_task_diagnostics: List of profilers to use on tasks.
69
+ :type x_task_diagnostics: List[str]
64
70
  :param _request_timeout: timeout setting for this request. If one
65
71
  number provided, it will be total request
66
72
  timeout. It can also be a pair (tuple) of
@@ -85,6 +91,7 @@ class ImportersPulpImportCheckApi:
85
91
 
86
92
  _param = self._pulp_import_check_post_serialize(
87
93
  pulp_import_check=pulp_import_check,
94
+ x_task_diagnostics=x_task_diagnostics,
88
95
  _request_auth=_request_auth,
89
96
  _content_type=_content_type,
90
97
  _headers=_headers,
@@ -109,6 +116,7 @@ class ImportersPulpImportCheckApi:
109
116
  def pulp_import_check_post_with_http_info(
110
117
  self,
111
118
  pulp_import_check: PulpImportCheck,
119
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
112
120
  _request_timeout: Union[
113
121
  None,
114
122
  Annotated[StrictFloat, Field(gt=0)],
@@ -128,6 +136,8 @@ class ImportersPulpImportCheckApi:
128
136
 
129
137
  :param pulp_import_check: (required)
130
138
  :type pulp_import_check: PulpImportCheck
139
+ :param x_task_diagnostics: List of profilers to use on tasks.
140
+ :type x_task_diagnostics: List[str]
131
141
  :param _request_timeout: timeout setting for this request. If one
132
142
  number provided, it will be total request
133
143
  timeout. It can also be a pair (tuple) of
@@ -152,6 +162,7 @@ class ImportersPulpImportCheckApi:
152
162
 
153
163
  _param = self._pulp_import_check_post_serialize(
154
164
  pulp_import_check=pulp_import_check,
165
+ x_task_diagnostics=x_task_diagnostics,
155
166
  _request_auth=_request_auth,
156
167
  _content_type=_content_type,
157
168
  _headers=_headers,
@@ -176,6 +187,7 @@ class ImportersPulpImportCheckApi:
176
187
  def pulp_import_check_post_without_preload_content(
177
188
  self,
178
189
  pulp_import_check: PulpImportCheck,
190
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
179
191
  _request_timeout: Union[
180
192
  None,
181
193
  Annotated[StrictFloat, Field(gt=0)],
@@ -195,6 +207,8 @@ class ImportersPulpImportCheckApi:
195
207
 
196
208
  :param pulp_import_check: (required)
197
209
  :type pulp_import_check: PulpImportCheck
210
+ :param x_task_diagnostics: List of profilers to use on tasks.
211
+ :type x_task_diagnostics: List[str]
198
212
  :param _request_timeout: timeout setting for this request. If one
199
213
  number provided, it will be total request
200
214
  timeout. It can also be a pair (tuple) of
@@ -219,6 +233,7 @@ class ImportersPulpImportCheckApi:
219
233
 
220
234
  _param = self._pulp_import_check_post_serialize(
221
235
  pulp_import_check=pulp_import_check,
236
+ x_task_diagnostics=x_task_diagnostics,
222
237
  _request_auth=_request_auth,
223
238
  _content_type=_content_type,
224
239
  _headers=_headers,
@@ -238,6 +253,7 @@ class ImportersPulpImportCheckApi:
238
253
  def _pulp_import_check_post_serialize(
239
254
  self,
240
255
  pulp_import_check,
256
+ x_task_diagnostics,
241
257
  _request_auth,
242
258
  _content_type,
243
259
  _headers,
@@ -247,6 +263,7 @@ class ImportersPulpImportCheckApi:
247
263
  _host = None
248
264
 
249
265
  _collection_formats: Dict[str, str] = {
266
+ 'X-Task-Diagnostics': 'csv',
250
267
  }
251
268
 
252
269
  _path_params: Dict[str, str] = {}
@@ -261,6 +278,8 @@ class ImportersPulpImportCheckApi:
261
278
  # process the path parameters
262
279
  # process the query parameters
263
280
  # process the header parameters
281
+ if x_task_diagnostics is not None:
282
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
264
283
  # process the form parameters
265
284
  # process the body parameter
266
285
  if pulp_import_check is not None: