crc-pulp-python-client 20251104.1__py3-none-any.whl → 20260113.6__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.
- {crc_pulp_python_client-20251104.1.dist-info → crc_pulp_python_client-20260113.6.dist-info}/METADATA +1173 -236
- {crc_pulp_python_client-20251104.1.dist-info → crc_pulp_python_client-20260113.6.dist-info}/RECORD +23 -16
- pulpcore/client/pulp_python/__init__.py +8 -1
- pulpcore/client/pulp_python/api/__init__.py +2 -0
- pulpcore/client/pulp_python/api/api_integrity_provenance_api.py +407 -0
- pulpcore/client/pulp_python/api/api_legacy_api.py +61 -1
- pulpcore/client/pulp_python/api/api_simple_api.py +108 -5
- pulpcore/client/pulp_python/api/content_packages_api.py +66 -6
- pulpcore/client/pulp_python/api/content_provenance_api.py +1900 -0
- pulpcore/client/pulp_python/api/repositories_python_versions_api.py +279 -0
- pulpcore/client/pulp_python/configuration.py +3 -3
- pulpcore/client/pulp_python/models/__init__.py +5 -0
- pulpcore/client/pulp_python/models/filetype_enum.py +38 -0
- pulpcore/client/pulp_python/models/metadata_version_enum.py +44 -0
- pulpcore/client/pulp_python/models/paginatedpython_package_provenance_response_list.py +112 -0
- pulpcore/client/pulp_python/models/patchedpython_python_remote.py +4 -2
- pulpcore/client/pulp_python/models/protocol_version_enum.py +37 -0
- pulpcore/client/pulp_python/models/python_package_provenance_response.py +124 -0
- pulpcore/client/pulp_python/models/python_python_package_content_response.py +18 -3
- pulpcore/client/pulp_python/models/python_python_remote.py +4 -2
- pulpcore/client/pulp_python/models/python_python_remote_response.py +4 -2
- {crc_pulp_python_client-20251104.1.dist-info → crc_pulp_python_client-20260113.6.dist-info}/WHEEL +0 -0
- {crc_pulp_python_client-20251104.1.dist-info → crc_pulp_python_client-20260113.6.dist-info}/top_level.txt +0 -0
|
@@ -18,7 +18,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
20
|
from pydantic import Field, StrictBytes, StrictStr
|
|
21
|
-
from typing import List, Optional, Tuple, Union
|
|
21
|
+
from typing import Any, List, Optional, Tuple, Union
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from pulpcore.client.pulp_python.models.package_upload_task_response import PackageUploadTaskResponse
|
|
24
24
|
|
|
@@ -48,6 +48,10 @@ class ApiLegacyApi:
|
|
|
48
48
|
sha256_digest: Annotated[str, Field(min_length=64, strict=True, max_length=64, description="SHA256 of package to validate upload integrity.")],
|
|
49
49
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
50
50
|
action: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="Defaults to `file_upload`, don't change it or request will fail!")] = None,
|
|
51
|
+
protocol_version: Annotated[Optional[Any], Field(description="Protocol version to use for the upload. Only version 1 is supported. * `1` - 1")] = None,
|
|
52
|
+
filetype: Annotated[Optional[Any], Field(description="Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist")] = None,
|
|
53
|
+
metadata_version: Annotated[Optional[Any], Field(description="Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4")] = None,
|
|
54
|
+
attestations: Annotated[Optional[Any], Field(description="A JSON list containing attestations for the package.")] = None,
|
|
51
55
|
pulp_domain: StrictStr = "default",
|
|
52
56
|
_request_timeout: Union[
|
|
53
57
|
None,
|
|
@@ -78,6 +82,14 @@ class ApiLegacyApi:
|
|
|
78
82
|
:type x_task_diagnostics: List[str]
|
|
79
83
|
:param action: Defaults to `file_upload`, don't change it or request will fail!
|
|
80
84
|
:type action: str
|
|
85
|
+
:param protocol_version: Protocol version to use for the upload. Only version 1 is supported. * `1` - 1
|
|
86
|
+
:type protocol_version: ProtocolVersionEnum
|
|
87
|
+
:param filetype: Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist
|
|
88
|
+
:type filetype: FiletypeEnum
|
|
89
|
+
:param metadata_version: Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4
|
|
90
|
+
:type metadata_version: MetadataVersionEnum
|
|
91
|
+
:param attestations: A JSON list containing attestations for the package.
|
|
92
|
+
:type attestations: object
|
|
81
93
|
:param _request_timeout: timeout setting for this request. If one
|
|
82
94
|
number provided, it will be total request
|
|
83
95
|
timeout. It can also be a pair (tuple) of
|
|
@@ -107,6 +119,10 @@ class ApiLegacyApi:
|
|
|
107
119
|
sha256_digest=sha256_digest,
|
|
108
120
|
x_task_diagnostics=x_task_diagnostics,
|
|
109
121
|
action=action,
|
|
122
|
+
protocol_version=protocol_version,
|
|
123
|
+
filetype=filetype,
|
|
124
|
+
metadata_version=metadata_version,
|
|
125
|
+
attestations=attestations,
|
|
110
126
|
_request_auth=_request_auth,
|
|
111
127
|
_content_type=_content_type,
|
|
112
128
|
_headers=_headers,
|
|
@@ -135,6 +151,10 @@ class ApiLegacyApi:
|
|
|
135
151
|
sha256_digest: Annotated[str, Field(min_length=64, strict=True, max_length=64, description="SHA256 of package to validate upload integrity.")],
|
|
136
152
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
137
153
|
action: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="Defaults to `file_upload`, don't change it or request will fail!")] = None,
|
|
154
|
+
protocol_version: Annotated[Optional[Any], Field(description="Protocol version to use for the upload. Only version 1 is supported. * `1` - 1")] = None,
|
|
155
|
+
filetype: Annotated[Optional[Any], Field(description="Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist")] = None,
|
|
156
|
+
metadata_version: Annotated[Optional[Any], Field(description="Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4")] = None,
|
|
157
|
+
attestations: Annotated[Optional[Any], Field(description="A JSON list containing attestations for the package.")] = None,
|
|
138
158
|
pulp_domain: StrictStr = "default",
|
|
139
159
|
_request_timeout: Union[
|
|
140
160
|
None,
|
|
@@ -165,6 +185,14 @@ class ApiLegacyApi:
|
|
|
165
185
|
:type x_task_diagnostics: List[str]
|
|
166
186
|
:param action: Defaults to `file_upload`, don't change it or request will fail!
|
|
167
187
|
:type action: str
|
|
188
|
+
:param protocol_version: Protocol version to use for the upload. Only version 1 is supported. * `1` - 1
|
|
189
|
+
:type protocol_version: ProtocolVersionEnum
|
|
190
|
+
:param filetype: Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist
|
|
191
|
+
:type filetype: FiletypeEnum
|
|
192
|
+
:param metadata_version: Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4
|
|
193
|
+
:type metadata_version: MetadataVersionEnum
|
|
194
|
+
:param attestations: A JSON list containing attestations for the package.
|
|
195
|
+
:type attestations: object
|
|
168
196
|
:param _request_timeout: timeout setting for this request. If one
|
|
169
197
|
number provided, it will be total request
|
|
170
198
|
timeout. It can also be a pair (tuple) of
|
|
@@ -194,6 +222,10 @@ class ApiLegacyApi:
|
|
|
194
222
|
sha256_digest=sha256_digest,
|
|
195
223
|
x_task_diagnostics=x_task_diagnostics,
|
|
196
224
|
action=action,
|
|
225
|
+
protocol_version=protocol_version,
|
|
226
|
+
filetype=filetype,
|
|
227
|
+
metadata_version=metadata_version,
|
|
228
|
+
attestations=attestations,
|
|
197
229
|
_request_auth=_request_auth,
|
|
198
230
|
_content_type=_content_type,
|
|
199
231
|
_headers=_headers,
|
|
@@ -222,6 +254,10 @@ class ApiLegacyApi:
|
|
|
222
254
|
sha256_digest: Annotated[str, Field(min_length=64, strict=True, max_length=64, description="SHA256 of package to validate upload integrity.")],
|
|
223
255
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
224
256
|
action: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="Defaults to `file_upload`, don't change it or request will fail!")] = None,
|
|
257
|
+
protocol_version: Annotated[Optional[Any], Field(description="Protocol version to use for the upload. Only version 1 is supported. * `1` - 1")] = None,
|
|
258
|
+
filetype: Annotated[Optional[Any], Field(description="Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist")] = None,
|
|
259
|
+
metadata_version: Annotated[Optional[Any], Field(description="Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4")] = None,
|
|
260
|
+
attestations: Annotated[Optional[Any], Field(description="A JSON list containing attestations for the package.")] = None,
|
|
225
261
|
pulp_domain: StrictStr = "default",
|
|
226
262
|
_request_timeout: Union[
|
|
227
263
|
None,
|
|
@@ -252,6 +288,14 @@ class ApiLegacyApi:
|
|
|
252
288
|
:type x_task_diagnostics: List[str]
|
|
253
289
|
:param action: Defaults to `file_upload`, don't change it or request will fail!
|
|
254
290
|
:type action: str
|
|
291
|
+
:param protocol_version: Protocol version to use for the upload. Only version 1 is supported. * `1` - 1
|
|
292
|
+
:type protocol_version: ProtocolVersionEnum
|
|
293
|
+
:param filetype: Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist
|
|
294
|
+
:type filetype: FiletypeEnum
|
|
295
|
+
:param metadata_version: Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4
|
|
296
|
+
:type metadata_version: MetadataVersionEnum
|
|
297
|
+
:param attestations: A JSON list containing attestations for the package.
|
|
298
|
+
:type attestations: object
|
|
255
299
|
:param _request_timeout: timeout setting for this request. If one
|
|
256
300
|
number provided, it will be total request
|
|
257
301
|
timeout. It can also be a pair (tuple) of
|
|
@@ -281,6 +325,10 @@ class ApiLegacyApi:
|
|
|
281
325
|
sha256_digest=sha256_digest,
|
|
282
326
|
x_task_diagnostics=x_task_diagnostics,
|
|
283
327
|
action=action,
|
|
328
|
+
protocol_version=protocol_version,
|
|
329
|
+
filetype=filetype,
|
|
330
|
+
metadata_version=metadata_version,
|
|
331
|
+
attestations=attestations,
|
|
284
332
|
_request_auth=_request_auth,
|
|
285
333
|
_content_type=_content_type,
|
|
286
334
|
_headers=_headers,
|
|
@@ -305,6 +353,10 @@ class ApiLegacyApi:
|
|
|
305
353
|
sha256_digest,
|
|
306
354
|
x_task_diagnostics,
|
|
307
355
|
action,
|
|
356
|
+
protocol_version,
|
|
357
|
+
filetype,
|
|
358
|
+
metadata_version,
|
|
359
|
+
attestations,
|
|
308
360
|
_request_auth,
|
|
309
361
|
_content_type,
|
|
310
362
|
_headers,
|
|
@@ -342,6 +394,14 @@ class ApiLegacyApi:
|
|
|
342
394
|
_form_params.append(('action', action))
|
|
343
395
|
if sha256_digest is not None:
|
|
344
396
|
_form_params.append(('sha256_digest', sha256_digest))
|
|
397
|
+
if protocol_version is not None:
|
|
398
|
+
_form_params.append(('protocol_version', protocol_version))
|
|
399
|
+
if filetype is not None:
|
|
400
|
+
_form_params.append(('filetype', filetype))
|
|
401
|
+
if metadata_version is not None:
|
|
402
|
+
_form_params.append(('metadata_version', metadata_version))
|
|
403
|
+
if attestations is not None:
|
|
404
|
+
_form_params.append(('attestations', attestations))
|
|
345
405
|
# process the body parameter
|
|
346
406
|
|
|
347
407
|
|
|
@@ -17,8 +17,8 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
17
17
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
|
-
from pydantic import Field, StrictBytes, StrictStr
|
|
21
|
-
from typing import List, Optional, Tuple, Union
|
|
20
|
+
from pydantic import Field, StrictBytes, StrictStr, field_validator
|
|
21
|
+
from typing import Any, List, Optional, Tuple, Union
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from pulpcore.client.pulp_python.models.package_upload_task_response import PackageUploadTaskResponse
|
|
24
24
|
|
|
@@ -48,6 +48,10 @@ class ApiSimpleApi:
|
|
|
48
48
|
sha256_digest: Annotated[str, Field(min_length=64, strict=True, max_length=64, description="SHA256 of package to validate upload integrity.")],
|
|
49
49
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
50
50
|
action: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="Defaults to `file_upload`, don't change it or request will fail!")] = None,
|
|
51
|
+
protocol_version: Annotated[Optional[Any], Field(description="Protocol version to use for the upload. Only version 1 is supported. * `1` - 1")] = None,
|
|
52
|
+
filetype: Annotated[Optional[Any], Field(description="Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist")] = None,
|
|
53
|
+
metadata_version: Annotated[Optional[Any], Field(description="Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4")] = None,
|
|
54
|
+
attestations: Annotated[Optional[Any], Field(description="A JSON list containing attestations for the package.")] = None,
|
|
51
55
|
pulp_domain: StrictStr = "default",
|
|
52
56
|
_request_timeout: Union[
|
|
53
57
|
None,
|
|
@@ -78,6 +82,14 @@ class ApiSimpleApi:
|
|
|
78
82
|
:type x_task_diagnostics: List[str]
|
|
79
83
|
:param action: Defaults to `file_upload`, don't change it or request will fail!
|
|
80
84
|
:type action: str
|
|
85
|
+
:param protocol_version: Protocol version to use for the upload. Only version 1 is supported. * `1` - 1
|
|
86
|
+
:type protocol_version: ProtocolVersionEnum
|
|
87
|
+
:param filetype: Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist
|
|
88
|
+
:type filetype: FiletypeEnum
|
|
89
|
+
:param metadata_version: Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4
|
|
90
|
+
:type metadata_version: MetadataVersionEnum
|
|
91
|
+
:param attestations: A JSON list containing attestations for the package.
|
|
92
|
+
:type attestations: object
|
|
81
93
|
:param _request_timeout: timeout setting for this request. If one
|
|
82
94
|
number provided, it will be total request
|
|
83
95
|
timeout. It can also be a pair (tuple) of
|
|
@@ -107,6 +119,10 @@ class ApiSimpleApi:
|
|
|
107
119
|
sha256_digest=sha256_digest,
|
|
108
120
|
x_task_diagnostics=x_task_diagnostics,
|
|
109
121
|
action=action,
|
|
122
|
+
protocol_version=protocol_version,
|
|
123
|
+
filetype=filetype,
|
|
124
|
+
metadata_version=metadata_version,
|
|
125
|
+
attestations=attestations,
|
|
110
126
|
_request_auth=_request_auth,
|
|
111
127
|
_content_type=_content_type,
|
|
112
128
|
_headers=_headers,
|
|
@@ -135,6 +151,10 @@ class ApiSimpleApi:
|
|
|
135
151
|
sha256_digest: Annotated[str, Field(min_length=64, strict=True, max_length=64, description="SHA256 of package to validate upload integrity.")],
|
|
136
152
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
137
153
|
action: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="Defaults to `file_upload`, don't change it or request will fail!")] = None,
|
|
154
|
+
protocol_version: Annotated[Optional[Any], Field(description="Protocol version to use for the upload. Only version 1 is supported. * `1` - 1")] = None,
|
|
155
|
+
filetype: Annotated[Optional[Any], Field(description="Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist")] = None,
|
|
156
|
+
metadata_version: Annotated[Optional[Any], Field(description="Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4")] = None,
|
|
157
|
+
attestations: Annotated[Optional[Any], Field(description="A JSON list containing attestations for the package.")] = None,
|
|
138
158
|
pulp_domain: StrictStr = "default",
|
|
139
159
|
_request_timeout: Union[
|
|
140
160
|
None,
|
|
@@ -165,6 +185,14 @@ class ApiSimpleApi:
|
|
|
165
185
|
:type x_task_diagnostics: List[str]
|
|
166
186
|
:param action: Defaults to `file_upload`, don't change it or request will fail!
|
|
167
187
|
:type action: str
|
|
188
|
+
:param protocol_version: Protocol version to use for the upload. Only version 1 is supported. * `1` - 1
|
|
189
|
+
:type protocol_version: ProtocolVersionEnum
|
|
190
|
+
:param filetype: Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist
|
|
191
|
+
:type filetype: FiletypeEnum
|
|
192
|
+
:param metadata_version: Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4
|
|
193
|
+
:type metadata_version: MetadataVersionEnum
|
|
194
|
+
:param attestations: A JSON list containing attestations for the package.
|
|
195
|
+
:type attestations: object
|
|
168
196
|
:param _request_timeout: timeout setting for this request. If one
|
|
169
197
|
number provided, it will be total request
|
|
170
198
|
timeout. It can also be a pair (tuple) of
|
|
@@ -194,6 +222,10 @@ class ApiSimpleApi:
|
|
|
194
222
|
sha256_digest=sha256_digest,
|
|
195
223
|
x_task_diagnostics=x_task_diagnostics,
|
|
196
224
|
action=action,
|
|
225
|
+
protocol_version=protocol_version,
|
|
226
|
+
filetype=filetype,
|
|
227
|
+
metadata_version=metadata_version,
|
|
228
|
+
attestations=attestations,
|
|
197
229
|
_request_auth=_request_auth,
|
|
198
230
|
_content_type=_content_type,
|
|
199
231
|
_headers=_headers,
|
|
@@ -222,6 +254,10 @@ class ApiSimpleApi:
|
|
|
222
254
|
sha256_digest: Annotated[str, Field(min_length=64, strict=True, max_length=64, description="SHA256 of package to validate upload integrity.")],
|
|
223
255
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
224
256
|
action: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="Defaults to `file_upload`, don't change it or request will fail!")] = None,
|
|
257
|
+
protocol_version: Annotated[Optional[Any], Field(description="Protocol version to use for the upload. Only version 1 is supported. * `1` - 1")] = None,
|
|
258
|
+
filetype: Annotated[Optional[Any], Field(description="Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist")] = None,
|
|
259
|
+
metadata_version: Annotated[Optional[Any], Field(description="Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4")] = None,
|
|
260
|
+
attestations: Annotated[Optional[Any], Field(description="A JSON list containing attestations for the package.")] = None,
|
|
225
261
|
pulp_domain: StrictStr = "default",
|
|
226
262
|
_request_timeout: Union[
|
|
227
263
|
None,
|
|
@@ -252,6 +288,14 @@ class ApiSimpleApi:
|
|
|
252
288
|
:type x_task_diagnostics: List[str]
|
|
253
289
|
:param action: Defaults to `file_upload`, don't change it or request will fail!
|
|
254
290
|
:type action: str
|
|
291
|
+
:param protocol_version: Protocol version to use for the upload. Only version 1 is supported. * `1` - 1
|
|
292
|
+
:type protocol_version: ProtocolVersionEnum
|
|
293
|
+
:param filetype: Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist
|
|
294
|
+
:type filetype: FiletypeEnum
|
|
295
|
+
:param metadata_version: Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4
|
|
296
|
+
:type metadata_version: MetadataVersionEnum
|
|
297
|
+
:param attestations: A JSON list containing attestations for the package.
|
|
298
|
+
:type attestations: object
|
|
255
299
|
:param _request_timeout: timeout setting for this request. If one
|
|
256
300
|
number provided, it will be total request
|
|
257
301
|
timeout. It can also be a pair (tuple) of
|
|
@@ -281,6 +325,10 @@ class ApiSimpleApi:
|
|
|
281
325
|
sha256_digest=sha256_digest,
|
|
282
326
|
x_task_diagnostics=x_task_diagnostics,
|
|
283
327
|
action=action,
|
|
328
|
+
protocol_version=protocol_version,
|
|
329
|
+
filetype=filetype,
|
|
330
|
+
metadata_version=metadata_version,
|
|
331
|
+
attestations=attestations,
|
|
284
332
|
_request_auth=_request_auth,
|
|
285
333
|
_content_type=_content_type,
|
|
286
334
|
_headers=_headers,
|
|
@@ -305,6 +353,10 @@ class ApiSimpleApi:
|
|
|
305
353
|
sha256_digest,
|
|
306
354
|
x_task_diagnostics,
|
|
307
355
|
action,
|
|
356
|
+
protocol_version,
|
|
357
|
+
filetype,
|
|
358
|
+
metadata_version,
|
|
359
|
+
attestations,
|
|
308
360
|
_request_auth,
|
|
309
361
|
_content_type,
|
|
310
362
|
_headers,
|
|
@@ -342,6 +394,14 @@ class ApiSimpleApi:
|
|
|
342
394
|
_form_params.append(('action', action))
|
|
343
395
|
if sha256_digest is not None:
|
|
344
396
|
_form_params.append(('sha256_digest', sha256_digest))
|
|
397
|
+
if protocol_version is not None:
|
|
398
|
+
_form_params.append(('protocol_version', protocol_version))
|
|
399
|
+
if filetype is not None:
|
|
400
|
+
_form_params.append(('filetype', filetype))
|
|
401
|
+
if metadata_version is not None:
|
|
402
|
+
_form_params.append(('metadata_version', metadata_version))
|
|
403
|
+
if attestations is not None:
|
|
404
|
+
_form_params.append(('attestations', attestations))
|
|
345
405
|
# process the body parameter
|
|
346
406
|
|
|
347
407
|
|
|
@@ -370,6 +430,9 @@ class ApiSimpleApi:
|
|
|
370
430
|
|
|
371
431
|
# authentication setting
|
|
372
432
|
_auth_settings: List[str] = [
|
|
433
|
+
'json_header_remote_authentication',
|
|
434
|
+
'basicAuth',
|
|
435
|
+
'cookieAuth'
|
|
373
436
|
]
|
|
374
437
|
|
|
375
438
|
return self.api_client.param_serialize(
|
|
@@ -396,6 +459,7 @@ class ApiSimpleApi:
|
|
|
396
459
|
package: StrictStr,
|
|
397
460
|
path: StrictStr,
|
|
398
461
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
462
|
+
format: Optional[StrictStr] = None,
|
|
399
463
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
400
464
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
401
465
|
pulp_domain: StrictStr = "default",
|
|
@@ -414,7 +478,7 @@ class ApiSimpleApi:
|
|
|
414
478
|
) -> None:
|
|
415
479
|
"""Get package simple page
|
|
416
480
|
|
|
417
|
-
Retrieves the simple api html page for a package.
|
|
481
|
+
Retrieves the simple api html/json page for a package.
|
|
418
482
|
|
|
419
483
|
:param package: (required)
|
|
420
484
|
:type package: str
|
|
@@ -424,6 +488,8 @@ class ApiSimpleApi:
|
|
|
424
488
|
:type pulp_domain: str
|
|
425
489
|
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
426
490
|
:type x_task_diagnostics: List[str]
|
|
491
|
+
:param format:
|
|
492
|
+
:type format: str
|
|
427
493
|
:param fields: A list of fields to include in the response.
|
|
428
494
|
:type fields: List[str]
|
|
429
495
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -455,6 +521,7 @@ class ApiSimpleApi:
|
|
|
455
521
|
path=path,
|
|
456
522
|
pulp_domain=pulp_domain,
|
|
457
523
|
x_task_diagnostics=x_task_diagnostics,
|
|
524
|
+
format=format,
|
|
458
525
|
fields=fields,
|
|
459
526
|
exclude_fields=exclude_fields,
|
|
460
527
|
_request_auth=_request_auth,
|
|
@@ -483,6 +550,7 @@ class ApiSimpleApi:
|
|
|
483
550
|
package: StrictStr,
|
|
484
551
|
path: StrictStr,
|
|
485
552
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
553
|
+
format: Optional[StrictStr] = None,
|
|
486
554
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
487
555
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
488
556
|
pulp_domain: StrictStr = "default",
|
|
@@ -501,7 +569,7 @@ class ApiSimpleApi:
|
|
|
501
569
|
) -> ApiResponse[None]:
|
|
502
570
|
"""Get package simple page
|
|
503
571
|
|
|
504
|
-
Retrieves the simple api html page for a package.
|
|
572
|
+
Retrieves the simple api html/json page for a package.
|
|
505
573
|
|
|
506
574
|
:param package: (required)
|
|
507
575
|
:type package: str
|
|
@@ -511,6 +579,8 @@ class ApiSimpleApi:
|
|
|
511
579
|
:type pulp_domain: str
|
|
512
580
|
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
513
581
|
:type x_task_diagnostics: List[str]
|
|
582
|
+
:param format:
|
|
583
|
+
:type format: str
|
|
514
584
|
:param fields: A list of fields to include in the response.
|
|
515
585
|
:type fields: List[str]
|
|
516
586
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -542,6 +612,7 @@ class ApiSimpleApi:
|
|
|
542
612
|
path=path,
|
|
543
613
|
pulp_domain=pulp_domain,
|
|
544
614
|
x_task_diagnostics=x_task_diagnostics,
|
|
615
|
+
format=format,
|
|
545
616
|
fields=fields,
|
|
546
617
|
exclude_fields=exclude_fields,
|
|
547
618
|
_request_auth=_request_auth,
|
|
@@ -570,6 +641,7 @@ class ApiSimpleApi:
|
|
|
570
641
|
package: StrictStr,
|
|
571
642
|
path: StrictStr,
|
|
572
643
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
644
|
+
format: Optional[StrictStr] = None,
|
|
573
645
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
574
646
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
575
647
|
pulp_domain: StrictStr = "default",
|
|
@@ -588,7 +660,7 @@ class ApiSimpleApi:
|
|
|
588
660
|
) -> RESTResponseType:
|
|
589
661
|
"""Get package simple page
|
|
590
662
|
|
|
591
|
-
Retrieves the simple api html page for a package.
|
|
663
|
+
Retrieves the simple api html/json page for a package.
|
|
592
664
|
|
|
593
665
|
:param package: (required)
|
|
594
666
|
:type package: str
|
|
@@ -598,6 +670,8 @@ class ApiSimpleApi:
|
|
|
598
670
|
:type pulp_domain: str
|
|
599
671
|
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
600
672
|
:type x_task_diagnostics: List[str]
|
|
673
|
+
:param format:
|
|
674
|
+
:type format: str
|
|
601
675
|
:param fields: A list of fields to include in the response.
|
|
602
676
|
:type fields: List[str]
|
|
603
677
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -629,6 +703,7 @@ class ApiSimpleApi:
|
|
|
629
703
|
path=path,
|
|
630
704
|
pulp_domain=pulp_domain,
|
|
631
705
|
x_task_diagnostics=x_task_diagnostics,
|
|
706
|
+
format=format,
|
|
632
707
|
fields=fields,
|
|
633
708
|
exclude_fields=exclude_fields,
|
|
634
709
|
_request_auth=_request_auth,
|
|
@@ -653,6 +728,7 @@ class ApiSimpleApi:
|
|
|
653
728
|
path,
|
|
654
729
|
pulp_domain,
|
|
655
730
|
x_task_diagnostics,
|
|
731
|
+
format,
|
|
656
732
|
fields,
|
|
657
733
|
exclude_fields,
|
|
658
734
|
_request_auth,
|
|
@@ -686,6 +762,10 @@ class ApiSimpleApi:
|
|
|
686
762
|
if pulp_domain is not None:
|
|
687
763
|
_path_params['pulp_domain'] = pulp_domain
|
|
688
764
|
# process the query parameters
|
|
765
|
+
if format is not None:
|
|
766
|
+
|
|
767
|
+
_query_params.append(('format', format))
|
|
768
|
+
|
|
689
769
|
if fields is not None:
|
|
690
770
|
|
|
691
771
|
_query_params.append(('fields', fields))
|
|
@@ -705,6 +785,9 @@ class ApiSimpleApi:
|
|
|
705
785
|
|
|
706
786
|
# authentication setting
|
|
707
787
|
_auth_settings: List[str] = [
|
|
788
|
+
'json_header_remote_authentication',
|
|
789
|
+
'basicAuth',
|
|
790
|
+
'cookieAuth'
|
|
708
791
|
]
|
|
709
792
|
|
|
710
793
|
return self.api_client.param_serialize(
|
|
@@ -730,6 +813,7 @@ class ApiSimpleApi:
|
|
|
730
813
|
self,
|
|
731
814
|
path: StrictStr,
|
|
732
815
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
816
|
+
format: Optional[StrictStr] = None,
|
|
733
817
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
734
818
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
735
819
|
pulp_domain: StrictStr = "default",
|
|
@@ -756,6 +840,8 @@ class ApiSimpleApi:
|
|
|
756
840
|
:type pulp_domain: str
|
|
757
841
|
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
758
842
|
:type x_task_diagnostics: List[str]
|
|
843
|
+
:param format:
|
|
844
|
+
:type format: str
|
|
759
845
|
:param fields: A list of fields to include in the response.
|
|
760
846
|
:type fields: List[str]
|
|
761
847
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -786,6 +872,7 @@ class ApiSimpleApi:
|
|
|
786
872
|
path=path,
|
|
787
873
|
pulp_domain=pulp_domain,
|
|
788
874
|
x_task_diagnostics=x_task_diagnostics,
|
|
875
|
+
format=format,
|
|
789
876
|
fields=fields,
|
|
790
877
|
exclude_fields=exclude_fields,
|
|
791
878
|
_request_auth=_request_auth,
|
|
@@ -813,6 +900,7 @@ class ApiSimpleApi:
|
|
|
813
900
|
self,
|
|
814
901
|
path: StrictStr,
|
|
815
902
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
903
|
+
format: Optional[StrictStr] = None,
|
|
816
904
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
817
905
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
818
906
|
pulp_domain: StrictStr = "default",
|
|
@@ -839,6 +927,8 @@ class ApiSimpleApi:
|
|
|
839
927
|
:type pulp_domain: str
|
|
840
928
|
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
841
929
|
:type x_task_diagnostics: List[str]
|
|
930
|
+
:param format:
|
|
931
|
+
:type format: str
|
|
842
932
|
:param fields: A list of fields to include in the response.
|
|
843
933
|
:type fields: List[str]
|
|
844
934
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -869,6 +959,7 @@ class ApiSimpleApi:
|
|
|
869
959
|
path=path,
|
|
870
960
|
pulp_domain=pulp_domain,
|
|
871
961
|
x_task_diagnostics=x_task_diagnostics,
|
|
962
|
+
format=format,
|
|
872
963
|
fields=fields,
|
|
873
964
|
exclude_fields=exclude_fields,
|
|
874
965
|
_request_auth=_request_auth,
|
|
@@ -896,6 +987,7 @@ class ApiSimpleApi:
|
|
|
896
987
|
self,
|
|
897
988
|
path: StrictStr,
|
|
898
989
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
990
|
+
format: Optional[StrictStr] = None,
|
|
899
991
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
900
992
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
901
993
|
pulp_domain: StrictStr = "default",
|
|
@@ -922,6 +1014,8 @@ class ApiSimpleApi:
|
|
|
922
1014
|
:type pulp_domain: str
|
|
923
1015
|
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
924
1016
|
:type x_task_diagnostics: List[str]
|
|
1017
|
+
:param format:
|
|
1018
|
+
:type format: str
|
|
925
1019
|
:param fields: A list of fields to include in the response.
|
|
926
1020
|
:type fields: List[str]
|
|
927
1021
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -952,6 +1046,7 @@ class ApiSimpleApi:
|
|
|
952
1046
|
path=path,
|
|
953
1047
|
pulp_domain=pulp_domain,
|
|
954
1048
|
x_task_diagnostics=x_task_diagnostics,
|
|
1049
|
+
format=format,
|
|
955
1050
|
fields=fields,
|
|
956
1051
|
exclude_fields=exclude_fields,
|
|
957
1052
|
_request_auth=_request_auth,
|
|
@@ -975,6 +1070,7 @@ class ApiSimpleApi:
|
|
|
975
1070
|
path,
|
|
976
1071
|
pulp_domain,
|
|
977
1072
|
x_task_diagnostics,
|
|
1073
|
+
format,
|
|
978
1074
|
fields,
|
|
979
1075
|
exclude_fields,
|
|
980
1076
|
_request_auth,
|
|
@@ -1006,6 +1102,10 @@ class ApiSimpleApi:
|
|
|
1006
1102
|
if pulp_domain is not None:
|
|
1007
1103
|
_path_params['pulp_domain'] = pulp_domain
|
|
1008
1104
|
# process the query parameters
|
|
1105
|
+
if format is not None:
|
|
1106
|
+
|
|
1107
|
+
_query_params.append(('format', format))
|
|
1108
|
+
|
|
1009
1109
|
if fields is not None:
|
|
1010
1110
|
|
|
1011
1111
|
_query_params.append(('fields', fields))
|
|
@@ -1025,6 +1125,9 @@ class ApiSimpleApi:
|
|
|
1025
1125
|
|
|
1026
1126
|
# authentication setting
|
|
1027
1127
|
_auth_settings: List[str] = [
|
|
1128
|
+
'json_header_remote_authentication',
|
|
1129
|
+
'basicAuth',
|
|
1130
|
+
'cookieAuth'
|
|
1028
1131
|
]
|
|
1029
1132
|
|
|
1030
1133
|
return self.api_client.param_serialize(
|