pulpcore-client 3.81.0__py3-none-any.whl → 3.82.1__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 +18 -18
  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.81.0.dist-info → pulpcore_client-3.82.1.dist-info}/METADATA +1 -1
  62. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.1.dist-info}/RECORD +64 -64
  63. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.1.dist-info}/WHEEL +0 -0
  64. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.1.dist-info}/top_level.txt +0 -0
@@ -44,6 +44,7 @@ class RemotesApi:
44
44
  @validate_call
45
45
  def list(
46
46
  self,
47
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
47
48
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
48
49
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
49
50
  name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
@@ -89,6 +90,8 @@ class RemotesApi:
89
90
 
90
91
  A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
91
92
 
93
+ :param x_task_diagnostics: List of profilers to use on tasks.
94
+ :type x_task_diagnostics: List[str]
92
95
  :param limit: Number of results to return per page.
93
96
  :type limit: int
94
97
  :param name: Filter results where name matches value
@@ -168,6 +171,7 @@ class RemotesApi:
168
171
  """ # noqa: E501
169
172
 
170
173
  _param = self._list_serialize(
174
+ x_task_diagnostics=x_task_diagnostics,
171
175
  limit=limit,
172
176
  name=name,
173
177
  name__contains=name__contains,
@@ -219,6 +223,7 @@ class RemotesApi:
219
223
  @validate_call
220
224
  def list_with_http_info(
221
225
  self,
226
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
222
227
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
223
228
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
224
229
  name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
@@ -264,6 +269,8 @@ class RemotesApi:
264
269
 
265
270
  A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
266
271
 
272
+ :param x_task_diagnostics: List of profilers to use on tasks.
273
+ :type x_task_diagnostics: List[str]
267
274
  :param limit: Number of results to return per page.
268
275
  :type limit: int
269
276
  :param name: Filter results where name matches value
@@ -343,6 +350,7 @@ class RemotesApi:
343
350
  """ # noqa: E501
344
351
 
345
352
  _param = self._list_serialize(
353
+ x_task_diagnostics=x_task_diagnostics,
346
354
  limit=limit,
347
355
  name=name,
348
356
  name__contains=name__contains,
@@ -394,6 +402,7 @@ class RemotesApi:
394
402
  @validate_call
395
403
  def list_without_preload_content(
396
404
  self,
405
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
397
406
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
398
407
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
399
408
  name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
@@ -439,6 +448,8 @@ class RemotesApi:
439
448
 
440
449
  A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
441
450
 
451
+ :param x_task_diagnostics: List of profilers to use on tasks.
452
+ :type x_task_diagnostics: List[str]
442
453
  :param limit: Number of results to return per page.
443
454
  :type limit: int
444
455
  :param name: Filter results where name matches value
@@ -518,6 +529,7 @@ class RemotesApi:
518
529
  """ # noqa: E501
519
530
 
520
531
  _param = self._list_serialize(
532
+ x_task_diagnostics=x_task_diagnostics,
521
533
  limit=limit,
522
534
  name=name,
523
535
  name__contains=name__contains,
@@ -564,6 +576,7 @@ class RemotesApi:
564
576
 
565
577
  def _list_serialize(
566
578
  self,
579
+ x_task_diagnostics,
567
580
  limit,
568
581
  name,
569
582
  name__contains,
@@ -601,6 +614,7 @@ class RemotesApi:
601
614
  _host = None
602
615
 
603
616
  _collection_formats: Dict[str, str] = {
617
+ 'X-Task-Diagnostics': 'csv',
604
618
  'name__in': 'csv',
605
619
  'ordering': 'csv',
606
620
  'prn__in': 'csv',
@@ -781,6 +795,8 @@ class RemotesApi:
781
795
  _query_params.append(('exclude_fields', exclude_fields))
782
796
 
783
797
  # process the header parameters
798
+ if x_task_diagnostics is not None:
799
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
784
800
  # process the form parameters
785
801
  # process the body parameter
786
802
 
@@ -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.async_operation_response import AsyncOperationResponse
21
24
  from pulpcore.client.pulpcore.models.repair import Repair
22
25
 
@@ -42,6 +45,7 @@ class RepairApi:
42
45
  def post(
43
46
  self,
44
47
  repair: Repair,
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 RepairApi:
61
65
 
62
66
  :param repair: (required)
63
67
  :type repair: Repair
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 RepairApi:
85
91
 
86
92
  _param = self._post_serialize(
87
93
  repair=repair,
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 RepairApi:
109
116
  def post_with_http_info(
110
117
  self,
111
118
  repair: Repair,
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 RepairApi:
128
136
 
129
137
  :param repair: (required)
130
138
  :type repair: Repair
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 RepairApi:
152
162
 
153
163
  _param = self._post_serialize(
154
164
  repair=repair,
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 RepairApi:
176
187
  def post_without_preload_content(
177
188
  self,
178
189
  repair: Repair,
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 RepairApi:
195
207
 
196
208
  :param repair: (required)
197
209
  :type repair: Repair
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 RepairApi:
219
233
 
220
234
  _param = self._post_serialize(
221
235
  repair=repair,
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 RepairApi:
238
253
  def _post_serialize(
239
254
  self,
240
255
  repair,
256
+ x_task_diagnostics,
241
257
  _request_auth,
242
258
  _content_type,
243
259
  _headers,
@@ -247,6 +263,7 @@ class RepairApi:
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 RepairApi:
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 repair is not None:
@@ -43,6 +43,7 @@ class RepositoriesApi:
43
43
  @validate_call
44
44
  def list(
45
45
  self,
46
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
46
47
  latest_with_content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
47
48
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
48
49
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
@@ -92,6 +93,8 @@ class RepositoriesApi:
92
93
 
93
94
  Endpoint to list all repositories.
94
95
 
96
+ :param x_task_diagnostics: List of profilers to use on tasks.
97
+ :type x_task_diagnostics: List[str]
95
98
  :param latest_with_content: Content Unit referenced by HREF/PRN
96
99
  :type latest_with_content: str
97
100
  :param limit: Number of results to return per page.
@@ -179,6 +182,7 @@ class RepositoriesApi:
179
182
  """ # noqa: E501
180
183
 
181
184
  _param = self._list_serialize(
185
+ x_task_diagnostics=x_task_diagnostics,
182
186
  latest_with_content=latest_with_content,
183
187
  limit=limit,
184
188
  name=name,
@@ -234,6 +238,7 @@ class RepositoriesApi:
234
238
  @validate_call
235
239
  def list_with_http_info(
236
240
  self,
241
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
237
242
  latest_with_content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
238
243
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
239
244
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
@@ -283,6 +288,8 @@ class RepositoriesApi:
283
288
 
284
289
  Endpoint to list all repositories.
285
290
 
291
+ :param x_task_diagnostics: List of profilers to use on tasks.
292
+ :type x_task_diagnostics: List[str]
286
293
  :param latest_with_content: Content Unit referenced by HREF/PRN
287
294
  :type latest_with_content: str
288
295
  :param limit: Number of results to return per page.
@@ -370,6 +377,7 @@ class RepositoriesApi:
370
377
  """ # noqa: E501
371
378
 
372
379
  _param = self._list_serialize(
380
+ x_task_diagnostics=x_task_diagnostics,
373
381
  latest_with_content=latest_with_content,
374
382
  limit=limit,
375
383
  name=name,
@@ -425,6 +433,7 @@ class RepositoriesApi:
425
433
  @validate_call
426
434
  def list_without_preload_content(
427
435
  self,
436
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
428
437
  latest_with_content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
429
438
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
430
439
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
@@ -474,6 +483,8 @@ class RepositoriesApi:
474
483
 
475
484
  Endpoint to list all repositories.
476
485
 
486
+ :param x_task_diagnostics: List of profilers to use on tasks.
487
+ :type x_task_diagnostics: List[str]
477
488
  :param latest_with_content: Content Unit referenced by HREF/PRN
478
489
  :type latest_with_content: str
479
490
  :param limit: Number of results to return per page.
@@ -561,6 +572,7 @@ class RepositoriesApi:
561
572
  """ # noqa: E501
562
573
 
563
574
  _param = self._list_serialize(
575
+ x_task_diagnostics=x_task_diagnostics,
564
576
  latest_with_content=latest_with_content,
565
577
  limit=limit,
566
578
  name=name,
@@ -611,6 +623,7 @@ class RepositoriesApi:
611
623
 
612
624
  def _list_serialize(
613
625
  self,
626
+ x_task_diagnostics,
614
627
  latest_with_content,
615
628
  limit,
616
629
  name,
@@ -652,6 +665,7 @@ class RepositoriesApi:
652
665
  _host = None
653
666
 
654
667
  _collection_formats: Dict[str, str] = {
668
+ 'X-Task-Diagnostics': 'csv',
655
669
  'name__in': 'csv',
656
670
  'ordering': 'csv',
657
671
  'prn__in': 'csv',
@@ -803,6 +817,8 @@ class RepositoriesApi:
803
817
  _query_params.append(('exclude_fields', exclude_fields))
804
818
 
805
819
  # process the header parameters
820
+ if x_task_diagnostics is not None:
821
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
806
822
  # process the form parameters
807
823
  # process the body parameter
808
824