pulp-python-client 3.16.0__py3-none-any.whl → 3.17.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 pulp-python-client might be problematic. Click here for more details.
- {pulp_python_client-3.16.0.dist-info → pulp_python_client-3.17.1.dist-info}/METADATA +1 -1
- {pulp_python_client-3.16.0.dist-info → pulp_python_client-3.17.1.dist-info}/RECORD +18 -18
- pulpcore/client/pulp_python/__init__.py +1 -1
- pulpcore/client/pulp_python/api/content_packages_api.py +341 -201
- pulpcore/client/pulp_python/api/distributions_pypi_api.py +192 -0
- pulpcore/client/pulp_python/api/publications_pypi_api.py +128 -0
- pulpcore/client/pulp_python/api/pypi_api.py +16 -0
- pulpcore/client/pulp_python/api/pypi_legacy_api.py +17 -1
- pulpcore/client/pulp_python/api/pypi_metadata_api.py +16 -0
- pulpcore/client/pulp_python/api/pypi_simple_api.py +48 -0
- pulpcore/client/pulp_python/api/remotes_python_api.py +208 -0
- pulpcore/client/pulp_python/api/repositories_python_api.py +240 -0
- pulpcore/client/pulp_python/api/repositories_python_versions_api.py +70 -6
- pulpcore/client/pulp_python/api_client.py +1 -1
- pulpcore/client/pulp_python/configuration.py +1 -1
- pulpcore/client/pulp_python/models/python_python_package_content_response.py +80 -53
- {pulp_python_client-3.16.0.dist-info → pulp_python_client-3.17.1.dist-info}/WHEEL +0 -0
- {pulp_python_client-3.16.0.dist-info → pulp_python_client-3.17.1.dist-info}/top_level.txt +0 -0
|
@@ -50,34 +50,39 @@ class ContentPackagesApi:
|
|
|
50
50
|
def create(
|
|
51
51
|
self,
|
|
52
52
|
relative_path: Annotated[str, Field(min_length=1, strict=True, description="Path where the artifact is located relative to distributions base_path")],
|
|
53
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
53
54
|
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
54
55
|
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,
|
|
55
56
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
56
57
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
57
58
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
58
59
|
file_url: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="A url that Pulp can download and turn into the content unit.")] = None,
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
author: Annotated[Optional[StrictStr], Field(description="Text containing the author's name. Contact information can also be added, separated with newlines.")] = None,
|
|
61
|
+
author_email: Annotated[Optional[StrictStr], Field(description="The author's e-mail address. ")] = None,
|
|
61
62
|
description: Annotated[Optional[StrictStr], Field(description="A longer description of the package that can run to several paragraphs.")] = None,
|
|
62
|
-
description_content_type: Annotated[Optional[StrictStr], Field(description="A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.")] = None,
|
|
63
|
-
keywords: Annotated[Optional[StrictStr], Field(description="Additional keywords to be used to assist searching for the package in a larger catalog.")] = None,
|
|
64
63
|
home_page: Annotated[Optional[StrictStr], Field(description="The URL for the package's home page.")] = None,
|
|
64
|
+
keywords: Annotated[Optional[StrictStr], Field(description="Additional keywords to be used to assist searching for the package in a larger catalog.")] = None,
|
|
65
|
+
license: Annotated[Optional[StrictStr], Field(description="Text indicating the license covering the distribution")] = None,
|
|
66
|
+
platform: Annotated[Optional[StrictStr], Field(description="A comma-separated list of platform specifications, summarizing the operating systems supported by the package.")] = None,
|
|
67
|
+
summary: Annotated[Optional[StrictStr], Field(description="A one-line summary of what the package does.")] = None,
|
|
68
|
+
classifiers: Annotated[Optional[Any], Field(description="A JSON list containing classification values for a Python package.")] = None,
|
|
65
69
|
download_url: Annotated[Optional[StrictStr], Field(description="Legacy field denoting the URL from which this package can be downloaded.")] = None,
|
|
66
|
-
|
|
67
|
-
author_email: Annotated[Optional[StrictStr], Field(description="The author's e-mail address. ")] = None,
|
|
70
|
+
supported_platform: Annotated[Optional[StrictStr], Field(description="Field to specify the OS and CPU for which the binary package was compiled. ")] = None,
|
|
68
71
|
maintainer: Annotated[Optional[StrictStr], Field(description="The maintainer's name at a minimum; additional contact information may be provided.")] = None,
|
|
69
72
|
maintainer_email: Annotated[Optional[StrictStr], Field(description="The maintainer's e-mail address.")] = None,
|
|
70
|
-
|
|
71
|
-
requires_python: Annotated[Optional[StrictStr], Field(description="The Python version(s) that the distribution is guaranteed to be compatible with.")] = None,
|
|
73
|
+
obsoletes_dist: Annotated[Optional[Any], Field(description="A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.")] = None,
|
|
72
74
|
project_url: Annotated[Optional[StrictStr], Field(description="A browsable URL for the project and a label for it, separated by a comma.")] = None,
|
|
73
75
|
project_urls: Annotated[Optional[Any], Field(description="A dictionary of labels and URLs for the project.")] = None,
|
|
74
|
-
platform: Annotated[Optional[StrictStr], Field(description="A comma-separated list of platform specifications, summarizing the operating systems supported by the package.")] = None,
|
|
75
|
-
supported_platform: Annotated[Optional[StrictStr], Field(description="Field to specify the OS and CPU for which the binary package was compiled. ")] = None,
|
|
76
|
-
requires_dist: Annotated[Optional[Any], Field(description="A JSON list containing names of some other distutils project required by this distribution.")] = None,
|
|
77
76
|
provides_dist: Annotated[Optional[Any], Field(description="A JSON list containing names of a Distutils project which is contained within this distribution.")] = None,
|
|
78
|
-
obsoletes_dist: Annotated[Optional[Any], Field(description="A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.")] = None,
|
|
79
77
|
requires_external: Annotated[Optional[Any], Field(description="A JSON list containing some dependency in the system that the distribution is to be used.")] = None,
|
|
80
|
-
|
|
78
|
+
requires_dist: Annotated[Optional[Any], Field(description="A JSON list containing names of some other distutils project required by this distribution.")] = None,
|
|
79
|
+
requires_python: Annotated[Optional[StrictStr], Field(description="The Python version(s) that the distribution is guaranteed to be compatible with.")] = None,
|
|
80
|
+
description_content_type: Annotated[Optional[StrictStr], Field(description="A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.")] = None,
|
|
81
|
+
provides_extras: Annotated[Optional[Any], Field(description="A JSON list containing names of optional features provided by the package.")] = None,
|
|
82
|
+
dynamic: Annotated[Optional[Any], Field(description="A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist.")] = None,
|
|
83
|
+
license_expression: Annotated[Optional[StrictStr], Field(description="Text string that is a valid SPDX license expression.")] = None,
|
|
84
|
+
license_file: Annotated[Optional[Any], Field(description="A JSON list containing names of the paths to license-related files.")] = None,
|
|
85
|
+
sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA256 digest of this package.")] = None,
|
|
81
86
|
_request_timeout: Union[
|
|
82
87
|
None,
|
|
83
88
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -97,6 +102,8 @@ class ContentPackagesApi:
|
|
|
97
102
|
|
|
98
103
|
:param relative_path: Path where the artifact is located relative to distributions base_path (required)
|
|
99
104
|
:type relative_path: str
|
|
105
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
106
|
+
:type x_task_diagnostics: List[str]
|
|
100
107
|
:param repository: A URI of a repository the new content unit should be associated with.
|
|
101
108
|
:type repository: str
|
|
102
109
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
@@ -109,50 +116,58 @@ class ContentPackagesApi:
|
|
|
109
116
|
:type upload: str
|
|
110
117
|
:param file_url: A url that Pulp can download and turn into the content unit.
|
|
111
118
|
:type file_url: str
|
|
112
|
-
:param
|
|
113
|
-
:type
|
|
114
|
-
:param
|
|
115
|
-
:type
|
|
119
|
+
:param author: Text containing the author's name. Contact information can also be added, separated with newlines.
|
|
120
|
+
:type author: str
|
|
121
|
+
:param author_email: The author's e-mail address.
|
|
122
|
+
:type author_email: str
|
|
116
123
|
:param description: A longer description of the package that can run to several paragraphs.
|
|
117
124
|
:type description: str
|
|
118
|
-
:param description_content_type: A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
|
119
|
-
:type description_content_type: str
|
|
120
|
-
:param keywords: Additional keywords to be used to assist searching for the package in a larger catalog.
|
|
121
|
-
:type keywords: str
|
|
122
125
|
:param home_page: The URL for the package's home page.
|
|
123
126
|
:type home_page: str
|
|
127
|
+
:param keywords: Additional keywords to be used to assist searching for the package in a larger catalog.
|
|
128
|
+
:type keywords: str
|
|
129
|
+
:param license: Text indicating the license covering the distribution
|
|
130
|
+
:type license: str
|
|
131
|
+
:param platform: A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
|
132
|
+
:type platform: str
|
|
133
|
+
:param summary: A one-line summary of what the package does.
|
|
134
|
+
:type summary: str
|
|
135
|
+
:param classifiers: A JSON list containing classification values for a Python package.
|
|
136
|
+
:type classifiers: object
|
|
124
137
|
:param download_url: Legacy field denoting the URL from which this package can be downloaded.
|
|
125
138
|
:type download_url: str
|
|
126
|
-
:param
|
|
127
|
-
:type
|
|
128
|
-
:param author_email: The author's e-mail address.
|
|
129
|
-
:type author_email: str
|
|
139
|
+
:param supported_platform: Field to specify the OS and CPU for which the binary package was compiled.
|
|
140
|
+
:type supported_platform: str
|
|
130
141
|
:param maintainer: The maintainer's name at a minimum; additional contact information may be provided.
|
|
131
142
|
:type maintainer: str
|
|
132
143
|
:param maintainer_email: The maintainer's e-mail address.
|
|
133
144
|
:type maintainer_email: str
|
|
134
|
-
:param
|
|
135
|
-
:type
|
|
136
|
-
:param requires_python: The Python version(s) that the distribution is guaranteed to be compatible with.
|
|
137
|
-
:type requires_python: str
|
|
145
|
+
:param obsoletes_dist: A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
|
146
|
+
:type obsoletes_dist: object
|
|
138
147
|
:param project_url: A browsable URL for the project and a label for it, separated by a comma.
|
|
139
148
|
:type project_url: str
|
|
140
149
|
:param project_urls: A dictionary of labels and URLs for the project.
|
|
141
150
|
:type project_urls: object
|
|
142
|
-
:param platform: A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
|
143
|
-
:type platform: str
|
|
144
|
-
:param supported_platform: Field to specify the OS and CPU for which the binary package was compiled.
|
|
145
|
-
:type supported_platform: str
|
|
146
|
-
:param requires_dist: A JSON list containing names of some other distutils project required by this distribution.
|
|
147
|
-
:type requires_dist: object
|
|
148
151
|
:param provides_dist: A JSON list containing names of a Distutils project which is contained within this distribution.
|
|
149
152
|
:type provides_dist: object
|
|
150
|
-
:param obsoletes_dist: A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
|
151
|
-
:type obsoletes_dist: object
|
|
152
153
|
:param requires_external: A JSON list containing some dependency in the system that the distribution is to be used.
|
|
153
154
|
:type requires_external: object
|
|
154
|
-
:param
|
|
155
|
-
:type
|
|
155
|
+
:param requires_dist: A JSON list containing names of some other distutils project required by this distribution.
|
|
156
|
+
:type requires_dist: object
|
|
157
|
+
:param requires_python: The Python version(s) that the distribution is guaranteed to be compatible with.
|
|
158
|
+
:type requires_python: str
|
|
159
|
+
:param description_content_type: A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
|
160
|
+
:type description_content_type: str
|
|
161
|
+
:param provides_extras: A JSON list containing names of optional features provided by the package.
|
|
162
|
+
:type provides_extras: object
|
|
163
|
+
:param dynamic: A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist.
|
|
164
|
+
:type dynamic: object
|
|
165
|
+
:param license_expression: Text string that is a valid SPDX license expression.
|
|
166
|
+
:type license_expression: str
|
|
167
|
+
:param license_file: A JSON list containing names of the paths to license-related files.
|
|
168
|
+
:type license_file: object
|
|
169
|
+
:param sha256: The SHA256 digest of this package.
|
|
170
|
+
:type sha256: str
|
|
156
171
|
:param _request_timeout: timeout setting for this request. If one
|
|
157
172
|
number provided, it will be total request
|
|
158
173
|
timeout. It can also be a pair (tuple) of
|
|
@@ -177,34 +192,39 @@ class ContentPackagesApi:
|
|
|
177
192
|
|
|
178
193
|
_param = self._create_serialize(
|
|
179
194
|
relative_path=relative_path,
|
|
195
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
180
196
|
repository=repository,
|
|
181
197
|
pulp_labels=pulp_labels,
|
|
182
198
|
artifact=artifact,
|
|
183
199
|
file=file,
|
|
184
200
|
upload=upload,
|
|
185
201
|
file_url=file_url,
|
|
186
|
-
|
|
187
|
-
|
|
202
|
+
author=author,
|
|
203
|
+
author_email=author_email,
|
|
188
204
|
description=description,
|
|
189
|
-
description_content_type=description_content_type,
|
|
190
|
-
keywords=keywords,
|
|
191
205
|
home_page=home_page,
|
|
206
|
+
keywords=keywords,
|
|
207
|
+
license=license,
|
|
208
|
+
platform=platform,
|
|
209
|
+
summary=summary,
|
|
210
|
+
classifiers=classifiers,
|
|
192
211
|
download_url=download_url,
|
|
193
|
-
|
|
194
|
-
author_email=author_email,
|
|
212
|
+
supported_platform=supported_platform,
|
|
195
213
|
maintainer=maintainer,
|
|
196
214
|
maintainer_email=maintainer_email,
|
|
197
|
-
|
|
198
|
-
requires_python=requires_python,
|
|
215
|
+
obsoletes_dist=obsoletes_dist,
|
|
199
216
|
project_url=project_url,
|
|
200
217
|
project_urls=project_urls,
|
|
201
|
-
platform=platform,
|
|
202
|
-
supported_platform=supported_platform,
|
|
203
|
-
requires_dist=requires_dist,
|
|
204
218
|
provides_dist=provides_dist,
|
|
205
|
-
obsoletes_dist=obsoletes_dist,
|
|
206
219
|
requires_external=requires_external,
|
|
207
|
-
|
|
220
|
+
requires_dist=requires_dist,
|
|
221
|
+
requires_python=requires_python,
|
|
222
|
+
description_content_type=description_content_type,
|
|
223
|
+
provides_extras=provides_extras,
|
|
224
|
+
dynamic=dynamic,
|
|
225
|
+
license_expression=license_expression,
|
|
226
|
+
license_file=license_file,
|
|
227
|
+
sha256=sha256,
|
|
208
228
|
_request_auth=_request_auth,
|
|
209
229
|
_content_type=_content_type,
|
|
210
230
|
_headers=_headers,
|
|
@@ -229,34 +249,39 @@ class ContentPackagesApi:
|
|
|
229
249
|
def create_with_http_info(
|
|
230
250
|
self,
|
|
231
251
|
relative_path: Annotated[str, Field(min_length=1, strict=True, description="Path where the artifact is located relative to distributions base_path")],
|
|
252
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
232
253
|
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
233
254
|
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,
|
|
234
255
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
235
256
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
236
257
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
237
258
|
file_url: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="A url that Pulp can download and turn into the content unit.")] = None,
|
|
238
|
-
|
|
239
|
-
|
|
259
|
+
author: Annotated[Optional[StrictStr], Field(description="Text containing the author's name. Contact information can also be added, separated with newlines.")] = None,
|
|
260
|
+
author_email: Annotated[Optional[StrictStr], Field(description="The author's e-mail address. ")] = None,
|
|
240
261
|
description: Annotated[Optional[StrictStr], Field(description="A longer description of the package that can run to several paragraphs.")] = None,
|
|
241
|
-
description_content_type: Annotated[Optional[StrictStr], Field(description="A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.")] = None,
|
|
242
|
-
keywords: Annotated[Optional[StrictStr], Field(description="Additional keywords to be used to assist searching for the package in a larger catalog.")] = None,
|
|
243
262
|
home_page: Annotated[Optional[StrictStr], Field(description="The URL for the package's home page.")] = None,
|
|
263
|
+
keywords: Annotated[Optional[StrictStr], Field(description="Additional keywords to be used to assist searching for the package in a larger catalog.")] = None,
|
|
264
|
+
license: Annotated[Optional[StrictStr], Field(description="Text indicating the license covering the distribution")] = None,
|
|
265
|
+
platform: Annotated[Optional[StrictStr], Field(description="A comma-separated list of platform specifications, summarizing the operating systems supported by the package.")] = None,
|
|
266
|
+
summary: Annotated[Optional[StrictStr], Field(description="A one-line summary of what the package does.")] = None,
|
|
267
|
+
classifiers: Annotated[Optional[Any], Field(description="A JSON list containing classification values for a Python package.")] = None,
|
|
244
268
|
download_url: Annotated[Optional[StrictStr], Field(description="Legacy field denoting the URL from which this package can be downloaded.")] = None,
|
|
245
|
-
|
|
246
|
-
author_email: Annotated[Optional[StrictStr], Field(description="The author's e-mail address. ")] = None,
|
|
269
|
+
supported_platform: Annotated[Optional[StrictStr], Field(description="Field to specify the OS and CPU for which the binary package was compiled. ")] = None,
|
|
247
270
|
maintainer: Annotated[Optional[StrictStr], Field(description="The maintainer's name at a minimum; additional contact information may be provided.")] = None,
|
|
248
271
|
maintainer_email: Annotated[Optional[StrictStr], Field(description="The maintainer's e-mail address.")] = None,
|
|
249
|
-
|
|
250
|
-
requires_python: Annotated[Optional[StrictStr], Field(description="The Python version(s) that the distribution is guaranteed to be compatible with.")] = None,
|
|
272
|
+
obsoletes_dist: Annotated[Optional[Any], Field(description="A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.")] = None,
|
|
251
273
|
project_url: Annotated[Optional[StrictStr], Field(description="A browsable URL for the project and a label for it, separated by a comma.")] = None,
|
|
252
274
|
project_urls: Annotated[Optional[Any], Field(description="A dictionary of labels and URLs for the project.")] = None,
|
|
253
|
-
platform: Annotated[Optional[StrictStr], Field(description="A comma-separated list of platform specifications, summarizing the operating systems supported by the package.")] = None,
|
|
254
|
-
supported_platform: Annotated[Optional[StrictStr], Field(description="Field to specify the OS and CPU for which the binary package was compiled. ")] = None,
|
|
255
|
-
requires_dist: Annotated[Optional[Any], Field(description="A JSON list containing names of some other distutils project required by this distribution.")] = None,
|
|
256
275
|
provides_dist: Annotated[Optional[Any], Field(description="A JSON list containing names of a Distutils project which is contained within this distribution.")] = None,
|
|
257
|
-
obsoletes_dist: Annotated[Optional[Any], Field(description="A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.")] = None,
|
|
258
276
|
requires_external: Annotated[Optional[Any], Field(description="A JSON list containing some dependency in the system that the distribution is to be used.")] = None,
|
|
259
|
-
|
|
277
|
+
requires_dist: Annotated[Optional[Any], Field(description="A JSON list containing names of some other distutils project required by this distribution.")] = None,
|
|
278
|
+
requires_python: Annotated[Optional[StrictStr], Field(description="The Python version(s) that the distribution is guaranteed to be compatible with.")] = None,
|
|
279
|
+
description_content_type: Annotated[Optional[StrictStr], Field(description="A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.")] = None,
|
|
280
|
+
provides_extras: Annotated[Optional[Any], Field(description="A JSON list containing names of optional features provided by the package.")] = None,
|
|
281
|
+
dynamic: Annotated[Optional[Any], Field(description="A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist.")] = None,
|
|
282
|
+
license_expression: Annotated[Optional[StrictStr], Field(description="Text string that is a valid SPDX license expression.")] = None,
|
|
283
|
+
license_file: Annotated[Optional[Any], Field(description="A JSON list containing names of the paths to license-related files.")] = None,
|
|
284
|
+
sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA256 digest of this package.")] = None,
|
|
260
285
|
_request_timeout: Union[
|
|
261
286
|
None,
|
|
262
287
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -276,6 +301,8 @@ class ContentPackagesApi:
|
|
|
276
301
|
|
|
277
302
|
:param relative_path: Path where the artifact is located relative to distributions base_path (required)
|
|
278
303
|
:type relative_path: str
|
|
304
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
305
|
+
:type x_task_diagnostics: List[str]
|
|
279
306
|
:param repository: A URI of a repository the new content unit should be associated with.
|
|
280
307
|
:type repository: str
|
|
281
308
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
@@ -288,50 +315,58 @@ class ContentPackagesApi:
|
|
|
288
315
|
:type upload: str
|
|
289
316
|
:param file_url: A url that Pulp can download and turn into the content unit.
|
|
290
317
|
:type file_url: str
|
|
291
|
-
:param
|
|
292
|
-
:type
|
|
293
|
-
:param
|
|
294
|
-
:type
|
|
318
|
+
:param author: Text containing the author's name. Contact information can also be added, separated with newlines.
|
|
319
|
+
:type author: str
|
|
320
|
+
:param author_email: The author's e-mail address.
|
|
321
|
+
:type author_email: str
|
|
295
322
|
:param description: A longer description of the package that can run to several paragraphs.
|
|
296
323
|
:type description: str
|
|
297
|
-
:param description_content_type: A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
|
298
|
-
:type description_content_type: str
|
|
299
|
-
:param keywords: Additional keywords to be used to assist searching for the package in a larger catalog.
|
|
300
|
-
:type keywords: str
|
|
301
324
|
:param home_page: The URL for the package's home page.
|
|
302
325
|
:type home_page: str
|
|
326
|
+
:param keywords: Additional keywords to be used to assist searching for the package in a larger catalog.
|
|
327
|
+
:type keywords: str
|
|
328
|
+
:param license: Text indicating the license covering the distribution
|
|
329
|
+
:type license: str
|
|
330
|
+
:param platform: A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
|
331
|
+
:type platform: str
|
|
332
|
+
:param summary: A one-line summary of what the package does.
|
|
333
|
+
:type summary: str
|
|
334
|
+
:param classifiers: A JSON list containing classification values for a Python package.
|
|
335
|
+
:type classifiers: object
|
|
303
336
|
:param download_url: Legacy field denoting the URL from which this package can be downloaded.
|
|
304
337
|
:type download_url: str
|
|
305
|
-
:param
|
|
306
|
-
:type
|
|
307
|
-
:param author_email: The author's e-mail address.
|
|
308
|
-
:type author_email: str
|
|
338
|
+
:param supported_platform: Field to specify the OS and CPU for which the binary package was compiled.
|
|
339
|
+
:type supported_platform: str
|
|
309
340
|
:param maintainer: The maintainer's name at a minimum; additional contact information may be provided.
|
|
310
341
|
:type maintainer: str
|
|
311
342
|
:param maintainer_email: The maintainer's e-mail address.
|
|
312
343
|
:type maintainer_email: str
|
|
313
|
-
:param
|
|
314
|
-
:type
|
|
315
|
-
:param requires_python: The Python version(s) that the distribution is guaranteed to be compatible with.
|
|
316
|
-
:type requires_python: str
|
|
344
|
+
:param obsoletes_dist: A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
|
345
|
+
:type obsoletes_dist: object
|
|
317
346
|
:param project_url: A browsable URL for the project and a label for it, separated by a comma.
|
|
318
347
|
:type project_url: str
|
|
319
348
|
:param project_urls: A dictionary of labels and URLs for the project.
|
|
320
349
|
:type project_urls: object
|
|
321
|
-
:param platform: A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
|
322
|
-
:type platform: str
|
|
323
|
-
:param supported_platform: Field to specify the OS and CPU for which the binary package was compiled.
|
|
324
|
-
:type supported_platform: str
|
|
325
|
-
:param requires_dist: A JSON list containing names of some other distutils project required by this distribution.
|
|
326
|
-
:type requires_dist: object
|
|
327
350
|
:param provides_dist: A JSON list containing names of a Distutils project which is contained within this distribution.
|
|
328
351
|
:type provides_dist: object
|
|
329
|
-
:param obsoletes_dist: A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
|
330
|
-
:type obsoletes_dist: object
|
|
331
352
|
:param requires_external: A JSON list containing some dependency in the system that the distribution is to be used.
|
|
332
353
|
:type requires_external: object
|
|
333
|
-
:param
|
|
334
|
-
:type
|
|
354
|
+
:param requires_dist: A JSON list containing names of some other distutils project required by this distribution.
|
|
355
|
+
:type requires_dist: object
|
|
356
|
+
:param requires_python: The Python version(s) that the distribution is guaranteed to be compatible with.
|
|
357
|
+
:type requires_python: str
|
|
358
|
+
:param description_content_type: A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
|
359
|
+
:type description_content_type: str
|
|
360
|
+
:param provides_extras: A JSON list containing names of optional features provided by the package.
|
|
361
|
+
:type provides_extras: object
|
|
362
|
+
:param dynamic: A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist.
|
|
363
|
+
:type dynamic: object
|
|
364
|
+
:param license_expression: Text string that is a valid SPDX license expression.
|
|
365
|
+
:type license_expression: str
|
|
366
|
+
:param license_file: A JSON list containing names of the paths to license-related files.
|
|
367
|
+
:type license_file: object
|
|
368
|
+
:param sha256: The SHA256 digest of this package.
|
|
369
|
+
:type sha256: str
|
|
335
370
|
:param _request_timeout: timeout setting for this request. If one
|
|
336
371
|
number provided, it will be total request
|
|
337
372
|
timeout. It can also be a pair (tuple) of
|
|
@@ -356,34 +391,39 @@ class ContentPackagesApi:
|
|
|
356
391
|
|
|
357
392
|
_param = self._create_serialize(
|
|
358
393
|
relative_path=relative_path,
|
|
394
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
359
395
|
repository=repository,
|
|
360
396
|
pulp_labels=pulp_labels,
|
|
361
397
|
artifact=artifact,
|
|
362
398
|
file=file,
|
|
363
399
|
upload=upload,
|
|
364
400
|
file_url=file_url,
|
|
365
|
-
|
|
366
|
-
|
|
401
|
+
author=author,
|
|
402
|
+
author_email=author_email,
|
|
367
403
|
description=description,
|
|
368
|
-
description_content_type=description_content_type,
|
|
369
|
-
keywords=keywords,
|
|
370
404
|
home_page=home_page,
|
|
405
|
+
keywords=keywords,
|
|
406
|
+
license=license,
|
|
407
|
+
platform=platform,
|
|
408
|
+
summary=summary,
|
|
409
|
+
classifiers=classifiers,
|
|
371
410
|
download_url=download_url,
|
|
372
|
-
|
|
373
|
-
author_email=author_email,
|
|
411
|
+
supported_platform=supported_platform,
|
|
374
412
|
maintainer=maintainer,
|
|
375
413
|
maintainer_email=maintainer_email,
|
|
376
|
-
|
|
377
|
-
requires_python=requires_python,
|
|
414
|
+
obsoletes_dist=obsoletes_dist,
|
|
378
415
|
project_url=project_url,
|
|
379
416
|
project_urls=project_urls,
|
|
380
|
-
platform=platform,
|
|
381
|
-
supported_platform=supported_platform,
|
|
382
|
-
requires_dist=requires_dist,
|
|
383
417
|
provides_dist=provides_dist,
|
|
384
|
-
obsoletes_dist=obsoletes_dist,
|
|
385
418
|
requires_external=requires_external,
|
|
386
|
-
|
|
419
|
+
requires_dist=requires_dist,
|
|
420
|
+
requires_python=requires_python,
|
|
421
|
+
description_content_type=description_content_type,
|
|
422
|
+
provides_extras=provides_extras,
|
|
423
|
+
dynamic=dynamic,
|
|
424
|
+
license_expression=license_expression,
|
|
425
|
+
license_file=license_file,
|
|
426
|
+
sha256=sha256,
|
|
387
427
|
_request_auth=_request_auth,
|
|
388
428
|
_content_type=_content_type,
|
|
389
429
|
_headers=_headers,
|
|
@@ -408,34 +448,39 @@ class ContentPackagesApi:
|
|
|
408
448
|
def create_without_preload_content(
|
|
409
449
|
self,
|
|
410
450
|
relative_path: Annotated[str, Field(min_length=1, strict=True, description="Path where the artifact is located relative to distributions base_path")],
|
|
451
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
411
452
|
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
412
453
|
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,
|
|
413
454
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
414
455
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
415
456
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
416
457
|
file_url: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="A url that Pulp can download and turn into the content unit.")] = None,
|
|
417
|
-
|
|
418
|
-
|
|
458
|
+
author: Annotated[Optional[StrictStr], Field(description="Text containing the author's name. Contact information can also be added, separated with newlines.")] = None,
|
|
459
|
+
author_email: Annotated[Optional[StrictStr], Field(description="The author's e-mail address. ")] = None,
|
|
419
460
|
description: Annotated[Optional[StrictStr], Field(description="A longer description of the package that can run to several paragraphs.")] = None,
|
|
420
|
-
description_content_type: Annotated[Optional[StrictStr], Field(description="A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.")] = None,
|
|
421
|
-
keywords: Annotated[Optional[StrictStr], Field(description="Additional keywords to be used to assist searching for the package in a larger catalog.")] = None,
|
|
422
461
|
home_page: Annotated[Optional[StrictStr], Field(description="The URL for the package's home page.")] = None,
|
|
462
|
+
keywords: Annotated[Optional[StrictStr], Field(description="Additional keywords to be used to assist searching for the package in a larger catalog.")] = None,
|
|
463
|
+
license: Annotated[Optional[StrictStr], Field(description="Text indicating the license covering the distribution")] = None,
|
|
464
|
+
platform: Annotated[Optional[StrictStr], Field(description="A comma-separated list of platform specifications, summarizing the operating systems supported by the package.")] = None,
|
|
465
|
+
summary: Annotated[Optional[StrictStr], Field(description="A one-line summary of what the package does.")] = None,
|
|
466
|
+
classifiers: Annotated[Optional[Any], Field(description="A JSON list containing classification values for a Python package.")] = None,
|
|
423
467
|
download_url: Annotated[Optional[StrictStr], Field(description="Legacy field denoting the URL from which this package can be downloaded.")] = None,
|
|
424
|
-
|
|
425
|
-
author_email: Annotated[Optional[StrictStr], Field(description="The author's e-mail address. ")] = None,
|
|
468
|
+
supported_platform: Annotated[Optional[StrictStr], Field(description="Field to specify the OS and CPU for which the binary package was compiled. ")] = None,
|
|
426
469
|
maintainer: Annotated[Optional[StrictStr], Field(description="The maintainer's name at a minimum; additional contact information may be provided.")] = None,
|
|
427
470
|
maintainer_email: Annotated[Optional[StrictStr], Field(description="The maintainer's e-mail address.")] = None,
|
|
428
|
-
|
|
429
|
-
requires_python: Annotated[Optional[StrictStr], Field(description="The Python version(s) that the distribution is guaranteed to be compatible with.")] = None,
|
|
471
|
+
obsoletes_dist: Annotated[Optional[Any], Field(description="A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.")] = None,
|
|
430
472
|
project_url: Annotated[Optional[StrictStr], Field(description="A browsable URL for the project and a label for it, separated by a comma.")] = None,
|
|
431
473
|
project_urls: Annotated[Optional[Any], Field(description="A dictionary of labels and URLs for the project.")] = None,
|
|
432
|
-
platform: Annotated[Optional[StrictStr], Field(description="A comma-separated list of platform specifications, summarizing the operating systems supported by the package.")] = None,
|
|
433
|
-
supported_platform: Annotated[Optional[StrictStr], Field(description="Field to specify the OS and CPU for which the binary package was compiled. ")] = None,
|
|
434
|
-
requires_dist: Annotated[Optional[Any], Field(description="A JSON list containing names of some other distutils project required by this distribution.")] = None,
|
|
435
474
|
provides_dist: Annotated[Optional[Any], Field(description="A JSON list containing names of a Distutils project which is contained within this distribution.")] = None,
|
|
436
|
-
obsoletes_dist: Annotated[Optional[Any], Field(description="A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.")] = None,
|
|
437
475
|
requires_external: Annotated[Optional[Any], Field(description="A JSON list containing some dependency in the system that the distribution is to be used.")] = None,
|
|
438
|
-
|
|
476
|
+
requires_dist: Annotated[Optional[Any], Field(description="A JSON list containing names of some other distutils project required by this distribution.")] = None,
|
|
477
|
+
requires_python: Annotated[Optional[StrictStr], Field(description="The Python version(s) that the distribution is guaranteed to be compatible with.")] = None,
|
|
478
|
+
description_content_type: Annotated[Optional[StrictStr], Field(description="A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.")] = None,
|
|
479
|
+
provides_extras: Annotated[Optional[Any], Field(description="A JSON list containing names of optional features provided by the package.")] = None,
|
|
480
|
+
dynamic: Annotated[Optional[Any], Field(description="A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist.")] = None,
|
|
481
|
+
license_expression: Annotated[Optional[StrictStr], Field(description="Text string that is a valid SPDX license expression.")] = None,
|
|
482
|
+
license_file: Annotated[Optional[Any], Field(description="A JSON list containing names of the paths to license-related files.")] = None,
|
|
483
|
+
sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA256 digest of this package.")] = None,
|
|
439
484
|
_request_timeout: Union[
|
|
440
485
|
None,
|
|
441
486
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -455,6 +500,8 @@ class ContentPackagesApi:
|
|
|
455
500
|
|
|
456
501
|
:param relative_path: Path where the artifact is located relative to distributions base_path (required)
|
|
457
502
|
:type relative_path: str
|
|
503
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
504
|
+
:type x_task_diagnostics: List[str]
|
|
458
505
|
:param repository: A URI of a repository the new content unit should be associated with.
|
|
459
506
|
:type repository: str
|
|
460
507
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
@@ -467,50 +514,58 @@ class ContentPackagesApi:
|
|
|
467
514
|
:type upload: str
|
|
468
515
|
:param file_url: A url that Pulp can download and turn into the content unit.
|
|
469
516
|
:type file_url: str
|
|
470
|
-
:param
|
|
471
|
-
:type
|
|
472
|
-
:param
|
|
473
|
-
:type
|
|
517
|
+
:param author: Text containing the author's name. Contact information can also be added, separated with newlines.
|
|
518
|
+
:type author: str
|
|
519
|
+
:param author_email: The author's e-mail address.
|
|
520
|
+
:type author_email: str
|
|
474
521
|
:param description: A longer description of the package that can run to several paragraphs.
|
|
475
522
|
:type description: str
|
|
476
|
-
:param description_content_type: A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
|
477
|
-
:type description_content_type: str
|
|
478
|
-
:param keywords: Additional keywords to be used to assist searching for the package in a larger catalog.
|
|
479
|
-
:type keywords: str
|
|
480
523
|
:param home_page: The URL for the package's home page.
|
|
481
524
|
:type home_page: str
|
|
525
|
+
:param keywords: Additional keywords to be used to assist searching for the package in a larger catalog.
|
|
526
|
+
:type keywords: str
|
|
527
|
+
:param license: Text indicating the license covering the distribution
|
|
528
|
+
:type license: str
|
|
529
|
+
:param platform: A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
|
530
|
+
:type platform: str
|
|
531
|
+
:param summary: A one-line summary of what the package does.
|
|
532
|
+
:type summary: str
|
|
533
|
+
:param classifiers: A JSON list containing classification values for a Python package.
|
|
534
|
+
:type classifiers: object
|
|
482
535
|
:param download_url: Legacy field denoting the URL from which this package can be downloaded.
|
|
483
536
|
:type download_url: str
|
|
484
|
-
:param
|
|
485
|
-
:type
|
|
486
|
-
:param author_email: The author's e-mail address.
|
|
487
|
-
:type author_email: str
|
|
537
|
+
:param supported_platform: Field to specify the OS and CPU for which the binary package was compiled.
|
|
538
|
+
:type supported_platform: str
|
|
488
539
|
:param maintainer: The maintainer's name at a minimum; additional contact information may be provided.
|
|
489
540
|
:type maintainer: str
|
|
490
541
|
:param maintainer_email: The maintainer's e-mail address.
|
|
491
542
|
:type maintainer_email: str
|
|
492
|
-
:param
|
|
493
|
-
:type
|
|
494
|
-
:param requires_python: The Python version(s) that the distribution is guaranteed to be compatible with.
|
|
495
|
-
:type requires_python: str
|
|
543
|
+
:param obsoletes_dist: A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
|
544
|
+
:type obsoletes_dist: object
|
|
496
545
|
:param project_url: A browsable URL for the project and a label for it, separated by a comma.
|
|
497
546
|
:type project_url: str
|
|
498
547
|
:param project_urls: A dictionary of labels and URLs for the project.
|
|
499
548
|
:type project_urls: object
|
|
500
|
-
:param platform: A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
|
501
|
-
:type platform: str
|
|
502
|
-
:param supported_platform: Field to specify the OS and CPU for which the binary package was compiled.
|
|
503
|
-
:type supported_platform: str
|
|
504
|
-
:param requires_dist: A JSON list containing names of some other distutils project required by this distribution.
|
|
505
|
-
:type requires_dist: object
|
|
506
549
|
:param provides_dist: A JSON list containing names of a Distutils project which is contained within this distribution.
|
|
507
550
|
:type provides_dist: object
|
|
508
|
-
:param obsoletes_dist: A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
|
509
|
-
:type obsoletes_dist: object
|
|
510
551
|
:param requires_external: A JSON list containing some dependency in the system that the distribution is to be used.
|
|
511
552
|
:type requires_external: object
|
|
512
|
-
:param
|
|
513
|
-
:type
|
|
553
|
+
:param requires_dist: A JSON list containing names of some other distutils project required by this distribution.
|
|
554
|
+
:type requires_dist: object
|
|
555
|
+
:param requires_python: The Python version(s) that the distribution is guaranteed to be compatible with.
|
|
556
|
+
:type requires_python: str
|
|
557
|
+
:param description_content_type: A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
|
558
|
+
:type description_content_type: str
|
|
559
|
+
:param provides_extras: A JSON list containing names of optional features provided by the package.
|
|
560
|
+
:type provides_extras: object
|
|
561
|
+
:param dynamic: A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist.
|
|
562
|
+
:type dynamic: object
|
|
563
|
+
:param license_expression: Text string that is a valid SPDX license expression.
|
|
564
|
+
:type license_expression: str
|
|
565
|
+
:param license_file: A JSON list containing names of the paths to license-related files.
|
|
566
|
+
:type license_file: object
|
|
567
|
+
:param sha256: The SHA256 digest of this package.
|
|
568
|
+
:type sha256: str
|
|
514
569
|
:param _request_timeout: timeout setting for this request. If one
|
|
515
570
|
number provided, it will be total request
|
|
516
571
|
timeout. It can also be a pair (tuple) of
|
|
@@ -535,34 +590,39 @@ class ContentPackagesApi:
|
|
|
535
590
|
|
|
536
591
|
_param = self._create_serialize(
|
|
537
592
|
relative_path=relative_path,
|
|
593
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
538
594
|
repository=repository,
|
|
539
595
|
pulp_labels=pulp_labels,
|
|
540
596
|
artifact=artifact,
|
|
541
597
|
file=file,
|
|
542
598
|
upload=upload,
|
|
543
599
|
file_url=file_url,
|
|
544
|
-
|
|
545
|
-
|
|
600
|
+
author=author,
|
|
601
|
+
author_email=author_email,
|
|
546
602
|
description=description,
|
|
547
|
-
description_content_type=description_content_type,
|
|
548
|
-
keywords=keywords,
|
|
549
603
|
home_page=home_page,
|
|
604
|
+
keywords=keywords,
|
|
605
|
+
license=license,
|
|
606
|
+
platform=platform,
|
|
607
|
+
summary=summary,
|
|
608
|
+
classifiers=classifiers,
|
|
550
609
|
download_url=download_url,
|
|
551
|
-
|
|
552
|
-
author_email=author_email,
|
|
610
|
+
supported_platform=supported_platform,
|
|
553
611
|
maintainer=maintainer,
|
|
554
612
|
maintainer_email=maintainer_email,
|
|
555
|
-
|
|
556
|
-
requires_python=requires_python,
|
|
613
|
+
obsoletes_dist=obsoletes_dist,
|
|
557
614
|
project_url=project_url,
|
|
558
615
|
project_urls=project_urls,
|
|
559
|
-
platform=platform,
|
|
560
|
-
supported_platform=supported_platform,
|
|
561
|
-
requires_dist=requires_dist,
|
|
562
616
|
provides_dist=provides_dist,
|
|
563
|
-
obsoletes_dist=obsoletes_dist,
|
|
564
617
|
requires_external=requires_external,
|
|
565
|
-
|
|
618
|
+
requires_dist=requires_dist,
|
|
619
|
+
requires_python=requires_python,
|
|
620
|
+
description_content_type=description_content_type,
|
|
621
|
+
provides_extras=provides_extras,
|
|
622
|
+
dynamic=dynamic,
|
|
623
|
+
license_expression=license_expression,
|
|
624
|
+
license_file=license_file,
|
|
625
|
+
sha256=sha256,
|
|
566
626
|
_request_auth=_request_auth,
|
|
567
627
|
_content_type=_content_type,
|
|
568
628
|
_headers=_headers,
|
|
@@ -582,34 +642,39 @@ class ContentPackagesApi:
|
|
|
582
642
|
def _create_serialize(
|
|
583
643
|
self,
|
|
584
644
|
relative_path,
|
|
645
|
+
x_task_diagnostics,
|
|
585
646
|
repository,
|
|
586
647
|
pulp_labels,
|
|
587
648
|
artifact,
|
|
588
649
|
file,
|
|
589
650
|
upload,
|
|
590
651
|
file_url,
|
|
591
|
-
|
|
592
|
-
|
|
652
|
+
author,
|
|
653
|
+
author_email,
|
|
593
654
|
description,
|
|
594
|
-
description_content_type,
|
|
595
|
-
keywords,
|
|
596
655
|
home_page,
|
|
656
|
+
keywords,
|
|
657
|
+
license,
|
|
658
|
+
platform,
|
|
659
|
+
summary,
|
|
660
|
+
classifiers,
|
|
597
661
|
download_url,
|
|
598
|
-
|
|
599
|
-
author_email,
|
|
662
|
+
supported_platform,
|
|
600
663
|
maintainer,
|
|
601
664
|
maintainer_email,
|
|
602
|
-
|
|
603
|
-
requires_python,
|
|
665
|
+
obsoletes_dist,
|
|
604
666
|
project_url,
|
|
605
667
|
project_urls,
|
|
606
|
-
platform,
|
|
607
|
-
supported_platform,
|
|
608
|
-
requires_dist,
|
|
609
668
|
provides_dist,
|
|
610
|
-
obsoletes_dist,
|
|
611
669
|
requires_external,
|
|
612
|
-
|
|
670
|
+
requires_dist,
|
|
671
|
+
requires_python,
|
|
672
|
+
description_content_type,
|
|
673
|
+
provides_extras,
|
|
674
|
+
dynamic,
|
|
675
|
+
license_expression,
|
|
676
|
+
license_file,
|
|
677
|
+
sha256,
|
|
613
678
|
_request_auth,
|
|
614
679
|
_content_type,
|
|
615
680
|
_headers,
|
|
@@ -619,6 +684,7 @@ class ContentPackagesApi:
|
|
|
619
684
|
_host = None
|
|
620
685
|
|
|
621
686
|
_collection_formats: Dict[str, str] = {
|
|
687
|
+
'X-Task-Diagnostics': 'csv',
|
|
622
688
|
}
|
|
623
689
|
|
|
624
690
|
_path_params: Dict[str, str] = {}
|
|
@@ -633,6 +699,8 @@ class ContentPackagesApi:
|
|
|
633
699
|
# process the path parameters
|
|
634
700
|
# process the query parameters
|
|
635
701
|
# process the header parameters
|
|
702
|
+
if x_task_diagnostics is not None:
|
|
703
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
636
704
|
# process the form parameters
|
|
637
705
|
if repository is not None:
|
|
638
706
|
_form_params.append(('repository', repository))
|
|
@@ -648,50 +716,58 @@ class ContentPackagesApi:
|
|
|
648
716
|
_form_params.append(('upload', upload))
|
|
649
717
|
if file_url is not None:
|
|
650
718
|
_form_params.append(('file_url', file_url))
|
|
651
|
-
if
|
|
652
|
-
_form_params.append(('
|
|
653
|
-
if
|
|
654
|
-
_form_params.append(('
|
|
719
|
+
if author is not None:
|
|
720
|
+
_form_params.append(('author', author))
|
|
721
|
+
if author_email is not None:
|
|
722
|
+
_form_params.append(('author_email', author_email))
|
|
655
723
|
if description is not None:
|
|
656
724
|
_form_params.append(('description', description))
|
|
657
|
-
if description_content_type is not None:
|
|
658
|
-
_form_params.append(('description_content_type', description_content_type))
|
|
659
|
-
if keywords is not None:
|
|
660
|
-
_form_params.append(('keywords', keywords))
|
|
661
725
|
if home_page is not None:
|
|
662
726
|
_form_params.append(('home_page', home_page))
|
|
727
|
+
if keywords is not None:
|
|
728
|
+
_form_params.append(('keywords', keywords))
|
|
729
|
+
if license is not None:
|
|
730
|
+
_form_params.append(('license', license))
|
|
731
|
+
if platform is not None:
|
|
732
|
+
_form_params.append(('platform', platform))
|
|
733
|
+
if summary is not None:
|
|
734
|
+
_form_params.append(('summary', summary))
|
|
735
|
+
if classifiers is not None:
|
|
736
|
+
_form_params.append(('classifiers', classifiers))
|
|
663
737
|
if download_url is not None:
|
|
664
738
|
_form_params.append(('download_url', download_url))
|
|
665
|
-
if
|
|
666
|
-
_form_params.append(('
|
|
667
|
-
if author_email is not None:
|
|
668
|
-
_form_params.append(('author_email', author_email))
|
|
739
|
+
if supported_platform is not None:
|
|
740
|
+
_form_params.append(('supported_platform', supported_platform))
|
|
669
741
|
if maintainer is not None:
|
|
670
742
|
_form_params.append(('maintainer', maintainer))
|
|
671
743
|
if maintainer_email is not None:
|
|
672
744
|
_form_params.append(('maintainer_email', maintainer_email))
|
|
673
|
-
if
|
|
674
|
-
_form_params.append(('
|
|
675
|
-
if requires_python is not None:
|
|
676
|
-
_form_params.append(('requires_python', requires_python))
|
|
745
|
+
if obsoletes_dist is not None:
|
|
746
|
+
_form_params.append(('obsoletes_dist', obsoletes_dist))
|
|
677
747
|
if project_url is not None:
|
|
678
748
|
_form_params.append(('project_url', project_url))
|
|
679
749
|
if project_urls is not None:
|
|
680
750
|
_form_params.append(('project_urls', project_urls))
|
|
681
|
-
if platform is not None:
|
|
682
|
-
_form_params.append(('platform', platform))
|
|
683
|
-
if supported_platform is not None:
|
|
684
|
-
_form_params.append(('supported_platform', supported_platform))
|
|
685
|
-
if requires_dist is not None:
|
|
686
|
-
_form_params.append(('requires_dist', requires_dist))
|
|
687
751
|
if provides_dist is not None:
|
|
688
752
|
_form_params.append(('provides_dist', provides_dist))
|
|
689
|
-
if obsoletes_dist is not None:
|
|
690
|
-
_form_params.append(('obsoletes_dist', obsoletes_dist))
|
|
691
753
|
if requires_external is not None:
|
|
692
754
|
_form_params.append(('requires_external', requires_external))
|
|
693
|
-
if
|
|
694
|
-
_form_params.append(('
|
|
755
|
+
if requires_dist is not None:
|
|
756
|
+
_form_params.append(('requires_dist', requires_dist))
|
|
757
|
+
if requires_python is not None:
|
|
758
|
+
_form_params.append(('requires_python', requires_python))
|
|
759
|
+
if description_content_type is not None:
|
|
760
|
+
_form_params.append(('description_content_type', description_content_type))
|
|
761
|
+
if provides_extras is not None:
|
|
762
|
+
_form_params.append(('provides_extras', provides_extras))
|
|
763
|
+
if dynamic is not None:
|
|
764
|
+
_form_params.append(('dynamic', dynamic))
|
|
765
|
+
if license_expression is not None:
|
|
766
|
+
_form_params.append(('license_expression', license_expression))
|
|
767
|
+
if license_file is not None:
|
|
768
|
+
_form_params.append(('license_file', license_file))
|
|
769
|
+
if sha256 is not None:
|
|
770
|
+
_form_params.append(('sha256', sha256))
|
|
695
771
|
# process the body parameter
|
|
696
772
|
|
|
697
773
|
|
|
@@ -745,6 +821,7 @@ class ContentPackagesApi:
|
|
|
745
821
|
@validate_call
|
|
746
822
|
def list(
|
|
747
823
|
self,
|
|
824
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
748
825
|
author: Annotated[Optional[StrictStr], Field(description="Filter results where author matches value")] = None,
|
|
749
826
|
author__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where author is in a comma-separated list of values")] = None,
|
|
750
827
|
filename: Annotated[Optional[StrictStr], Field(description="Filter results where filename matches value")] = None,
|
|
@@ -756,7 +833,7 @@ class ContentPackagesApi:
|
|
|
756
833
|
name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
|
|
757
834
|
name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
|
|
758
835
|
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
759
|
-
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `
|
|
836
|
+
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
760
837
|
orphaned_for: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.")] = None,
|
|
761
838
|
packagetype: Annotated[Optional[StrictStr], Field(description="Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist")] = None,
|
|
762
839
|
packagetype__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where packagetype is in a comma-separated list of values")] = None,
|
|
@@ -797,6 +874,8 @@ class ContentPackagesApi:
|
|
|
797
874
|
|
|
798
875
|
PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
|
799
876
|
|
|
877
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
878
|
+
:type x_task_diagnostics: List[str]
|
|
800
879
|
:param author: Filter results where author matches value
|
|
801
880
|
:type author: str
|
|
802
881
|
:param author__in: Filter results where author is in a comma-separated list of values
|
|
@@ -819,7 +898,7 @@ class ContentPackagesApi:
|
|
|
819
898
|
:type name__in: List[str]
|
|
820
899
|
:param offset: The initial index from which to return the results.
|
|
821
900
|
:type offset: int
|
|
822
|
-
:param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `
|
|
901
|
+
:param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
823
902
|
:type ordering: List[str]
|
|
824
903
|
:param orphaned_for: Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
825
904
|
:type orphaned_for: float
|
|
@@ -890,6 +969,7 @@ class ContentPackagesApi:
|
|
|
890
969
|
""" # noqa: E501
|
|
891
970
|
|
|
892
971
|
_param = self._list_serialize(
|
|
972
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
893
973
|
author=author,
|
|
894
974
|
author__in=author__in,
|
|
895
975
|
filename=filename,
|
|
@@ -948,6 +1028,7 @@ class ContentPackagesApi:
|
|
|
948
1028
|
@validate_call
|
|
949
1029
|
def list_with_http_info(
|
|
950
1030
|
self,
|
|
1031
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
951
1032
|
author: Annotated[Optional[StrictStr], Field(description="Filter results where author matches value")] = None,
|
|
952
1033
|
author__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where author is in a comma-separated list of values")] = None,
|
|
953
1034
|
filename: Annotated[Optional[StrictStr], Field(description="Filter results where filename matches value")] = None,
|
|
@@ -959,7 +1040,7 @@ class ContentPackagesApi:
|
|
|
959
1040
|
name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
|
|
960
1041
|
name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
|
|
961
1042
|
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
962
|
-
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `
|
|
1043
|
+
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
963
1044
|
orphaned_for: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.")] = None,
|
|
964
1045
|
packagetype: Annotated[Optional[StrictStr], Field(description="Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist")] = None,
|
|
965
1046
|
packagetype__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where packagetype is in a comma-separated list of values")] = None,
|
|
@@ -1000,6 +1081,8 @@ class ContentPackagesApi:
|
|
|
1000
1081
|
|
|
1001
1082
|
PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
|
1002
1083
|
|
|
1084
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1085
|
+
:type x_task_diagnostics: List[str]
|
|
1003
1086
|
:param author: Filter results where author matches value
|
|
1004
1087
|
:type author: str
|
|
1005
1088
|
:param author__in: Filter results where author is in a comma-separated list of values
|
|
@@ -1022,7 +1105,7 @@ class ContentPackagesApi:
|
|
|
1022
1105
|
:type name__in: List[str]
|
|
1023
1106
|
:param offset: The initial index from which to return the results.
|
|
1024
1107
|
:type offset: int
|
|
1025
|
-
:param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `
|
|
1108
|
+
:param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
1026
1109
|
:type ordering: List[str]
|
|
1027
1110
|
:param orphaned_for: Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
1028
1111
|
:type orphaned_for: float
|
|
@@ -1093,6 +1176,7 @@ class ContentPackagesApi:
|
|
|
1093
1176
|
""" # noqa: E501
|
|
1094
1177
|
|
|
1095
1178
|
_param = self._list_serialize(
|
|
1179
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1096
1180
|
author=author,
|
|
1097
1181
|
author__in=author__in,
|
|
1098
1182
|
filename=filename,
|
|
@@ -1151,6 +1235,7 @@ class ContentPackagesApi:
|
|
|
1151
1235
|
@validate_call
|
|
1152
1236
|
def list_without_preload_content(
|
|
1153
1237
|
self,
|
|
1238
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1154
1239
|
author: Annotated[Optional[StrictStr], Field(description="Filter results where author matches value")] = None,
|
|
1155
1240
|
author__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where author is in a comma-separated list of values")] = None,
|
|
1156
1241
|
filename: Annotated[Optional[StrictStr], Field(description="Filter results where filename matches value")] = None,
|
|
@@ -1162,7 +1247,7 @@ class ContentPackagesApi:
|
|
|
1162
1247
|
name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
|
|
1163
1248
|
name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
|
|
1164
1249
|
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
1165
|
-
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `
|
|
1250
|
+
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
1166
1251
|
orphaned_for: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.")] = None,
|
|
1167
1252
|
packagetype: Annotated[Optional[StrictStr], Field(description="Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist")] = None,
|
|
1168
1253
|
packagetype__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where packagetype is in a comma-separated list of values")] = None,
|
|
@@ -1203,6 +1288,8 @@ class ContentPackagesApi:
|
|
|
1203
1288
|
|
|
1204
1289
|
PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
|
1205
1290
|
|
|
1291
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1292
|
+
:type x_task_diagnostics: List[str]
|
|
1206
1293
|
:param author: Filter results where author matches value
|
|
1207
1294
|
:type author: str
|
|
1208
1295
|
:param author__in: Filter results where author is in a comma-separated list of values
|
|
@@ -1225,7 +1312,7 @@ class ContentPackagesApi:
|
|
|
1225
1312
|
:type name__in: List[str]
|
|
1226
1313
|
:param offset: The initial index from which to return the results.
|
|
1227
1314
|
:type offset: int
|
|
1228
|
-
:param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `
|
|
1315
|
+
:param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
1229
1316
|
:type ordering: List[str]
|
|
1230
1317
|
:param orphaned_for: Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
1231
1318
|
:type orphaned_for: float
|
|
@@ -1296,6 +1383,7 @@ class ContentPackagesApi:
|
|
|
1296
1383
|
""" # noqa: E501
|
|
1297
1384
|
|
|
1298
1385
|
_param = self._list_serialize(
|
|
1386
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1299
1387
|
author=author,
|
|
1300
1388
|
author__in=author__in,
|
|
1301
1389
|
filename=filename,
|
|
@@ -1349,6 +1437,7 @@ class ContentPackagesApi:
|
|
|
1349
1437
|
|
|
1350
1438
|
def _list_serialize(
|
|
1351
1439
|
self,
|
|
1440
|
+
x_task_diagnostics,
|
|
1352
1441
|
author,
|
|
1353
1442
|
author__in,
|
|
1354
1443
|
filename,
|
|
@@ -1393,6 +1482,7 @@ class ContentPackagesApi:
|
|
|
1393
1482
|
_host = None
|
|
1394
1483
|
|
|
1395
1484
|
_collection_formats: Dict[str, str] = {
|
|
1485
|
+
'X-Task-Diagnostics': 'csv',
|
|
1396
1486
|
'author__in': 'csv',
|
|
1397
1487
|
'filename__in': 'csv',
|
|
1398
1488
|
'keywords__in': 'csv',
|
|
@@ -1560,6 +1650,8 @@ class ContentPackagesApi:
|
|
|
1560
1650
|
_query_params.append(('exclude_fields', exclude_fields))
|
|
1561
1651
|
|
|
1562
1652
|
# process the header parameters
|
|
1653
|
+
if x_task_diagnostics is not None:
|
|
1654
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
1563
1655
|
# process the form parameters
|
|
1564
1656
|
# process the body parameter
|
|
1565
1657
|
|
|
@@ -1601,6 +1693,7 @@ class ContentPackagesApi:
|
|
|
1601
1693
|
def read(
|
|
1602
1694
|
self,
|
|
1603
1695
|
python_python_package_content_href: StrictStr,
|
|
1696
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1604
1697
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1605
1698
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1606
1699
|
_request_timeout: Union[
|
|
@@ -1622,6 +1715,8 @@ class ContentPackagesApi:
|
|
|
1622
1715
|
|
|
1623
1716
|
:param python_python_package_content_href: (required)
|
|
1624
1717
|
:type python_python_package_content_href: str
|
|
1718
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1719
|
+
:type x_task_diagnostics: List[str]
|
|
1625
1720
|
:param fields: A list of fields to include in the response.
|
|
1626
1721
|
:type fields: List[str]
|
|
1627
1722
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -1650,6 +1745,7 @@ class ContentPackagesApi:
|
|
|
1650
1745
|
|
|
1651
1746
|
_param = self._read_serialize(
|
|
1652
1747
|
python_python_package_content_href=python_python_package_content_href,
|
|
1748
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1653
1749
|
fields=fields,
|
|
1654
1750
|
exclude_fields=exclude_fields,
|
|
1655
1751
|
_request_auth=_request_auth,
|
|
@@ -1676,6 +1772,7 @@ class ContentPackagesApi:
|
|
|
1676
1772
|
def read_with_http_info(
|
|
1677
1773
|
self,
|
|
1678
1774
|
python_python_package_content_href: StrictStr,
|
|
1775
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1679
1776
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1680
1777
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1681
1778
|
_request_timeout: Union[
|
|
@@ -1697,6 +1794,8 @@ class ContentPackagesApi:
|
|
|
1697
1794
|
|
|
1698
1795
|
:param python_python_package_content_href: (required)
|
|
1699
1796
|
:type python_python_package_content_href: str
|
|
1797
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1798
|
+
:type x_task_diagnostics: List[str]
|
|
1700
1799
|
:param fields: A list of fields to include in the response.
|
|
1701
1800
|
:type fields: List[str]
|
|
1702
1801
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -1725,6 +1824,7 @@ class ContentPackagesApi:
|
|
|
1725
1824
|
|
|
1726
1825
|
_param = self._read_serialize(
|
|
1727
1826
|
python_python_package_content_href=python_python_package_content_href,
|
|
1827
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1728
1828
|
fields=fields,
|
|
1729
1829
|
exclude_fields=exclude_fields,
|
|
1730
1830
|
_request_auth=_request_auth,
|
|
@@ -1751,6 +1851,7 @@ class ContentPackagesApi:
|
|
|
1751
1851
|
def read_without_preload_content(
|
|
1752
1852
|
self,
|
|
1753
1853
|
python_python_package_content_href: StrictStr,
|
|
1854
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1754
1855
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1755
1856
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1756
1857
|
_request_timeout: Union[
|
|
@@ -1772,6 +1873,8 @@ class ContentPackagesApi:
|
|
|
1772
1873
|
|
|
1773
1874
|
:param python_python_package_content_href: (required)
|
|
1774
1875
|
:type python_python_package_content_href: str
|
|
1876
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1877
|
+
:type x_task_diagnostics: List[str]
|
|
1775
1878
|
:param fields: A list of fields to include in the response.
|
|
1776
1879
|
:type fields: List[str]
|
|
1777
1880
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -1800,6 +1903,7 @@ class ContentPackagesApi:
|
|
|
1800
1903
|
|
|
1801
1904
|
_param = self._read_serialize(
|
|
1802
1905
|
python_python_package_content_href=python_python_package_content_href,
|
|
1906
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1803
1907
|
fields=fields,
|
|
1804
1908
|
exclude_fields=exclude_fields,
|
|
1805
1909
|
_request_auth=_request_auth,
|
|
@@ -1821,6 +1925,7 @@ class ContentPackagesApi:
|
|
|
1821
1925
|
def _read_serialize(
|
|
1822
1926
|
self,
|
|
1823
1927
|
python_python_package_content_href,
|
|
1928
|
+
x_task_diagnostics,
|
|
1824
1929
|
fields,
|
|
1825
1930
|
exclude_fields,
|
|
1826
1931
|
_request_auth,
|
|
@@ -1832,6 +1937,7 @@ class ContentPackagesApi:
|
|
|
1832
1937
|
_host = None
|
|
1833
1938
|
|
|
1834
1939
|
_collection_formats: Dict[str, str] = {
|
|
1940
|
+
'X-Task-Diagnostics': 'csv',
|
|
1835
1941
|
'fields': 'multi',
|
|
1836
1942
|
'exclude_fields': 'multi',
|
|
1837
1943
|
}
|
|
@@ -1858,6 +1964,8 @@ class ContentPackagesApi:
|
|
|
1858
1964
|
_query_params.append(('exclude_fields', exclude_fields))
|
|
1859
1965
|
|
|
1860
1966
|
# process the header parameters
|
|
1967
|
+
if x_task_diagnostics is not None:
|
|
1968
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
1861
1969
|
# process the form parameters
|
|
1862
1970
|
# process the body parameter
|
|
1863
1971
|
|
|
@@ -1900,6 +2008,7 @@ class ContentPackagesApi:
|
|
|
1900
2008
|
self,
|
|
1901
2009
|
python_python_package_content_href: StrictStr,
|
|
1902
2010
|
set_label: SetLabel,
|
|
2011
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1903
2012
|
_request_timeout: Union[
|
|
1904
2013
|
None,
|
|
1905
2014
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1921,6 +2030,8 @@ class ContentPackagesApi:
|
|
|
1921
2030
|
:type python_python_package_content_href: str
|
|
1922
2031
|
:param set_label: (required)
|
|
1923
2032
|
:type set_label: SetLabel
|
|
2033
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
2034
|
+
:type x_task_diagnostics: List[str]
|
|
1924
2035
|
:param _request_timeout: timeout setting for this request. If one
|
|
1925
2036
|
number provided, it will be total request
|
|
1926
2037
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1946,6 +2057,7 @@ class ContentPackagesApi:
|
|
|
1946
2057
|
_param = self._set_label_serialize(
|
|
1947
2058
|
python_python_package_content_href=python_python_package_content_href,
|
|
1948
2059
|
set_label=set_label,
|
|
2060
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1949
2061
|
_request_auth=_request_auth,
|
|
1950
2062
|
_content_type=_content_type,
|
|
1951
2063
|
_headers=_headers,
|
|
@@ -1971,6 +2083,7 @@ class ContentPackagesApi:
|
|
|
1971
2083
|
self,
|
|
1972
2084
|
python_python_package_content_href: StrictStr,
|
|
1973
2085
|
set_label: SetLabel,
|
|
2086
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1974
2087
|
_request_timeout: Union[
|
|
1975
2088
|
None,
|
|
1976
2089
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1992,6 +2105,8 @@ class ContentPackagesApi:
|
|
|
1992
2105
|
:type python_python_package_content_href: str
|
|
1993
2106
|
:param set_label: (required)
|
|
1994
2107
|
:type set_label: SetLabel
|
|
2108
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
2109
|
+
:type x_task_diagnostics: List[str]
|
|
1995
2110
|
:param _request_timeout: timeout setting for this request. If one
|
|
1996
2111
|
number provided, it will be total request
|
|
1997
2112
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2017,6 +2132,7 @@ class ContentPackagesApi:
|
|
|
2017
2132
|
_param = self._set_label_serialize(
|
|
2018
2133
|
python_python_package_content_href=python_python_package_content_href,
|
|
2019
2134
|
set_label=set_label,
|
|
2135
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
2020
2136
|
_request_auth=_request_auth,
|
|
2021
2137
|
_content_type=_content_type,
|
|
2022
2138
|
_headers=_headers,
|
|
@@ -2042,6 +2158,7 @@ class ContentPackagesApi:
|
|
|
2042
2158
|
self,
|
|
2043
2159
|
python_python_package_content_href: StrictStr,
|
|
2044
2160
|
set_label: SetLabel,
|
|
2161
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
2045
2162
|
_request_timeout: Union[
|
|
2046
2163
|
None,
|
|
2047
2164
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2063,6 +2180,8 @@ class ContentPackagesApi:
|
|
|
2063
2180
|
:type python_python_package_content_href: str
|
|
2064
2181
|
:param set_label: (required)
|
|
2065
2182
|
:type set_label: SetLabel
|
|
2183
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
2184
|
+
:type x_task_diagnostics: List[str]
|
|
2066
2185
|
:param _request_timeout: timeout setting for this request. If one
|
|
2067
2186
|
number provided, it will be total request
|
|
2068
2187
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2088,6 +2207,7 @@ class ContentPackagesApi:
|
|
|
2088
2207
|
_param = self._set_label_serialize(
|
|
2089
2208
|
python_python_package_content_href=python_python_package_content_href,
|
|
2090
2209
|
set_label=set_label,
|
|
2210
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
2091
2211
|
_request_auth=_request_auth,
|
|
2092
2212
|
_content_type=_content_type,
|
|
2093
2213
|
_headers=_headers,
|
|
@@ -2108,6 +2228,7 @@ class ContentPackagesApi:
|
|
|
2108
2228
|
self,
|
|
2109
2229
|
python_python_package_content_href,
|
|
2110
2230
|
set_label,
|
|
2231
|
+
x_task_diagnostics,
|
|
2111
2232
|
_request_auth,
|
|
2112
2233
|
_content_type,
|
|
2113
2234
|
_headers,
|
|
@@ -2117,6 +2238,7 @@ class ContentPackagesApi:
|
|
|
2117
2238
|
_host = None
|
|
2118
2239
|
|
|
2119
2240
|
_collection_formats: Dict[str, str] = {
|
|
2241
|
+
'X-Task-Diagnostics': 'csv',
|
|
2120
2242
|
}
|
|
2121
2243
|
|
|
2122
2244
|
_path_params: Dict[str, str] = {}
|
|
@@ -2133,6 +2255,8 @@ class ContentPackagesApi:
|
|
|
2133
2255
|
_path_params['python_python_package_content_href'] = python_python_package_content_href
|
|
2134
2256
|
# process the query parameters
|
|
2135
2257
|
# process the header parameters
|
|
2258
|
+
if x_task_diagnostics is not None:
|
|
2259
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
2136
2260
|
# process the form parameters
|
|
2137
2261
|
# process the body parameter
|
|
2138
2262
|
if set_label is not None:
|
|
@@ -2192,6 +2316,7 @@ class ContentPackagesApi:
|
|
|
2192
2316
|
self,
|
|
2193
2317
|
python_python_package_content_href: StrictStr,
|
|
2194
2318
|
unset_label: UnsetLabel,
|
|
2319
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
2195
2320
|
_request_timeout: Union[
|
|
2196
2321
|
None,
|
|
2197
2322
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2213,6 +2338,8 @@ class ContentPackagesApi:
|
|
|
2213
2338
|
:type python_python_package_content_href: str
|
|
2214
2339
|
:param unset_label: (required)
|
|
2215
2340
|
:type unset_label: UnsetLabel
|
|
2341
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
2342
|
+
:type x_task_diagnostics: List[str]
|
|
2216
2343
|
:param _request_timeout: timeout setting for this request. If one
|
|
2217
2344
|
number provided, it will be total request
|
|
2218
2345
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2238,6 +2365,7 @@ class ContentPackagesApi:
|
|
|
2238
2365
|
_param = self._unset_label_serialize(
|
|
2239
2366
|
python_python_package_content_href=python_python_package_content_href,
|
|
2240
2367
|
unset_label=unset_label,
|
|
2368
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
2241
2369
|
_request_auth=_request_auth,
|
|
2242
2370
|
_content_type=_content_type,
|
|
2243
2371
|
_headers=_headers,
|
|
@@ -2263,6 +2391,7 @@ class ContentPackagesApi:
|
|
|
2263
2391
|
self,
|
|
2264
2392
|
python_python_package_content_href: StrictStr,
|
|
2265
2393
|
unset_label: UnsetLabel,
|
|
2394
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
2266
2395
|
_request_timeout: Union[
|
|
2267
2396
|
None,
|
|
2268
2397
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2284,6 +2413,8 @@ class ContentPackagesApi:
|
|
|
2284
2413
|
:type python_python_package_content_href: str
|
|
2285
2414
|
:param unset_label: (required)
|
|
2286
2415
|
:type unset_label: UnsetLabel
|
|
2416
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
2417
|
+
:type x_task_diagnostics: List[str]
|
|
2287
2418
|
:param _request_timeout: timeout setting for this request. If one
|
|
2288
2419
|
number provided, it will be total request
|
|
2289
2420
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2309,6 +2440,7 @@ class ContentPackagesApi:
|
|
|
2309
2440
|
_param = self._unset_label_serialize(
|
|
2310
2441
|
python_python_package_content_href=python_python_package_content_href,
|
|
2311
2442
|
unset_label=unset_label,
|
|
2443
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
2312
2444
|
_request_auth=_request_auth,
|
|
2313
2445
|
_content_type=_content_type,
|
|
2314
2446
|
_headers=_headers,
|
|
@@ -2334,6 +2466,7 @@ class ContentPackagesApi:
|
|
|
2334
2466
|
self,
|
|
2335
2467
|
python_python_package_content_href: StrictStr,
|
|
2336
2468
|
unset_label: UnsetLabel,
|
|
2469
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
2337
2470
|
_request_timeout: Union[
|
|
2338
2471
|
None,
|
|
2339
2472
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2355,6 +2488,8 @@ class ContentPackagesApi:
|
|
|
2355
2488
|
:type python_python_package_content_href: str
|
|
2356
2489
|
:param unset_label: (required)
|
|
2357
2490
|
:type unset_label: UnsetLabel
|
|
2491
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
2492
|
+
:type x_task_diagnostics: List[str]
|
|
2358
2493
|
:param _request_timeout: timeout setting for this request. If one
|
|
2359
2494
|
number provided, it will be total request
|
|
2360
2495
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2380,6 +2515,7 @@ class ContentPackagesApi:
|
|
|
2380
2515
|
_param = self._unset_label_serialize(
|
|
2381
2516
|
python_python_package_content_href=python_python_package_content_href,
|
|
2382
2517
|
unset_label=unset_label,
|
|
2518
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
2383
2519
|
_request_auth=_request_auth,
|
|
2384
2520
|
_content_type=_content_type,
|
|
2385
2521
|
_headers=_headers,
|
|
@@ -2400,6 +2536,7 @@ class ContentPackagesApi:
|
|
|
2400
2536
|
self,
|
|
2401
2537
|
python_python_package_content_href,
|
|
2402
2538
|
unset_label,
|
|
2539
|
+
x_task_diagnostics,
|
|
2403
2540
|
_request_auth,
|
|
2404
2541
|
_content_type,
|
|
2405
2542
|
_headers,
|
|
@@ -2409,6 +2546,7 @@ class ContentPackagesApi:
|
|
|
2409
2546
|
_host = None
|
|
2410
2547
|
|
|
2411
2548
|
_collection_formats: Dict[str, str] = {
|
|
2549
|
+
'X-Task-Diagnostics': 'csv',
|
|
2412
2550
|
}
|
|
2413
2551
|
|
|
2414
2552
|
_path_params: Dict[str, str] = {}
|
|
@@ -2425,6 +2563,8 @@ class ContentPackagesApi:
|
|
|
2425
2563
|
_path_params['python_python_package_content_href'] = python_python_package_content_href
|
|
2426
2564
|
# process the query parameters
|
|
2427
2565
|
# process the header parameters
|
|
2566
|
+
if x_task_diagnostics is not None:
|
|
2567
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
2428
2568
|
# process the form parameters
|
|
2429
2569
|
# process the body parameter
|
|
2430
2570
|
if unset_label is not None:
|