pulp-gem-client 0.7.0__tar.gz → 0.7.2__tar.gz

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.
Files changed (101) hide show
  1. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/PKG-INFO +1 -1
  2. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/README.md +3 -2
  3. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulp_gem_client.egg-info/PKG-INFO +1 -1
  4. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/__init__.py +1 -1
  5. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/api/content_gem_api.py +80 -0
  6. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/api/distributions_gem_api.py +216 -7
  7. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/api/publications_gem_api.py +151 -6
  8. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/api/remotes_gem_api.py +192 -0
  9. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/api/repositories_gem_api.py +224 -0
  10. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/api/repositories_gem_versions_api.py +70 -6
  11. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/api_client.py +1 -1
  12. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/configuration.py +1 -1
  13. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/gem_gem_content_response.py +5 -1
  14. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/gem_gem_remote.py +1 -11
  15. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/gem_gem_remote_response.py +1 -13
  16. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/gem_gem_repository.py +2 -2
  17. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/gem_gem_repository_response.py +2 -3
  18. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/paginated_repository_version_response_list.py +0 -10
  19. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/paginatedgem_gem_content_response_list.py +0 -10
  20. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/paginatedgem_gem_distribution_response_list.py +0 -10
  21. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/paginatedgem_gem_publication_response_list.py +0 -10
  22. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/paginatedgem_gem_remote_response_list.py +0 -10
  23. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/paginatedgem_gem_repository_response_list.py +0 -10
  24. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/patchedgem_gem_remote.py +1 -11
  25. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/patchedgem_gem_repository.py +2 -2
  26. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/repository_version_response.py +6 -2
  27. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pyproject.toml +1 -1
  28. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/setup.py +1 -1
  29. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_gem_gem_content_response.py +1 -0
  30. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_gem_gem_remote.py +1 -1
  31. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_gem_gem_remote_response.py +1 -1
  32. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_gem_gem_repository.py +1 -1
  33. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_gem_gem_repository_response.py +1 -1
  34. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_paginated_repository_version_response_list.py +4 -2
  35. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_paginatedgem_gem_content_response_list.py +2 -0
  36. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_paginatedgem_gem_remote_response_list.py +2 -2
  37. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_paginatedgem_gem_repository_response_list.py +2 -2
  38. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_patchedgem_gem_remote.py +1 -1
  39. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_patchedgem_gem_repository.py +1 -1
  40. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_repository_version_response.py +2 -1
  41. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulp_gem_client.egg-info/SOURCES.txt +0 -0
  42. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulp_gem_client.egg-info/dependency_links.txt +0 -0
  43. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulp_gem_client.egg-info/requires.txt +0 -0
  44. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulp_gem_client.egg-info/top_level.txt +0 -0
  45. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/__init__.py +0 -0
  46. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/__init__.py +0 -0
  47. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/api/__init__.py +0 -0
  48. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/api_response.py +0 -0
  49. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/exceptions.py +0 -0
  50. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/__init__.py +0 -0
  51. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/async_operation_response.py +0 -0
  52. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/content_summary_response.py +0 -0
  53. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/gem_gem_distribution.py +0 -0
  54. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/gem_gem_distribution_response.py +0 -0
  55. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/gem_gem_publication.py +0 -0
  56. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/gem_gem_publication_response.py +0 -0
  57. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/gem_gem_remote_response_hidden_fields_inner.py +0 -0
  58. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/my_permissions_response.py +0 -0
  59. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/nested_role.py +0 -0
  60. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/nested_role_response.py +0 -0
  61. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/object_roles_response.py +0 -0
  62. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/patchedgem_gem_distribution.py +0 -0
  63. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/policy_enum.py +0 -0
  64. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/repair.py +0 -0
  65. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/repository_add_remove_content.py +0 -0
  66. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/repository_sync_url.py +0 -0
  67. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/set_label.py +0 -0
  68. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/set_label_response.py +0 -0
  69. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/unset_label.py +0 -0
  70. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/models/unset_label_response.py +0 -0
  71. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/py.typed +0 -0
  72. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/pulpcore/client/pulp_gem/rest.py +0 -0
  73. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/setup.cfg +0 -0
  74. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_async_operation_response.py +0 -0
  75. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_content_gem_api.py +0 -0
  76. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_content_summary_response.py +0 -0
  77. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_distributions_gem_api.py +0 -0
  78. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_gem_gem_distribution.py +0 -0
  79. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_gem_gem_distribution_response.py +0 -0
  80. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_gem_gem_publication.py +0 -0
  81. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_gem_gem_publication_response.py +0 -0
  82. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_gem_gem_remote_response_hidden_fields_inner.py +0 -0
  83. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_my_permissions_response.py +0 -0
  84. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_nested_role.py +0 -0
  85. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_nested_role_response.py +0 -0
  86. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_object_roles_response.py +0 -0
  87. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_paginatedgem_gem_distribution_response_list.py +0 -0
  88. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_paginatedgem_gem_publication_response_list.py +0 -0
  89. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_patchedgem_gem_distribution.py +0 -0
  90. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_policy_enum.py +0 -0
  91. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_publications_gem_api.py +0 -0
  92. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_remotes_gem_api.py +0 -0
  93. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_repair.py +0 -0
  94. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_repositories_gem_api.py +0 -0
  95. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_repositories_gem_versions_api.py +0 -0
  96. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_repository_add_remove_content.py +0 -0
  97. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_repository_sync_url.py +0 -0
  98. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_set_label.py +0 -0
  99. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_set_label_response.py +0 -0
  100. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_unset_label.py +0 -0
  101. {pulp_gem-client-0.7.0 → pulp_gem-client-0.7.2}/test/test_unset_label_response.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulp_gem-client
3
- Version: 0.7.0
3
+ Version: 0.7.2
4
4
  Summary: Pulp 3 API
5
5
  Home-page:
6
6
  Author: Pulp Team
@@ -4,7 +4,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
4
4
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
5
5
 
6
6
  - API version: v3
7
- - Package version: 0.7.0
7
+ - Package version: 0.7.2
8
8
  - Generator version: 7.10.0
9
9
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
10
10
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -84,6 +84,7 @@ configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
84
84
  with pulpcore.client.pulp_gem.ApiClient(configuration) as api_client:
85
85
  # Create an instance of the API class
86
86
  api_instance = pulpcore.client.pulp_gem.ContentGemApi(api_client)
87
+ x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
87
88
  repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
88
89
  pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
89
90
  artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
@@ -91,7 +92,7 @@ with pulpcore.client.pulp_gem.ApiClient(configuration) as api_client:
91
92
 
92
93
  try:
93
94
  # Create a gem content
94
- api_response = api_instance.create(repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file)
95
+ api_response = api_instance.create(x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file)
95
96
  print("The response of ContentGemApi->create:\n")
96
97
  pprint(api_response)
97
98
  except ApiException as e:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulp-gem-client
3
- Version: 0.7.0
3
+ Version: 0.7.2
4
4
  Summary: Pulp 3 API
5
5
  Home-page:
6
6
  Author: Pulp Team
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "0.7.0"
18
+ __version__ = "0.7.2"
19
19
 
20
20
  # import apis into sdk package
21
21
  from pulpcore.client.pulp_gem.api.content_gem_api import ContentGemApi
@@ -49,6 +49,7 @@ class ContentGemApi:
49
49
  @validate_call
50
50
  def create(
51
51
  self,
52
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
52
53
  repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
53
54
  pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
54
55
  artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
@@ -70,6 +71,8 @@ class ContentGemApi:
70
71
 
71
72
  Trigger an asynchronous task to create content,optionally create new repository version.
72
73
 
74
+ :param x_task_diagnostics: List of profilers to use on tasks.
75
+ :type x_task_diagnostics: List[str]
73
76
  :param repository: A URI of a repository the new content unit should be associated with.
74
77
  :type repository: str
75
78
  :param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
@@ -101,6 +104,7 @@ class ContentGemApi:
101
104
  """ # noqa: E501
102
105
 
103
106
  _param = self._create_serialize(
107
+ x_task_diagnostics=x_task_diagnostics,
104
108
  repository=repository,
105
109
  pulp_labels=pulp_labels,
106
110
  artifact=artifact,
@@ -128,6 +132,7 @@ class ContentGemApi:
128
132
  @validate_call
129
133
  def create_with_http_info(
130
134
  self,
135
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
131
136
  repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
132
137
  pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
133
138
  artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
@@ -149,6 +154,8 @@ class ContentGemApi:
149
154
 
150
155
  Trigger an asynchronous task to create content,optionally create new repository version.
151
156
 
157
+ :param x_task_diagnostics: List of profilers to use on tasks.
158
+ :type x_task_diagnostics: List[str]
152
159
  :param repository: A URI of a repository the new content unit should be associated with.
153
160
  :type repository: str
154
161
  :param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
@@ -180,6 +187,7 @@ class ContentGemApi:
180
187
  """ # noqa: E501
181
188
 
182
189
  _param = self._create_serialize(
190
+ x_task_diagnostics=x_task_diagnostics,
183
191
  repository=repository,
184
192
  pulp_labels=pulp_labels,
185
193
  artifact=artifact,
@@ -207,6 +215,7 @@ class ContentGemApi:
207
215
  @validate_call
208
216
  def create_without_preload_content(
209
217
  self,
218
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
210
219
  repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
211
220
  pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
212
221
  artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
@@ -228,6 +237,8 @@ class ContentGemApi:
228
237
 
229
238
  Trigger an asynchronous task to create content,optionally create new repository version.
230
239
 
240
+ :param x_task_diagnostics: List of profilers to use on tasks.
241
+ :type x_task_diagnostics: List[str]
231
242
  :param repository: A URI of a repository the new content unit should be associated with.
232
243
  :type repository: str
233
244
  :param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
@@ -259,6 +270,7 @@ class ContentGemApi:
259
270
  """ # noqa: E501
260
271
 
261
272
  _param = self._create_serialize(
273
+ x_task_diagnostics=x_task_diagnostics,
262
274
  repository=repository,
263
275
  pulp_labels=pulp_labels,
264
276
  artifact=artifact,
@@ -281,6 +293,7 @@ class ContentGemApi:
281
293
 
282
294
  def _create_serialize(
283
295
  self,
296
+ x_task_diagnostics,
284
297
  repository,
285
298
  pulp_labels,
286
299
  artifact,
@@ -294,6 +307,7 @@ class ContentGemApi:
294
307
  _host = None
295
308
 
296
309
  _collection_formats: Dict[str, str] = {
310
+ 'X-Task-Diagnostics': 'csv',
297
311
  }
298
312
 
299
313
  _path_params: Dict[str, str] = {}
@@ -308,6 +322,8 @@ class ContentGemApi:
308
322
  # process the path parameters
309
323
  # process the query parameters
310
324
  # process the header parameters
325
+ if x_task_diagnostics is not None:
326
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
311
327
  # process the form parameters
312
328
  if repository is not None:
313
329
  _form_params.append(('repository', repository))
@@ -370,6 +386,7 @@ class ContentGemApi:
370
386
  @validate_call
371
387
  def list(
372
388
  self,
389
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
373
390
  checksum: Annotated[Optional[StrictStr], Field(description="Filter results where checksum matches value")] = None,
374
391
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
375
392
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
@@ -405,6 +422,8 @@ class ContentGemApi:
405
422
 
406
423
  A ViewSet for GemContent.
407
424
 
425
+ :param x_task_diagnostics: List of profilers to use on tasks.
426
+ :type x_task_diagnostics: List[str]
408
427
  :param checksum: Filter results where checksum matches value
409
428
  :type checksum: str
410
429
  :param limit: Number of results to return per page.
@@ -464,6 +483,7 @@ class ContentGemApi:
464
483
  """ # noqa: E501
465
484
 
466
485
  _param = self._list_serialize(
486
+ x_task_diagnostics=x_task_diagnostics,
467
487
  checksum=checksum,
468
488
  limit=limit,
469
489
  name=name,
@@ -505,6 +525,7 @@ class ContentGemApi:
505
525
  @validate_call
506
526
  def list_with_http_info(
507
527
  self,
528
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
508
529
  checksum: Annotated[Optional[StrictStr], Field(description="Filter results where checksum matches value")] = None,
509
530
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
510
531
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
@@ -540,6 +561,8 @@ class ContentGemApi:
540
561
 
541
562
  A ViewSet for GemContent.
542
563
 
564
+ :param x_task_diagnostics: List of profilers to use on tasks.
565
+ :type x_task_diagnostics: List[str]
543
566
  :param checksum: Filter results where checksum matches value
544
567
  :type checksum: str
545
568
  :param limit: Number of results to return per page.
@@ -599,6 +622,7 @@ class ContentGemApi:
599
622
  """ # noqa: E501
600
623
 
601
624
  _param = self._list_serialize(
625
+ x_task_diagnostics=x_task_diagnostics,
602
626
  checksum=checksum,
603
627
  limit=limit,
604
628
  name=name,
@@ -640,6 +664,7 @@ class ContentGemApi:
640
664
  @validate_call
641
665
  def list_without_preload_content(
642
666
  self,
667
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
643
668
  checksum: Annotated[Optional[StrictStr], Field(description="Filter results where checksum matches value")] = None,
644
669
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
645
670
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
@@ -675,6 +700,8 @@ class ContentGemApi:
675
700
 
676
701
  A ViewSet for GemContent.
677
702
 
703
+ :param x_task_diagnostics: List of profilers to use on tasks.
704
+ :type x_task_diagnostics: List[str]
678
705
  :param checksum: Filter results where checksum matches value
679
706
  :type checksum: str
680
707
  :param limit: Number of results to return per page.
@@ -734,6 +761,7 @@ class ContentGemApi:
734
761
  """ # noqa: E501
735
762
 
736
763
  _param = self._list_serialize(
764
+ x_task_diagnostics=x_task_diagnostics,
737
765
  checksum=checksum,
738
766
  limit=limit,
739
767
  name=name,
@@ -770,6 +798,7 @@ class ContentGemApi:
770
798
 
771
799
  def _list_serialize(
772
800
  self,
801
+ x_task_diagnostics,
773
802
  checksum,
774
803
  limit,
775
804
  name,
@@ -797,6 +826,7 @@ class ContentGemApi:
797
826
  _host = None
798
827
 
799
828
  _collection_formats: Dict[str, str] = {
829
+ 'X-Task-Diagnostics': 'csv',
800
830
  'ordering': 'csv',
801
831
  'prn__in': 'csv',
802
832
  'pulp_href__in': 'csv',
@@ -889,6 +919,8 @@ class ContentGemApi:
889
919
  _query_params.append(('exclude_fields', exclude_fields))
890
920
 
891
921
  # process the header parameters
922
+ if x_task_diagnostics is not None:
923
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
892
924
  # process the form parameters
893
925
  # process the body parameter
894
926
 
@@ -930,6 +962,7 @@ class ContentGemApi:
930
962
  def read(
931
963
  self,
932
964
  gem_gem_content_href: StrictStr,
965
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
933
966
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
934
967
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
935
968
  _request_timeout: Union[
@@ -951,6 +984,8 @@ class ContentGemApi:
951
984
 
952
985
  :param gem_gem_content_href: (required)
953
986
  :type gem_gem_content_href: str
987
+ :param x_task_diagnostics: List of profilers to use on tasks.
988
+ :type x_task_diagnostics: List[str]
954
989
  :param fields: A list of fields to include in the response.
955
990
  :type fields: List[str]
956
991
  :param exclude_fields: A list of fields to exclude from the response.
@@ -979,6 +1014,7 @@ class ContentGemApi:
979
1014
 
980
1015
  _param = self._read_serialize(
981
1016
  gem_gem_content_href=gem_gem_content_href,
1017
+ x_task_diagnostics=x_task_diagnostics,
982
1018
  fields=fields,
983
1019
  exclude_fields=exclude_fields,
984
1020
  _request_auth=_request_auth,
@@ -1005,6 +1041,7 @@ class ContentGemApi:
1005
1041
  def read_with_http_info(
1006
1042
  self,
1007
1043
  gem_gem_content_href: StrictStr,
1044
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1008
1045
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1009
1046
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1010
1047
  _request_timeout: Union[
@@ -1026,6 +1063,8 @@ class ContentGemApi:
1026
1063
 
1027
1064
  :param gem_gem_content_href: (required)
1028
1065
  :type gem_gem_content_href: str
1066
+ :param x_task_diagnostics: List of profilers to use on tasks.
1067
+ :type x_task_diagnostics: List[str]
1029
1068
  :param fields: A list of fields to include in the response.
1030
1069
  :type fields: List[str]
1031
1070
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1054,6 +1093,7 @@ class ContentGemApi:
1054
1093
 
1055
1094
  _param = self._read_serialize(
1056
1095
  gem_gem_content_href=gem_gem_content_href,
1096
+ x_task_diagnostics=x_task_diagnostics,
1057
1097
  fields=fields,
1058
1098
  exclude_fields=exclude_fields,
1059
1099
  _request_auth=_request_auth,
@@ -1080,6 +1120,7 @@ class ContentGemApi:
1080
1120
  def read_without_preload_content(
1081
1121
  self,
1082
1122
  gem_gem_content_href: StrictStr,
1123
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1083
1124
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1084
1125
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1085
1126
  _request_timeout: Union[
@@ -1101,6 +1142,8 @@ class ContentGemApi:
1101
1142
 
1102
1143
  :param gem_gem_content_href: (required)
1103
1144
  :type gem_gem_content_href: str
1145
+ :param x_task_diagnostics: List of profilers to use on tasks.
1146
+ :type x_task_diagnostics: List[str]
1104
1147
  :param fields: A list of fields to include in the response.
1105
1148
  :type fields: List[str]
1106
1149
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1129,6 +1172,7 @@ class ContentGemApi:
1129
1172
 
1130
1173
  _param = self._read_serialize(
1131
1174
  gem_gem_content_href=gem_gem_content_href,
1175
+ x_task_diagnostics=x_task_diagnostics,
1132
1176
  fields=fields,
1133
1177
  exclude_fields=exclude_fields,
1134
1178
  _request_auth=_request_auth,
@@ -1150,6 +1194,7 @@ class ContentGemApi:
1150
1194
  def _read_serialize(
1151
1195
  self,
1152
1196
  gem_gem_content_href,
1197
+ x_task_diagnostics,
1153
1198
  fields,
1154
1199
  exclude_fields,
1155
1200
  _request_auth,
@@ -1161,6 +1206,7 @@ class ContentGemApi:
1161
1206
  _host = None
1162
1207
 
1163
1208
  _collection_formats: Dict[str, str] = {
1209
+ 'X-Task-Diagnostics': 'csv',
1164
1210
  'fields': 'multi',
1165
1211
  'exclude_fields': 'multi',
1166
1212
  }
@@ -1187,6 +1233,8 @@ class ContentGemApi:
1187
1233
  _query_params.append(('exclude_fields', exclude_fields))
1188
1234
 
1189
1235
  # process the header parameters
1236
+ if x_task_diagnostics is not None:
1237
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1190
1238
  # process the form parameters
1191
1239
  # process the body parameter
1192
1240
 
@@ -1229,6 +1277,7 @@ class ContentGemApi:
1229
1277
  self,
1230
1278
  gem_gem_content_href: StrictStr,
1231
1279
  set_label: SetLabel,
1280
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1232
1281
  _request_timeout: Union[
1233
1282
  None,
1234
1283
  Annotated[StrictFloat, Field(gt=0)],
@@ -1250,6 +1299,8 @@ class ContentGemApi:
1250
1299
  :type gem_gem_content_href: str
1251
1300
  :param set_label: (required)
1252
1301
  :type set_label: SetLabel
1302
+ :param x_task_diagnostics: List of profilers to use on tasks.
1303
+ :type x_task_diagnostics: List[str]
1253
1304
  :param _request_timeout: timeout setting for this request. If one
1254
1305
  number provided, it will be total request
1255
1306
  timeout. It can also be a pair (tuple) of
@@ -1275,6 +1326,7 @@ class ContentGemApi:
1275
1326
  _param = self._set_label_serialize(
1276
1327
  gem_gem_content_href=gem_gem_content_href,
1277
1328
  set_label=set_label,
1329
+ x_task_diagnostics=x_task_diagnostics,
1278
1330
  _request_auth=_request_auth,
1279
1331
  _content_type=_content_type,
1280
1332
  _headers=_headers,
@@ -1300,6 +1352,7 @@ class ContentGemApi:
1300
1352
  self,
1301
1353
  gem_gem_content_href: StrictStr,
1302
1354
  set_label: SetLabel,
1355
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1303
1356
  _request_timeout: Union[
1304
1357
  None,
1305
1358
  Annotated[StrictFloat, Field(gt=0)],
@@ -1321,6 +1374,8 @@ class ContentGemApi:
1321
1374
  :type gem_gem_content_href: str
1322
1375
  :param set_label: (required)
1323
1376
  :type set_label: SetLabel
1377
+ :param x_task_diagnostics: List of profilers to use on tasks.
1378
+ :type x_task_diagnostics: List[str]
1324
1379
  :param _request_timeout: timeout setting for this request. If one
1325
1380
  number provided, it will be total request
1326
1381
  timeout. It can also be a pair (tuple) of
@@ -1346,6 +1401,7 @@ class ContentGemApi:
1346
1401
  _param = self._set_label_serialize(
1347
1402
  gem_gem_content_href=gem_gem_content_href,
1348
1403
  set_label=set_label,
1404
+ x_task_diagnostics=x_task_diagnostics,
1349
1405
  _request_auth=_request_auth,
1350
1406
  _content_type=_content_type,
1351
1407
  _headers=_headers,
@@ -1371,6 +1427,7 @@ class ContentGemApi:
1371
1427
  self,
1372
1428
  gem_gem_content_href: StrictStr,
1373
1429
  set_label: SetLabel,
1430
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1374
1431
  _request_timeout: Union[
1375
1432
  None,
1376
1433
  Annotated[StrictFloat, Field(gt=0)],
@@ -1392,6 +1449,8 @@ class ContentGemApi:
1392
1449
  :type gem_gem_content_href: str
1393
1450
  :param set_label: (required)
1394
1451
  :type set_label: SetLabel
1452
+ :param x_task_diagnostics: List of profilers to use on tasks.
1453
+ :type x_task_diagnostics: List[str]
1395
1454
  :param _request_timeout: timeout setting for this request. If one
1396
1455
  number provided, it will be total request
1397
1456
  timeout. It can also be a pair (tuple) of
@@ -1417,6 +1476,7 @@ class ContentGemApi:
1417
1476
  _param = self._set_label_serialize(
1418
1477
  gem_gem_content_href=gem_gem_content_href,
1419
1478
  set_label=set_label,
1479
+ x_task_diagnostics=x_task_diagnostics,
1420
1480
  _request_auth=_request_auth,
1421
1481
  _content_type=_content_type,
1422
1482
  _headers=_headers,
@@ -1437,6 +1497,7 @@ class ContentGemApi:
1437
1497
  self,
1438
1498
  gem_gem_content_href,
1439
1499
  set_label,
1500
+ x_task_diagnostics,
1440
1501
  _request_auth,
1441
1502
  _content_type,
1442
1503
  _headers,
@@ -1446,6 +1507,7 @@ class ContentGemApi:
1446
1507
  _host = None
1447
1508
 
1448
1509
  _collection_formats: Dict[str, str] = {
1510
+ 'X-Task-Diagnostics': 'csv',
1449
1511
  }
1450
1512
 
1451
1513
  _path_params: Dict[str, str] = {}
@@ -1462,6 +1524,8 @@ class ContentGemApi:
1462
1524
  _path_params['gem_gem_content_href'] = gem_gem_content_href
1463
1525
  # process the query parameters
1464
1526
  # process the header parameters
1527
+ if x_task_diagnostics is not None:
1528
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1465
1529
  # process the form parameters
1466
1530
  # process the body parameter
1467
1531
  if set_label is not None:
@@ -1521,6 +1585,7 @@ class ContentGemApi:
1521
1585
  self,
1522
1586
  gem_gem_content_href: StrictStr,
1523
1587
  unset_label: UnsetLabel,
1588
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1524
1589
  _request_timeout: Union[
1525
1590
  None,
1526
1591
  Annotated[StrictFloat, Field(gt=0)],
@@ -1542,6 +1607,8 @@ class ContentGemApi:
1542
1607
  :type gem_gem_content_href: str
1543
1608
  :param unset_label: (required)
1544
1609
  :type unset_label: UnsetLabel
1610
+ :param x_task_diagnostics: List of profilers to use on tasks.
1611
+ :type x_task_diagnostics: List[str]
1545
1612
  :param _request_timeout: timeout setting for this request. If one
1546
1613
  number provided, it will be total request
1547
1614
  timeout. It can also be a pair (tuple) of
@@ -1567,6 +1634,7 @@ class ContentGemApi:
1567
1634
  _param = self._unset_label_serialize(
1568
1635
  gem_gem_content_href=gem_gem_content_href,
1569
1636
  unset_label=unset_label,
1637
+ x_task_diagnostics=x_task_diagnostics,
1570
1638
  _request_auth=_request_auth,
1571
1639
  _content_type=_content_type,
1572
1640
  _headers=_headers,
@@ -1592,6 +1660,7 @@ class ContentGemApi:
1592
1660
  self,
1593
1661
  gem_gem_content_href: StrictStr,
1594
1662
  unset_label: UnsetLabel,
1663
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1595
1664
  _request_timeout: Union[
1596
1665
  None,
1597
1666
  Annotated[StrictFloat, Field(gt=0)],
@@ -1613,6 +1682,8 @@ class ContentGemApi:
1613
1682
  :type gem_gem_content_href: str
1614
1683
  :param unset_label: (required)
1615
1684
  :type unset_label: UnsetLabel
1685
+ :param x_task_diagnostics: List of profilers to use on tasks.
1686
+ :type x_task_diagnostics: List[str]
1616
1687
  :param _request_timeout: timeout setting for this request. If one
1617
1688
  number provided, it will be total request
1618
1689
  timeout. It can also be a pair (tuple) of
@@ -1638,6 +1709,7 @@ class ContentGemApi:
1638
1709
  _param = self._unset_label_serialize(
1639
1710
  gem_gem_content_href=gem_gem_content_href,
1640
1711
  unset_label=unset_label,
1712
+ x_task_diagnostics=x_task_diagnostics,
1641
1713
  _request_auth=_request_auth,
1642
1714
  _content_type=_content_type,
1643
1715
  _headers=_headers,
@@ -1663,6 +1735,7 @@ class ContentGemApi:
1663
1735
  self,
1664
1736
  gem_gem_content_href: StrictStr,
1665
1737
  unset_label: UnsetLabel,
1738
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1666
1739
  _request_timeout: Union[
1667
1740
  None,
1668
1741
  Annotated[StrictFloat, Field(gt=0)],
@@ -1684,6 +1757,8 @@ class ContentGemApi:
1684
1757
  :type gem_gem_content_href: str
1685
1758
  :param unset_label: (required)
1686
1759
  :type unset_label: UnsetLabel
1760
+ :param x_task_diagnostics: List of profilers to use on tasks.
1761
+ :type x_task_diagnostics: List[str]
1687
1762
  :param _request_timeout: timeout setting for this request. If one
1688
1763
  number provided, it will be total request
1689
1764
  timeout. It can also be a pair (tuple) of
@@ -1709,6 +1784,7 @@ class ContentGemApi:
1709
1784
  _param = self._unset_label_serialize(
1710
1785
  gem_gem_content_href=gem_gem_content_href,
1711
1786
  unset_label=unset_label,
1787
+ x_task_diagnostics=x_task_diagnostics,
1712
1788
  _request_auth=_request_auth,
1713
1789
  _content_type=_content_type,
1714
1790
  _headers=_headers,
@@ -1729,6 +1805,7 @@ class ContentGemApi:
1729
1805
  self,
1730
1806
  gem_gem_content_href,
1731
1807
  unset_label,
1808
+ x_task_diagnostics,
1732
1809
  _request_auth,
1733
1810
  _content_type,
1734
1811
  _headers,
@@ -1738,6 +1815,7 @@ class ContentGemApi:
1738
1815
  _host = None
1739
1816
 
1740
1817
  _collection_formats: Dict[str, str] = {
1818
+ 'X-Task-Diagnostics': 'csv',
1741
1819
  }
1742
1820
 
1743
1821
  _path_params: Dict[str, str] = {}
@@ -1754,6 +1832,8 @@ class ContentGemApi:
1754
1832
  _path_params['gem_gem_content_href'] = gem_gem_content_href
1755
1833
  # process the query parameters
1756
1834
  # process the header parameters
1835
+ if x_task_diagnostics is not None:
1836
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1757
1837
  # process the form parameters
1758
1838
  # process the body parameter
1759
1839
  if unset_label is not None: