crc-pulp-python-client 20251112.1__py3-none-any.whl → 20260109.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 crc-pulp-python-client might be problematic. Click here for more details.
- {crc_pulp_python_client-20251112.1.dist-info → crc_pulp_python_client-20260109.1.dist-info}/METADATA +1095 -230
- {crc_pulp_python_client-20251112.1.dist-info → crc_pulp_python_client-20260109.1.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 +61 -1
- pulpcore/client/pulp_python/api/content_packages_api.py +36 -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 +11 -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-20251112.1.dist-info → crc_pulp_python_client-20260109.1.dist-info}/WHEEL +0 -0
- {crc_pulp_python_client-20251112.1.dist-info → crc_pulp_python_client-20260109.1.dist-info}/top_level.txt +0 -0
{crc_pulp_python_client-20251112.1.dist-info → crc_pulp_python_client-20260109.1.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: crc-pulp_python-client
|
|
3
|
-
Version:
|
|
3
|
+
Version: 20260109.1
|
|
4
4
|
Summary: Pulp 3 API
|
|
5
5
|
Home-page:
|
|
6
6
|
Author: Pulp Team
|
|
@@ -8,7 +8,7 @@ Author-email: pulp-list@redhat.com
|
|
|
8
8
|
License: GPLv2+
|
|
9
9
|
Keywords: pulp,pulpcore,client,Pulp 3 API
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
|
-
Requires-Dist: urllib3<
|
|
11
|
+
Requires-Dist: urllib3<2.7,>=1.25.3
|
|
12
12
|
Requires-Dist: python-dateutil<2.10.0,>=2.8.1
|
|
13
13
|
Requires-Dist: pydantic>=2
|
|
14
14
|
Requires-Dist: typing-extensions>=4.7.1
|
|
@@ -21,9 +21,118 @@ Dynamic: license
|
|
|
21
21
|
Dynamic: requires-dist
|
|
22
22
|
Dynamic: summary
|
|
23
23
|
|
|
24
|
+
# pulpcore.client.pulp_python.ApiIntegrityProvenanceApi
|
|
25
|
+
|
|
26
|
+
All URIs are relative to *https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
27
|
+
|
|
28
|
+
Method | HTTP request | Description
|
|
29
|
+
------------- | ------------- | -------------
|
|
30
|
+
[**read**](ApiIntegrityProvenanceApi.md#read) | **GET** /api/pypi/{pulp_domain}/{path}/integrity/{package}/{version}/{filename}/provenance/ | Get package provenance
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# **read**
|
|
34
|
+
> read(filename, package, path, pulp_domain, version, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
35
|
+
|
|
36
|
+
Get package provenance
|
|
37
|
+
|
|
38
|
+
Gets the provenance for a package.
|
|
39
|
+
|
|
40
|
+
### Example
|
|
41
|
+
|
|
42
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
43
|
+
* Basic Authentication (basicAuth):
|
|
44
|
+
* Api Key Authentication (cookieAuth):
|
|
45
|
+
|
|
46
|
+
```python
|
|
47
|
+
import pulpcore.client.pulp_python
|
|
48
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
49
|
+
from pprint import pprint
|
|
50
|
+
|
|
51
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
52
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
53
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
54
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
# The client must configure the authentication and authorization parameters
|
|
58
|
+
# in accordance with the API server security policy.
|
|
59
|
+
# Examples for each auth method are provided below, use the example that
|
|
60
|
+
# satisfies your auth use case.
|
|
61
|
+
|
|
62
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
63
|
+
|
|
64
|
+
# Configure HTTP basic authorization: basicAuth
|
|
65
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
66
|
+
username = os.environ["USERNAME"],
|
|
67
|
+
password = os.environ["PASSWORD"]
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
# Configure API key authorization: cookieAuth
|
|
71
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
72
|
+
|
|
73
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
74
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
75
|
+
|
|
76
|
+
# Enter a context with an instance of the API client
|
|
77
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
78
|
+
# Create an instance of the API class
|
|
79
|
+
api_instance = pulpcore.client.pulp_python.ApiIntegrityProvenanceApi(api_client)
|
|
80
|
+
filename = 'filename_example' # str |
|
|
81
|
+
package = 'package_example' # str |
|
|
82
|
+
path = 'path_example' # str |
|
|
83
|
+
pulp_domain = 'pulp_domain_example' # str |
|
|
84
|
+
version = 'version_example' # str |
|
|
85
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
86
|
+
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
|
|
87
|
+
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
|
|
88
|
+
|
|
89
|
+
try:
|
|
90
|
+
# Get package provenance
|
|
91
|
+
api_instance.read(filename, package, path, pulp_domain, version, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
92
|
+
except Exception as e:
|
|
93
|
+
print("Exception when calling ApiIntegrityProvenanceApi->read: %s\n" % e)
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Parameters
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
Name | Type | Description | Notes
|
|
102
|
+
------------- | ------------- | ------------- | -------------
|
|
103
|
+
**filename** | **str**| |
|
|
104
|
+
**package** | **str**| |
|
|
105
|
+
**path** | **str**| |
|
|
106
|
+
**pulp_domain** | **str**| |
|
|
107
|
+
**version** | **str**| |
|
|
108
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
109
|
+
**fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional]
|
|
110
|
+
**exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional]
|
|
111
|
+
|
|
112
|
+
### Return type
|
|
113
|
+
|
|
114
|
+
void (empty response body)
|
|
115
|
+
|
|
116
|
+
### Authorization
|
|
117
|
+
|
|
118
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
119
|
+
|
|
120
|
+
### HTTP request headers
|
|
121
|
+
|
|
122
|
+
- **Content-Type**: Not defined
|
|
123
|
+
- **Accept**: Not defined
|
|
124
|
+
|
|
125
|
+
### HTTP response details
|
|
126
|
+
|
|
127
|
+
| Status code | Description | Response headers |
|
|
128
|
+
|-------------|-------------|------------------|
|
|
129
|
+
**200** | No response body | - |
|
|
130
|
+
|
|
131
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
132
|
+
|
|
24
133
|
# pulpcore.client.pulp_python.ApiLegacyApi
|
|
25
134
|
|
|
26
|
-
All URIs are relative to *https://env-ephemeral-
|
|
135
|
+
All URIs are relative to *https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
27
136
|
|
|
28
137
|
Method | HTTP request | Description
|
|
29
138
|
------------- | ------------- | -------------
|
|
@@ -31,7 +140,7 @@ Method | HTTP request | Description
|
|
|
31
140
|
|
|
32
141
|
|
|
33
142
|
# **create**
|
|
34
|
-
> PackageUploadTaskResponse create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action)
|
|
143
|
+
> PackageUploadTaskResponse create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action, protocol_version=protocol_version, filetype=filetype, metadata_version=metadata_version, attestations=attestations)
|
|
35
144
|
|
|
36
145
|
Upload a package
|
|
37
146
|
|
|
@@ -49,10 +158,10 @@ from pulpcore.client.pulp_python.models.package_upload_task_response import Pack
|
|
|
49
158
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
50
159
|
from pprint import pprint
|
|
51
160
|
|
|
52
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
161
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
53
162
|
# See configuration.py for a list of all supported configuration parameters.
|
|
54
163
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
55
|
-
host = "https://env-ephemeral-
|
|
164
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
56
165
|
)
|
|
57
166
|
|
|
58
167
|
# The client must configure the authentication and authorization parameters
|
|
@@ -84,10 +193,14 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
84
193
|
sha256_digest = 'sha256_digest_example' # str | SHA256 of package to validate upload integrity.
|
|
85
194
|
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
86
195
|
action = 'file_upload' # str | Defaults to `file_upload`, don't change it or request will fail! (optional) (default to 'file_upload')
|
|
196
|
+
protocol_version = pulpcore.client.pulp_python.ProtocolVersionEnum() # ProtocolVersionEnum | Protocol version to use for the upload. Only version 1 is supported. * `1` - 1 (optional)
|
|
197
|
+
filetype = pulpcore.client.pulp_python.FiletypeEnum() # FiletypeEnum | Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist (optional)
|
|
198
|
+
metadata_version = pulpcore.client.pulp_python.MetadataVersionEnum() # MetadataVersionEnum | 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 (optional)
|
|
199
|
+
attestations = None # object | A JSON list containing attestations for the package. (optional)
|
|
87
200
|
|
|
88
201
|
try:
|
|
89
202
|
# Upload a package
|
|
90
|
-
api_response = api_instance.create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action)
|
|
203
|
+
api_response = api_instance.create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action, protocol_version=protocol_version, filetype=filetype, metadata_version=metadata_version, attestations=attestations)
|
|
91
204
|
print("The response of ApiLegacyApi->create:\n")
|
|
92
205
|
pprint(api_response)
|
|
93
206
|
except Exception as e:
|
|
@@ -107,6 +220,10 @@ Name | Type | Description | Notes
|
|
|
107
220
|
**sha256_digest** | **str**| SHA256 of package to validate upload integrity. |
|
|
108
221
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
109
222
|
**action** | **str**| Defaults to `file_upload`, don't change it or request will fail! | [optional] [default to 'file_upload']
|
|
223
|
+
**protocol_version** | [**ProtocolVersionEnum**](ProtocolVersionEnum.md)| Protocol version to use for the upload. Only version 1 is supported. * `1` - 1 | [optional]
|
|
224
|
+
**filetype** | [**FiletypeEnum**](FiletypeEnum.md)| Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist | [optional]
|
|
225
|
+
**metadata_version** | [**MetadataVersionEnum**](MetadataVersionEnum.md)| 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 | [optional]
|
|
226
|
+
**attestations** | [**object**](object.md)| A JSON list containing attestations for the package. | [optional]
|
|
110
227
|
|
|
111
228
|
### Return type
|
|
112
229
|
|
|
@@ -131,7 +248,7 @@ Name | Type | Description | Notes
|
|
|
131
248
|
|
|
132
249
|
# pulpcore.client.pulp_python.ApiPypiApi
|
|
133
250
|
|
|
134
|
-
All URIs are relative to *https://env-ephemeral-
|
|
251
|
+
All URIs are relative to *https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
135
252
|
|
|
136
253
|
Method | HTTP request | Description
|
|
137
254
|
------------- | ------------- | -------------
|
|
@@ -157,10 +274,10 @@ from pulpcore.client.pulp_python.models.summary_response import SummaryResponse
|
|
|
157
274
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
158
275
|
from pprint import pprint
|
|
159
276
|
|
|
160
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
277
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
161
278
|
# See configuration.py for a list of all supported configuration parameters.
|
|
162
279
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
163
|
-
host = "https://env-ephemeral-
|
|
280
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
164
281
|
)
|
|
165
282
|
|
|
166
283
|
# The client must configure the authentication and authorization parameters
|
|
@@ -237,7 +354,7 @@ Name | Type | Description | Notes
|
|
|
237
354
|
|
|
238
355
|
# pulpcore.client.pulp_python.ApiSimpleApi
|
|
239
356
|
|
|
240
|
-
All URIs are relative to *https://env-ephemeral-
|
|
357
|
+
All URIs are relative to *https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
241
358
|
|
|
242
359
|
Method | HTTP request | Description
|
|
243
360
|
------------- | ------------- | -------------
|
|
@@ -247,7 +364,7 @@ Method | HTTP request | Description
|
|
|
247
364
|
|
|
248
365
|
|
|
249
366
|
# **create**
|
|
250
|
-
> PackageUploadTaskResponse create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action)
|
|
367
|
+
> PackageUploadTaskResponse create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action, protocol_version=protocol_version, filetype=filetype, metadata_version=metadata_version, attestations=attestations)
|
|
251
368
|
|
|
252
369
|
Upload a package
|
|
253
370
|
|
|
@@ -262,10 +379,10 @@ from pulpcore.client.pulp_python.models.package_upload_task_response import Pack
|
|
|
262
379
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
263
380
|
from pprint import pprint
|
|
264
381
|
|
|
265
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
382
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
266
383
|
# See configuration.py for a list of all supported configuration parameters.
|
|
267
384
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
268
|
-
host = "https://env-ephemeral-
|
|
385
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
269
386
|
)
|
|
270
387
|
|
|
271
388
|
|
|
@@ -279,10 +396,14 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
279
396
|
sha256_digest = 'sha256_digest_example' # str | SHA256 of package to validate upload integrity.
|
|
280
397
|
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
281
398
|
action = 'file_upload' # str | Defaults to `file_upload`, don't change it or request will fail! (optional) (default to 'file_upload')
|
|
399
|
+
protocol_version = pulpcore.client.pulp_python.ProtocolVersionEnum() # ProtocolVersionEnum | Protocol version to use for the upload. Only version 1 is supported. * `1` - 1 (optional)
|
|
400
|
+
filetype = pulpcore.client.pulp_python.FiletypeEnum() # FiletypeEnum | Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist (optional)
|
|
401
|
+
metadata_version = pulpcore.client.pulp_python.MetadataVersionEnum() # MetadataVersionEnum | 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 (optional)
|
|
402
|
+
attestations = None # object | A JSON list containing attestations for the package. (optional)
|
|
282
403
|
|
|
283
404
|
try:
|
|
284
405
|
# Upload a package
|
|
285
|
-
api_response = api_instance.create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action)
|
|
406
|
+
api_response = api_instance.create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action, protocol_version=protocol_version, filetype=filetype, metadata_version=metadata_version, attestations=attestations)
|
|
286
407
|
print("The response of ApiSimpleApi->create:\n")
|
|
287
408
|
pprint(api_response)
|
|
288
409
|
except Exception as e:
|
|
@@ -302,6 +423,10 @@ Name | Type | Description | Notes
|
|
|
302
423
|
**sha256_digest** | **str**| SHA256 of package to validate upload integrity. |
|
|
303
424
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
304
425
|
**action** | **str**| Defaults to `file_upload`, don't change it or request will fail! | [optional] [default to 'file_upload']
|
|
426
|
+
**protocol_version** | [**ProtocolVersionEnum**](ProtocolVersionEnum.md)| Protocol version to use for the upload. Only version 1 is supported. * `1` - 1 | [optional]
|
|
427
|
+
**filetype** | [**FiletypeEnum**](FiletypeEnum.md)| Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist | [optional]
|
|
428
|
+
**metadata_version** | [**MetadataVersionEnum**](MetadataVersionEnum.md)| 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 | [optional]
|
|
429
|
+
**attestations** | [**object**](object.md)| A JSON list containing attestations for the package. | [optional]
|
|
305
430
|
|
|
306
431
|
### Return type
|
|
307
432
|
|
|
@@ -339,10 +464,10 @@ import pulpcore.client.pulp_python
|
|
|
339
464
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
340
465
|
from pprint import pprint
|
|
341
466
|
|
|
342
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
467
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
343
468
|
# See configuration.py for a list of all supported configuration parameters.
|
|
344
469
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
345
|
-
host = "https://env-ephemeral-
|
|
470
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
346
471
|
)
|
|
347
472
|
|
|
348
473
|
|
|
@@ -416,10 +541,10 @@ import pulpcore.client.pulp_python
|
|
|
416
541
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
417
542
|
from pprint import pprint
|
|
418
543
|
|
|
419
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
544
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
420
545
|
# See configuration.py for a list of all supported configuration parameters.
|
|
421
546
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
422
|
-
host = "https://env-ephemeral-
|
|
547
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
423
548
|
)
|
|
424
549
|
|
|
425
550
|
|
|
@@ -508,7 +633,7 @@ async_operation_response_from_dict = AsyncOperationResponse.from_dict(async_oper
|
|
|
508
633
|
|
|
509
634
|
# pulpcore.client.pulp_python.ContentPackagesApi
|
|
510
635
|
|
|
511
|
-
All URIs are relative to *https://env-ephemeral-
|
|
636
|
+
All URIs are relative to *https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
512
637
|
|
|
513
638
|
Method | HTTP request | Description
|
|
514
639
|
------------- | ------------- | -------------
|
|
@@ -521,7 +646,7 @@ Method | HTTP request | Description
|
|
|
521
646
|
|
|
522
647
|
|
|
523
648
|
# **create**
|
|
524
|
-
> AsyncOperationResponse create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256)
|
|
649
|
+
> AsyncOperationResponse create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256, attestations=attestations)
|
|
525
650
|
|
|
526
651
|
Create a python package content
|
|
527
652
|
|
|
@@ -539,10 +664,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
539
664
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
540
665
|
from pprint import pprint
|
|
541
666
|
|
|
542
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
667
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
543
668
|
# See configuration.py for a list of all supported configuration parameters.
|
|
544
669
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
545
|
-
host = "https://env-ephemeral-
|
|
670
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
546
671
|
)
|
|
547
672
|
|
|
548
673
|
# The client must configure the authentication and authorization parameters
|
|
@@ -604,10 +729,11 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
604
729
|
license_file = None # object | A JSON list containing names of the paths to license-related files. (optional)
|
|
605
730
|
sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
|
|
606
731
|
metadata_sha256 = 'metadata_sha256_example' # str | The SHA256 digest of the package's METADATA file. (optional)
|
|
732
|
+
attestations = None # object | A JSON list containing attestations for the package. (optional)
|
|
607
733
|
|
|
608
734
|
try:
|
|
609
735
|
# Create a python package content
|
|
610
|
-
api_response = api_instance.create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256)
|
|
736
|
+
api_response = api_instance.create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256, attestations=attestations)
|
|
611
737
|
print("The response of ContentPackagesApi->create:\n")
|
|
612
738
|
pprint(api_response)
|
|
613
739
|
except Exception as e:
|
|
@@ -657,6 +783,7 @@ Name | Type | Description | Notes
|
|
|
657
783
|
**license_file** | [**object**](object.md)| A JSON list containing names of the paths to license-related files. | [optional]
|
|
658
784
|
**sha256** | **str**| The SHA256 digest of this package. | [optional] [default to '']
|
|
659
785
|
**metadata_sha256** | **str**| The SHA256 digest of the package's METADATA file. | [optional]
|
|
786
|
+
**attestations** | [**object**](object.md)| A JSON list containing attestations for the package. | [optional]
|
|
660
787
|
|
|
661
788
|
### Return type
|
|
662
789
|
|
|
@@ -698,10 +825,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_package_content_r
|
|
|
698
825
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
699
826
|
from pprint import pprint
|
|
700
827
|
|
|
701
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
828
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
702
829
|
# See configuration.py for a list of all supported configuration parameters.
|
|
703
830
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
704
|
-
host = "https://env-ephemeral-
|
|
831
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
705
832
|
)
|
|
706
833
|
|
|
707
834
|
# The client must configure the authentication and authorization parameters
|
|
@@ -740,7 +867,7 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
740
867
|
name = 'name_example' # str | Filter results where name matches value (optional)
|
|
741
868
|
name__in = ['name__in_example'] # List[str] | Filter results where name is in a comma-separated list of values (optional)
|
|
742
869
|
offset = 56 # int | The initial index from which to return the results. (optional)
|
|
743
|
-
ordering = ['ordering_example'] # List[str] | 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) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)
|
|
870
|
+
ordering = ['ordering_example'] # List[str] | 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) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)
|
|
744
871
|
orphaned_for = 3.4 # float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. (optional)
|
|
745
872
|
packagetype = 'packagetype_example' # str | 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 (optional)
|
|
746
873
|
packagetype__in = ['packagetype__in_example'] # List[str] | Filter results where packagetype is in a comma-separated list of values (optional)
|
|
@@ -794,7 +921,7 @@ Name | Type | Description | Notes
|
|
|
794
921
|
**name** | **str**| Filter results where name matches value | [optional]
|
|
795
922
|
**name__in** | [**List[str]**](str.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
796
923
|
**offset** | **int**| The initial index from which to return the results. | [optional]
|
|
797
|
-
**ordering** | [**List[str]**](str.md)| 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) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
924
|
+
**ordering** | [**List[str]**](str.md)| 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) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
798
925
|
**orphaned_for** | **float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
|
799
926
|
**packagetype** | **str**| 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 | [optional]
|
|
800
927
|
**packagetype__in** | [**List[str]**](str.md)| Filter results where packagetype is in a comma-separated list of values | [optional]
|
|
@@ -859,10 +986,10 @@ from pulpcore.client.pulp_python.models.python_python_package_content_response i
|
|
|
859
986
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
860
987
|
from pprint import pprint
|
|
861
988
|
|
|
862
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
989
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
863
990
|
# See configuration.py for a list of all supported configuration parameters.
|
|
864
991
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
865
|
-
host = "https://env-ephemeral-
|
|
992
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
866
993
|
)
|
|
867
994
|
|
|
868
995
|
# The client must configure the authentication and authorization parameters
|
|
@@ -955,10 +1082,10 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
955
1082
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
956
1083
|
from pprint import pprint
|
|
957
1084
|
|
|
958
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1085
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
959
1086
|
# See configuration.py for a list of all supported configuration parameters.
|
|
960
1087
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
961
|
-
host = "https://env-ephemeral-
|
|
1088
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
962
1089
|
)
|
|
963
1090
|
|
|
964
1091
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1049,10 +1176,10 @@ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelRe
|
|
|
1049
1176
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1050
1177
|
from pprint import pprint
|
|
1051
1178
|
|
|
1052
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1179
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1053
1180
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1054
1181
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1055
|
-
host = "https://env-ephemeral-
|
|
1182
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1056
1183
|
)
|
|
1057
1184
|
|
|
1058
1185
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1088,7 +1215,590 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
1088
1215
|
print("The response of ContentPackagesApi->unset_label:\n")
|
|
1089
1216
|
pprint(api_response)
|
|
1090
1217
|
except Exception as e:
|
|
1091
|
-
print("Exception when calling ContentPackagesApi->unset_label: %s\n" % e)
|
|
1218
|
+
print("Exception when calling ContentPackagesApi->unset_label: %s\n" % e)
|
|
1219
|
+
```
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
### Parameters
|
|
1224
|
+
|
|
1225
|
+
|
|
1226
|
+
Name | Type | Description | Notes
|
|
1227
|
+
------------- | ------------- | ------------- | -------------
|
|
1228
|
+
**python_python_package_content_href** | **str**| |
|
|
1229
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
|
1230
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1231
|
+
|
|
1232
|
+
### Return type
|
|
1233
|
+
|
|
1234
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
|
1235
|
+
|
|
1236
|
+
### Authorization
|
|
1237
|
+
|
|
1238
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1239
|
+
|
|
1240
|
+
### HTTP request headers
|
|
1241
|
+
|
|
1242
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
1243
|
+
- **Accept**: application/json
|
|
1244
|
+
|
|
1245
|
+
### HTTP response details
|
|
1246
|
+
|
|
1247
|
+
| Status code | Description | Response headers |
|
|
1248
|
+
|-------------|-------------|------------------|
|
|
1249
|
+
**201** | | - |
|
|
1250
|
+
|
|
1251
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1252
|
+
|
|
1253
|
+
# **upload**
|
|
1254
|
+
> PythonPythonPackageContentResponse upload(pulp_domain, x_task_diagnostics=x_task_diagnostics, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256, attestations=attestations)
|
|
1255
|
+
|
|
1256
|
+
Synchronous Python package upload
|
|
1257
|
+
|
|
1258
|
+
Create a Python package.
|
|
1259
|
+
|
|
1260
|
+
### Example
|
|
1261
|
+
|
|
1262
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1263
|
+
* Basic Authentication (basicAuth):
|
|
1264
|
+
* Api Key Authentication (cookieAuth):
|
|
1265
|
+
|
|
1266
|
+
```python
|
|
1267
|
+
import pulpcore.client.pulp_python
|
|
1268
|
+
from pulpcore.client.pulp_python.models.python_python_package_content_response import PythonPythonPackageContentResponse
|
|
1269
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1270
|
+
from pprint import pprint
|
|
1271
|
+
|
|
1272
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1273
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1274
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1275
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1276
|
+
)
|
|
1277
|
+
|
|
1278
|
+
# The client must configure the authentication and authorization parameters
|
|
1279
|
+
# in accordance with the API server security policy.
|
|
1280
|
+
# Examples for each auth method are provided below, use the example that
|
|
1281
|
+
# satisfies your auth use case.
|
|
1282
|
+
|
|
1283
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1284
|
+
|
|
1285
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1286
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1287
|
+
username = os.environ["USERNAME"],
|
|
1288
|
+
password = os.environ["PASSWORD"]
|
|
1289
|
+
)
|
|
1290
|
+
|
|
1291
|
+
# Configure API key authorization: cookieAuth
|
|
1292
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1293
|
+
|
|
1294
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1295
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1296
|
+
|
|
1297
|
+
# Enter a context with an instance of the API client
|
|
1298
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1299
|
+
# Create an instance of the API class
|
|
1300
|
+
api_instance = pulpcore.client.pulp_python.ContentPackagesApi(api_client)
|
|
1301
|
+
pulp_domain = 'pulp_domain_example' # str |
|
|
1302
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1303
|
+
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
|
|
1304
|
+
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
|
|
1305
|
+
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
|
|
1306
|
+
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
|
|
1307
|
+
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
|
|
1308
|
+
author = 'author_example' # str | Text containing the author's name. Contact information can also be added, separated with newlines. (optional)
|
|
1309
|
+
author_email = 'author_email_example' # str | The author's e-mail address. (optional)
|
|
1310
|
+
description = 'description_example' # str | A longer description of the package that can run to several paragraphs. (optional)
|
|
1311
|
+
home_page = 'home_page_example' # str | The URL for the package's home page. (optional)
|
|
1312
|
+
keywords = 'keywords_example' # str | Additional keywords to be used to assist searching for the package in a larger catalog. (optional)
|
|
1313
|
+
license = 'license_example' # str | Text indicating the license covering the distribution (optional)
|
|
1314
|
+
platform = 'platform_example' # str | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional)
|
|
1315
|
+
summary = 'summary_example' # str | A one-line summary of what the package does. (optional)
|
|
1316
|
+
classifiers = None # object | A JSON list containing classification values for a Python package. (optional)
|
|
1317
|
+
download_url = 'download_url_example' # str | Legacy field denoting the URL from which this package can be downloaded. (optional)
|
|
1318
|
+
supported_platform = 'supported_platform_example' # str | Field to specify the OS and CPU for which the binary package was compiled. (optional)
|
|
1319
|
+
maintainer = 'maintainer_example' # str | The maintainer's name at a minimum; additional contact information may be provided. (optional)
|
|
1320
|
+
maintainer_email = 'maintainer_email_example' # str | The maintainer's e-mail address. (optional)
|
|
1321
|
+
obsoletes_dist = None # object | 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. (optional)
|
|
1322
|
+
project_url = 'project_url_example' # str | A browsable URL for the project and a label for it, separated by a comma. (optional)
|
|
1323
|
+
project_urls = None # object | A dictionary of labels and URLs for the project. (optional)
|
|
1324
|
+
provides_dist = None # object | A JSON list containing names of a Distutils project which is contained within this distribution. (optional)
|
|
1325
|
+
requires_external = None # object | A JSON list containing some dependency in the system that the distribution is to be used. (optional)
|
|
1326
|
+
requires_dist = None # object | A JSON list containing names of some other distutils project required by this distribution. (optional)
|
|
1327
|
+
requires_python = 'requires_python_example' # str | The Python version(s) that the distribution is guaranteed to be compatible with. (optional)
|
|
1328
|
+
description_content_type = 'description_content_type_example' # str | A string stating the markup syntax (if any) used in the distribution's description, so that tools can intelligently render the description. (optional)
|
|
1329
|
+
provides_extras = None # object | A JSON list containing names of optional features provided by the package. (optional)
|
|
1330
|
+
dynamic = None # object | 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. (optional)
|
|
1331
|
+
license_expression = 'license_expression_example' # str | Text string that is a valid SPDX license expression. (optional)
|
|
1332
|
+
license_file = None # object | A JSON list containing names of the paths to license-related files. (optional)
|
|
1333
|
+
sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
|
|
1334
|
+
metadata_sha256 = 'metadata_sha256_example' # str | The SHA256 digest of the package's METADATA file. (optional)
|
|
1335
|
+
attestations = None # object | A JSON list containing attestations for the package. (optional)
|
|
1336
|
+
|
|
1337
|
+
try:
|
|
1338
|
+
# Synchronous Python package upload
|
|
1339
|
+
api_response = api_instance.upload(pulp_domain, x_task_diagnostics=x_task_diagnostics, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256, attestations=attestations)
|
|
1340
|
+
print("The response of ContentPackagesApi->upload:\n")
|
|
1341
|
+
pprint(api_response)
|
|
1342
|
+
except Exception as e:
|
|
1343
|
+
print("Exception when calling ContentPackagesApi->upload: %s\n" % e)
|
|
1344
|
+
```
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
|
|
1348
|
+
### Parameters
|
|
1349
|
+
|
|
1350
|
+
|
|
1351
|
+
Name | Type | Description | Notes
|
|
1352
|
+
------------- | ------------- | ------------- | -------------
|
|
1353
|
+
**pulp_domain** | **str**| |
|
|
1354
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1355
|
+
**pulp_labels** | [**Dict[str, Optional[str]]**](Dict.md)| A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional]
|
|
1356
|
+
**artifact** | **str**| Artifact file representing the physical content | [optional]
|
|
1357
|
+
**file** | **bytearray**| An uploaded file that may be turned into the content unit. | [optional]
|
|
1358
|
+
**upload** | **str**| An uncommitted upload that may be turned into the content unit. | [optional]
|
|
1359
|
+
**file_url** | **str**| A url that Pulp can download and turn into the content unit. | [optional]
|
|
1360
|
+
**author** | **str**| Text containing the author's name. Contact information can also be added, separated with newlines. | [optional]
|
|
1361
|
+
**author_email** | **str**| The author's e-mail address. | [optional]
|
|
1362
|
+
**description** | **str**| A longer description of the package that can run to several paragraphs. | [optional]
|
|
1363
|
+
**home_page** | **str**| The URL for the package's home page. | [optional]
|
|
1364
|
+
**keywords** | **str**| Additional keywords to be used to assist searching for the package in a larger catalog. | [optional]
|
|
1365
|
+
**license** | **str**| Text indicating the license covering the distribution | [optional]
|
|
1366
|
+
**platform** | **str**| A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
|
|
1367
|
+
**summary** | **str**| A one-line summary of what the package does. | [optional]
|
|
1368
|
+
**classifiers** | [**object**](object.md)| A JSON list containing classification values for a Python package. | [optional]
|
|
1369
|
+
**download_url** | **str**| Legacy field denoting the URL from which this package can be downloaded. | [optional]
|
|
1370
|
+
**supported_platform** | **str**| Field to specify the OS and CPU for which the binary package was compiled. | [optional]
|
|
1371
|
+
**maintainer** | **str**| The maintainer's name at a minimum; additional contact information may be provided. | [optional]
|
|
1372
|
+
**maintainer_email** | **str**| The maintainer's e-mail address. | [optional]
|
|
1373
|
+
**obsoletes_dist** | [**object**](object.md)| 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. | [optional]
|
|
1374
|
+
**project_url** | **str**| A browsable URL for the project and a label for it, separated by a comma. | [optional]
|
|
1375
|
+
**project_urls** | [**object**](object.md)| A dictionary of labels and URLs for the project. | [optional]
|
|
1376
|
+
**provides_dist** | [**object**](object.md)| A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
|
|
1377
|
+
**requires_external** | [**object**](object.md)| A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
|
|
1378
|
+
**requires_dist** | [**object**](object.md)| A JSON list containing names of some other distutils project required by this distribution. | [optional]
|
|
1379
|
+
**requires_python** | **str**| The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
|
|
1380
|
+
**description_content_type** | **str**| A string stating the markup syntax (if any) used in the distribution's description, so that tools can intelligently render the description. | [optional]
|
|
1381
|
+
**provides_extras** | [**object**](object.md)| A JSON list containing names of optional features provided by the package. | [optional]
|
|
1382
|
+
**dynamic** | [**object**](object.md)| 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. | [optional]
|
|
1383
|
+
**license_expression** | **str**| Text string that is a valid SPDX license expression. | [optional]
|
|
1384
|
+
**license_file** | [**object**](object.md)| A JSON list containing names of the paths to license-related files. | [optional]
|
|
1385
|
+
**sha256** | **str**| The SHA256 digest of this package. | [optional] [default to '']
|
|
1386
|
+
**metadata_sha256** | **str**| The SHA256 digest of the package's METADATA file. | [optional]
|
|
1387
|
+
**attestations** | [**object**](object.md)| A JSON list containing attestations for the package. | [optional]
|
|
1388
|
+
|
|
1389
|
+
### Return type
|
|
1390
|
+
|
|
1391
|
+
[**PythonPythonPackageContentResponse**](PythonPythonPackageContentResponse.md)
|
|
1392
|
+
|
|
1393
|
+
### Authorization
|
|
1394
|
+
|
|
1395
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1396
|
+
|
|
1397
|
+
### HTTP request headers
|
|
1398
|
+
|
|
1399
|
+
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
|
|
1400
|
+
- **Accept**: application/json
|
|
1401
|
+
|
|
1402
|
+
### HTTP response details
|
|
1403
|
+
|
|
1404
|
+
| Status code | Description | Response headers |
|
|
1405
|
+
|-------------|-------------|------------------|
|
|
1406
|
+
**201** | | - |
|
|
1407
|
+
|
|
1408
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1409
|
+
|
|
1410
|
+
# pulpcore.client.pulp_python.ContentProvenanceApi
|
|
1411
|
+
|
|
1412
|
+
All URIs are relative to *https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
1413
|
+
|
|
1414
|
+
Method | HTTP request | Description
|
|
1415
|
+
------------- | ------------- | -------------
|
|
1416
|
+
[**create**](ContentProvenanceApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/content/python/provenance/ | Create a package provenance
|
|
1417
|
+
[**list**](ContentProvenanceApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/content/python/provenance/ | List package provenances
|
|
1418
|
+
[**read**](ContentProvenanceApi.md#read) | **GET** {python_package_provenance_href} | Inspect a package provenance
|
|
1419
|
+
[**set_label**](ContentProvenanceApi.md#set_label) | **POST** {python_package_provenance_href}set_label/ | Set a label
|
|
1420
|
+
[**unset_label**](ContentProvenanceApi.md#unset_label) | **POST** {python_package_provenance_href}unset_label/ | Unset a label
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
# **create**
|
|
1424
|
+
> AsyncOperationResponse create(pulp_domain, package, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, file=file, upload=upload, file_url=file_url, verify=verify)
|
|
1425
|
+
|
|
1426
|
+
Create a package provenance
|
|
1427
|
+
|
|
1428
|
+
Trigger an asynchronous task to create content,optionally create new repository version.
|
|
1429
|
+
|
|
1430
|
+
### Example
|
|
1431
|
+
|
|
1432
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1433
|
+
* Basic Authentication (basicAuth):
|
|
1434
|
+
* Api Key Authentication (cookieAuth):
|
|
1435
|
+
|
|
1436
|
+
```python
|
|
1437
|
+
import pulpcore.client.pulp_python
|
|
1438
|
+
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
1439
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1440
|
+
from pprint import pprint
|
|
1441
|
+
|
|
1442
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1443
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1444
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1445
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1446
|
+
)
|
|
1447
|
+
|
|
1448
|
+
# The client must configure the authentication and authorization parameters
|
|
1449
|
+
# in accordance with the API server security policy.
|
|
1450
|
+
# Examples for each auth method are provided below, use the example that
|
|
1451
|
+
# satisfies your auth use case.
|
|
1452
|
+
|
|
1453
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1454
|
+
|
|
1455
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1456
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1457
|
+
username = os.environ["USERNAME"],
|
|
1458
|
+
password = os.environ["PASSWORD"]
|
|
1459
|
+
)
|
|
1460
|
+
|
|
1461
|
+
# Configure API key authorization: cookieAuth
|
|
1462
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1463
|
+
|
|
1464
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1465
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1466
|
+
|
|
1467
|
+
# Enter a context with an instance of the API client
|
|
1468
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1469
|
+
# Create an instance of the API class
|
|
1470
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1471
|
+
pulp_domain = 'pulp_domain_example' # str |
|
|
1472
|
+
package = 'package_example' # str | The package that the provenance is for.
|
|
1473
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1474
|
+
repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
|
|
1475
|
+
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
|
|
1476
|
+
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
|
|
1477
|
+
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
|
|
1478
|
+
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
|
|
1479
|
+
verify = True # bool | Verify each attestation in the provenance. (optional) (default to True)
|
|
1480
|
+
|
|
1481
|
+
try:
|
|
1482
|
+
# Create a package provenance
|
|
1483
|
+
api_response = api_instance.create(pulp_domain, package, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, file=file, upload=upload, file_url=file_url, verify=verify)
|
|
1484
|
+
print("The response of ContentProvenanceApi->create:\n")
|
|
1485
|
+
pprint(api_response)
|
|
1486
|
+
except Exception as e:
|
|
1487
|
+
print("Exception when calling ContentProvenanceApi->create: %s\n" % e)
|
|
1488
|
+
```
|
|
1489
|
+
|
|
1490
|
+
|
|
1491
|
+
|
|
1492
|
+
### Parameters
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
Name | Type | Description | Notes
|
|
1496
|
+
------------- | ------------- | ------------- | -------------
|
|
1497
|
+
**pulp_domain** | **str**| |
|
|
1498
|
+
**package** | **str**| The package that the provenance is for. |
|
|
1499
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1500
|
+
**repository** | **str**| A URI of a repository the new content unit should be associated with. | [optional]
|
|
1501
|
+
**pulp_labels** | [**Dict[str, Optional[str]]**](Dict.md)| A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional]
|
|
1502
|
+
**file** | **bytearray**| An uploaded file that may be turned into the content unit. | [optional]
|
|
1503
|
+
**upload** | **str**| An uncommitted upload that may be turned into the content unit. | [optional]
|
|
1504
|
+
**file_url** | **str**| A url that Pulp can download and turn into the content unit. | [optional]
|
|
1505
|
+
**verify** | **bool**| Verify each attestation in the provenance. | [optional] [default to True]
|
|
1506
|
+
|
|
1507
|
+
### Return type
|
|
1508
|
+
|
|
1509
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
1510
|
+
|
|
1511
|
+
### Authorization
|
|
1512
|
+
|
|
1513
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1514
|
+
|
|
1515
|
+
### HTTP request headers
|
|
1516
|
+
|
|
1517
|
+
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
|
|
1518
|
+
- **Accept**: application/json
|
|
1519
|
+
|
|
1520
|
+
### HTTP response details
|
|
1521
|
+
|
|
1522
|
+
| Status code | Description | Response headers |
|
|
1523
|
+
|-------------|-------------|------------------|
|
|
1524
|
+
**202** | | - |
|
|
1525
|
+
|
|
1526
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1527
|
+
|
|
1528
|
+
# **list**
|
|
1529
|
+
> PaginatedpythonPackageProvenanceResponseList list(pulp_domain, x_task_diagnostics=x_task_diagnostics, limit=limit, offset=offset, ordering=ordering, orphaned_for=orphaned_for, prn__in=prn__in, pulp_href__in=pulp_href__in, pulp_id__in=pulp_id__in, pulp_label_select=pulp_label_select, q=q, repository_version=repository_version, repository_version_added=repository_version_added, repository_version_removed=repository_version_removed, fields=fields, exclude_fields=exclude_fields)
|
|
1530
|
+
|
|
1531
|
+
List package provenances
|
|
1532
|
+
|
|
1533
|
+
PackageProvenance represents a PEP 740 provenance object for a Python package. Use ?minimal=true to get a human readable representation of the provenance.
|
|
1534
|
+
|
|
1535
|
+
### Example
|
|
1536
|
+
|
|
1537
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1538
|
+
* Basic Authentication (basicAuth):
|
|
1539
|
+
* Api Key Authentication (cookieAuth):
|
|
1540
|
+
|
|
1541
|
+
```python
|
|
1542
|
+
import pulpcore.client.pulp_python
|
|
1543
|
+
from pulpcore.client.pulp_python.models.paginatedpython_package_provenance_response_list import PaginatedpythonPackageProvenanceResponseList
|
|
1544
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1545
|
+
from pprint import pprint
|
|
1546
|
+
|
|
1547
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1548
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1549
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1550
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1551
|
+
)
|
|
1552
|
+
|
|
1553
|
+
# The client must configure the authentication and authorization parameters
|
|
1554
|
+
# in accordance with the API server security policy.
|
|
1555
|
+
# Examples for each auth method are provided below, use the example that
|
|
1556
|
+
# satisfies your auth use case.
|
|
1557
|
+
|
|
1558
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1559
|
+
|
|
1560
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1561
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1562
|
+
username = os.environ["USERNAME"],
|
|
1563
|
+
password = os.environ["PASSWORD"]
|
|
1564
|
+
)
|
|
1565
|
+
|
|
1566
|
+
# Configure API key authorization: cookieAuth
|
|
1567
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1568
|
+
|
|
1569
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1570
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1571
|
+
|
|
1572
|
+
# Enter a context with an instance of the API client
|
|
1573
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1574
|
+
# Create an instance of the API class
|
|
1575
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1576
|
+
pulp_domain = 'pulp_domain_example' # str |
|
|
1577
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1578
|
+
limit = 56 # int | Number of results to return per page. (optional)
|
|
1579
|
+
offset = 56 # int | The initial index from which to return the results. (optional)
|
|
1580
|
+
ordering = ['ordering_example'] # List[str] | Ordering * `pk` - Pk * `-pk` - Pk (descending) (optional)
|
|
1581
|
+
orphaned_for = 3.4 # float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. (optional)
|
|
1582
|
+
prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
|
|
1583
|
+
pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
|
|
1584
|
+
pulp_id__in = ['pulp_id__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
|
|
1585
|
+
pulp_label_select = 'pulp_label_select_example' # str | Filter labels by search string (optional)
|
|
1586
|
+
q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)
|
|
1587
|
+
repository_version = 'repository_version_example' # str | Repository Version referenced by HREF/PRN (optional)
|
|
1588
|
+
repository_version_added = 'repository_version_added_example' # str | Repository Version referenced by HREF/PRN (optional)
|
|
1589
|
+
repository_version_removed = 'repository_version_removed_example' # str | Repository Version referenced by HREF/PRN (optional)
|
|
1590
|
+
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
|
|
1591
|
+
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
|
|
1592
|
+
|
|
1593
|
+
try:
|
|
1594
|
+
# List package provenances
|
|
1595
|
+
api_response = api_instance.list(pulp_domain, x_task_diagnostics=x_task_diagnostics, limit=limit, offset=offset, ordering=ordering, orphaned_for=orphaned_for, prn__in=prn__in, pulp_href__in=pulp_href__in, pulp_id__in=pulp_id__in, pulp_label_select=pulp_label_select, q=q, repository_version=repository_version, repository_version_added=repository_version_added, repository_version_removed=repository_version_removed, fields=fields, exclude_fields=exclude_fields)
|
|
1596
|
+
print("The response of ContentProvenanceApi->list:\n")
|
|
1597
|
+
pprint(api_response)
|
|
1598
|
+
except Exception as e:
|
|
1599
|
+
print("Exception when calling ContentProvenanceApi->list: %s\n" % e)
|
|
1600
|
+
```
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
|
|
1604
|
+
### Parameters
|
|
1605
|
+
|
|
1606
|
+
|
|
1607
|
+
Name | Type | Description | Notes
|
|
1608
|
+
------------- | ------------- | ------------- | -------------
|
|
1609
|
+
**pulp_domain** | **str**| |
|
|
1610
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1611
|
+
**limit** | **int**| Number of results to return per page. | [optional]
|
|
1612
|
+
**offset** | **int**| The initial index from which to return the results. | [optional]
|
|
1613
|
+
**ordering** | [**List[str]**](str.md)| Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
1614
|
+
**orphaned_for** | **float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
|
1615
|
+
**prn__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional]
|
|
1616
|
+
**pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional]
|
|
1617
|
+
**pulp_id__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional]
|
|
1618
|
+
**pulp_label_select** | **str**| Filter labels by search string | [optional]
|
|
1619
|
+
**q** | **str**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
|
1620
|
+
**repository_version** | **str**| Repository Version referenced by HREF/PRN | [optional]
|
|
1621
|
+
**repository_version_added** | **str**| Repository Version referenced by HREF/PRN | [optional]
|
|
1622
|
+
**repository_version_removed** | **str**| Repository Version referenced by HREF/PRN | [optional]
|
|
1623
|
+
**fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional]
|
|
1624
|
+
**exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional]
|
|
1625
|
+
|
|
1626
|
+
### Return type
|
|
1627
|
+
|
|
1628
|
+
[**PaginatedpythonPackageProvenanceResponseList**](PaginatedpythonPackageProvenanceResponseList.md)
|
|
1629
|
+
|
|
1630
|
+
### Authorization
|
|
1631
|
+
|
|
1632
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1633
|
+
|
|
1634
|
+
### HTTP request headers
|
|
1635
|
+
|
|
1636
|
+
- **Content-Type**: Not defined
|
|
1637
|
+
- **Accept**: application/json
|
|
1638
|
+
|
|
1639
|
+
### HTTP response details
|
|
1640
|
+
|
|
1641
|
+
| Status code | Description | Response headers |
|
|
1642
|
+
|-------------|-------------|------------------|
|
|
1643
|
+
**200** | | - |
|
|
1644
|
+
|
|
1645
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1646
|
+
|
|
1647
|
+
# **read**
|
|
1648
|
+
> PythonPackageProvenanceResponse read(python_package_provenance_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
1649
|
+
|
|
1650
|
+
Inspect a package provenance
|
|
1651
|
+
|
|
1652
|
+
PackageProvenance represents a PEP 740 provenance object for a Python package. Use ?minimal=true to get a human readable representation of the provenance.
|
|
1653
|
+
|
|
1654
|
+
### Example
|
|
1655
|
+
|
|
1656
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1657
|
+
* Basic Authentication (basicAuth):
|
|
1658
|
+
* Api Key Authentication (cookieAuth):
|
|
1659
|
+
|
|
1660
|
+
```python
|
|
1661
|
+
import pulpcore.client.pulp_python
|
|
1662
|
+
from pulpcore.client.pulp_python.models.python_package_provenance_response import PythonPackageProvenanceResponse
|
|
1663
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1664
|
+
from pprint import pprint
|
|
1665
|
+
|
|
1666
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1667
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1668
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1669
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1670
|
+
)
|
|
1671
|
+
|
|
1672
|
+
# The client must configure the authentication and authorization parameters
|
|
1673
|
+
# in accordance with the API server security policy.
|
|
1674
|
+
# Examples for each auth method are provided below, use the example that
|
|
1675
|
+
# satisfies your auth use case.
|
|
1676
|
+
|
|
1677
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1678
|
+
|
|
1679
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1680
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1681
|
+
username = os.environ["USERNAME"],
|
|
1682
|
+
password = os.environ["PASSWORD"]
|
|
1683
|
+
)
|
|
1684
|
+
|
|
1685
|
+
# Configure API key authorization: cookieAuth
|
|
1686
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1687
|
+
|
|
1688
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1689
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1690
|
+
|
|
1691
|
+
# Enter a context with an instance of the API client
|
|
1692
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1693
|
+
# Create an instance of the API class
|
|
1694
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1695
|
+
python_package_provenance_href = 'python_package_provenance_href_example' # str |
|
|
1696
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1697
|
+
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
|
|
1698
|
+
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
|
|
1699
|
+
|
|
1700
|
+
try:
|
|
1701
|
+
# Inspect a package provenance
|
|
1702
|
+
api_response = api_instance.read(python_package_provenance_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
1703
|
+
print("The response of ContentProvenanceApi->read:\n")
|
|
1704
|
+
pprint(api_response)
|
|
1705
|
+
except Exception as e:
|
|
1706
|
+
print("Exception when calling ContentProvenanceApi->read: %s\n" % e)
|
|
1707
|
+
```
|
|
1708
|
+
|
|
1709
|
+
|
|
1710
|
+
|
|
1711
|
+
### Parameters
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
Name | Type | Description | Notes
|
|
1715
|
+
------------- | ------------- | ------------- | -------------
|
|
1716
|
+
**python_package_provenance_href** | **str**| |
|
|
1717
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1718
|
+
**fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional]
|
|
1719
|
+
**exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional]
|
|
1720
|
+
|
|
1721
|
+
### Return type
|
|
1722
|
+
|
|
1723
|
+
[**PythonPackageProvenanceResponse**](PythonPackageProvenanceResponse.md)
|
|
1724
|
+
|
|
1725
|
+
### Authorization
|
|
1726
|
+
|
|
1727
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1728
|
+
|
|
1729
|
+
### HTTP request headers
|
|
1730
|
+
|
|
1731
|
+
- **Content-Type**: Not defined
|
|
1732
|
+
- **Accept**: application/json
|
|
1733
|
+
|
|
1734
|
+
### HTTP response details
|
|
1735
|
+
|
|
1736
|
+
| Status code | Description | Response headers |
|
|
1737
|
+
|-------------|-------------|------------------|
|
|
1738
|
+
**200** | | - |
|
|
1739
|
+
|
|
1740
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1741
|
+
|
|
1742
|
+
# **set_label**
|
|
1743
|
+
> SetLabelResponse set_label(python_package_provenance_href, set_label, x_task_diagnostics=x_task_diagnostics)
|
|
1744
|
+
|
|
1745
|
+
Set a label
|
|
1746
|
+
|
|
1747
|
+
Set a single pulp_label on the object to a specific value or null.
|
|
1748
|
+
|
|
1749
|
+
### Example
|
|
1750
|
+
|
|
1751
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1752
|
+
* Basic Authentication (basicAuth):
|
|
1753
|
+
* Api Key Authentication (cookieAuth):
|
|
1754
|
+
|
|
1755
|
+
```python
|
|
1756
|
+
import pulpcore.client.pulp_python
|
|
1757
|
+
from pulpcore.client.pulp_python.models.set_label import SetLabel
|
|
1758
|
+
from pulpcore.client.pulp_python.models.set_label_response import SetLabelResponse
|
|
1759
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1760
|
+
from pprint import pprint
|
|
1761
|
+
|
|
1762
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1763
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1764
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1765
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1766
|
+
)
|
|
1767
|
+
|
|
1768
|
+
# The client must configure the authentication and authorization parameters
|
|
1769
|
+
# in accordance with the API server security policy.
|
|
1770
|
+
# Examples for each auth method are provided below, use the example that
|
|
1771
|
+
# satisfies your auth use case.
|
|
1772
|
+
|
|
1773
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1774
|
+
|
|
1775
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1776
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1777
|
+
username = os.environ["USERNAME"],
|
|
1778
|
+
password = os.environ["PASSWORD"]
|
|
1779
|
+
)
|
|
1780
|
+
|
|
1781
|
+
# Configure API key authorization: cookieAuth
|
|
1782
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1783
|
+
|
|
1784
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1785
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1786
|
+
|
|
1787
|
+
# Enter a context with an instance of the API client
|
|
1788
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1789
|
+
# Create an instance of the API class
|
|
1790
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1791
|
+
python_package_provenance_href = 'python_package_provenance_href_example' # str |
|
|
1792
|
+
set_label = pulpcore.client.pulp_python.SetLabel() # SetLabel |
|
|
1793
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1794
|
+
|
|
1795
|
+
try:
|
|
1796
|
+
# Set a label
|
|
1797
|
+
api_response = api_instance.set_label(python_package_provenance_href, set_label, x_task_diagnostics=x_task_diagnostics)
|
|
1798
|
+
print("The response of ContentProvenanceApi->set_label:\n")
|
|
1799
|
+
pprint(api_response)
|
|
1800
|
+
except Exception as e:
|
|
1801
|
+
print("Exception when calling ContentProvenanceApi->set_label: %s\n" % e)
|
|
1092
1802
|
```
|
|
1093
1803
|
|
|
1094
1804
|
|
|
@@ -1098,13 +1808,13 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
1098
1808
|
|
|
1099
1809
|
Name | Type | Description | Notes
|
|
1100
1810
|
------------- | ------------- | ------------- | -------------
|
|
1101
|
-
**
|
|
1102
|
-
**
|
|
1811
|
+
**python_package_provenance_href** | **str**| |
|
|
1812
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
|
1103
1813
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1104
1814
|
|
|
1105
1815
|
### Return type
|
|
1106
1816
|
|
|
1107
|
-
[**
|
|
1817
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
|
1108
1818
|
|
|
1109
1819
|
### Authorization
|
|
1110
1820
|
|
|
@@ -1123,12 +1833,12 @@ Name | Type | Description | Notes
|
|
|
1123
1833
|
|
|
1124
1834
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1125
1835
|
|
|
1126
|
-
# **
|
|
1127
|
-
>
|
|
1836
|
+
# **unset_label**
|
|
1837
|
+
> UnsetLabelResponse unset_label(python_package_provenance_href, unset_label, x_task_diagnostics=x_task_diagnostics)
|
|
1128
1838
|
|
|
1129
|
-
|
|
1839
|
+
Unset a label
|
|
1130
1840
|
|
|
1131
|
-
|
|
1841
|
+
Unset a single pulp_label on the object.
|
|
1132
1842
|
|
|
1133
1843
|
### Example
|
|
1134
1844
|
|
|
@@ -1138,14 +1848,15 @@ Create a Python package.
|
|
|
1138
1848
|
|
|
1139
1849
|
```python
|
|
1140
1850
|
import pulpcore.client.pulp_python
|
|
1141
|
-
from pulpcore.client.pulp_python.models.
|
|
1851
|
+
from pulpcore.client.pulp_python.models.unset_label import UnsetLabel
|
|
1852
|
+
from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelResponse
|
|
1142
1853
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1143
1854
|
from pprint import pprint
|
|
1144
1855
|
|
|
1145
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1856
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1146
1857
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1147
1858
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1148
|
-
host = "https://env-ephemeral-
|
|
1859
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1149
1860
|
)
|
|
1150
1861
|
|
|
1151
1862
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1170,49 +1881,18 @@ configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
|
1170
1881
|
# Enter a context with an instance of the API client
|
|
1171
1882
|
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1172
1883
|
# Create an instance of the API class
|
|
1173
|
-
api_instance = pulpcore.client.pulp_python.
|
|
1174
|
-
|
|
1884
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1885
|
+
python_package_provenance_href = 'python_package_provenance_href_example' # str |
|
|
1886
|
+
unset_label = pulpcore.client.pulp_python.UnsetLabel() # UnsetLabel |
|
|
1175
1887
|
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1176
|
-
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
|
|
1177
|
-
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
|
|
1178
|
-
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
|
|
1179
|
-
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
|
|
1180
|
-
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
|
|
1181
|
-
author = 'author_example' # str | Text containing the author's name. Contact information can also be added, separated with newlines. (optional)
|
|
1182
|
-
author_email = 'author_email_example' # str | The author's e-mail address. (optional)
|
|
1183
|
-
description = 'description_example' # str | A longer description of the package that can run to several paragraphs. (optional)
|
|
1184
|
-
home_page = 'home_page_example' # str | The URL for the package's home page. (optional)
|
|
1185
|
-
keywords = 'keywords_example' # str | Additional keywords to be used to assist searching for the package in a larger catalog. (optional)
|
|
1186
|
-
license = 'license_example' # str | Text indicating the license covering the distribution (optional)
|
|
1187
|
-
platform = 'platform_example' # str | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional)
|
|
1188
|
-
summary = 'summary_example' # str | A one-line summary of what the package does. (optional)
|
|
1189
|
-
classifiers = None # object | A JSON list containing classification values for a Python package. (optional)
|
|
1190
|
-
download_url = 'download_url_example' # str | Legacy field denoting the URL from which this package can be downloaded. (optional)
|
|
1191
|
-
supported_platform = 'supported_platform_example' # str | Field to specify the OS and CPU for which the binary package was compiled. (optional)
|
|
1192
|
-
maintainer = 'maintainer_example' # str | The maintainer's name at a minimum; additional contact information may be provided. (optional)
|
|
1193
|
-
maintainer_email = 'maintainer_email_example' # str | The maintainer's e-mail address. (optional)
|
|
1194
|
-
obsoletes_dist = None # object | 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. (optional)
|
|
1195
|
-
project_url = 'project_url_example' # str | A browsable URL for the project and a label for it, separated by a comma. (optional)
|
|
1196
|
-
project_urls = None # object | A dictionary of labels and URLs for the project. (optional)
|
|
1197
|
-
provides_dist = None # object | A JSON list containing names of a Distutils project which is contained within this distribution. (optional)
|
|
1198
|
-
requires_external = None # object | A JSON list containing some dependency in the system that the distribution is to be used. (optional)
|
|
1199
|
-
requires_dist = None # object | A JSON list containing names of some other distutils project required by this distribution. (optional)
|
|
1200
|
-
requires_python = 'requires_python_example' # str | The Python version(s) that the distribution is guaranteed to be compatible with. (optional)
|
|
1201
|
-
description_content_type = 'description_content_type_example' # str | A string stating the markup syntax (if any) used in the distribution's description, so that tools can intelligently render the description. (optional)
|
|
1202
|
-
provides_extras = None # object | A JSON list containing names of optional features provided by the package. (optional)
|
|
1203
|
-
dynamic = None # object | 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. (optional)
|
|
1204
|
-
license_expression = 'license_expression_example' # str | Text string that is a valid SPDX license expression. (optional)
|
|
1205
|
-
license_file = None # object | A JSON list containing names of the paths to license-related files. (optional)
|
|
1206
|
-
sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
|
|
1207
|
-
metadata_sha256 = 'metadata_sha256_example' # str | The SHA256 digest of the package's METADATA file. (optional)
|
|
1208
1888
|
|
|
1209
1889
|
try:
|
|
1210
|
-
#
|
|
1211
|
-
api_response = api_instance.
|
|
1212
|
-
print("The response of
|
|
1890
|
+
# Unset a label
|
|
1891
|
+
api_response = api_instance.unset_label(python_package_provenance_href, unset_label, x_task_diagnostics=x_task_diagnostics)
|
|
1892
|
+
print("The response of ContentProvenanceApi->unset_label:\n")
|
|
1213
1893
|
pprint(api_response)
|
|
1214
1894
|
except Exception as e:
|
|
1215
|
-
print("Exception when calling
|
|
1895
|
+
print("Exception when calling ContentProvenanceApi->unset_label: %s\n" % e)
|
|
1216
1896
|
```
|
|
1217
1897
|
|
|
1218
1898
|
|
|
@@ -1222,44 +1902,13 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
1222
1902
|
|
|
1223
1903
|
Name | Type | Description | Notes
|
|
1224
1904
|
------------- | ------------- | ------------- | -------------
|
|
1225
|
-
**
|
|
1905
|
+
**python_package_provenance_href** | **str**| |
|
|
1906
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
|
1226
1907
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1227
|
-
**pulp_labels** | [**Dict[str, Optional[str]]**](Dict.md)| A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional]
|
|
1228
|
-
**artifact** | **str**| Artifact file representing the physical content | [optional]
|
|
1229
|
-
**file** | **bytearray**| An uploaded file that may be turned into the content unit. | [optional]
|
|
1230
|
-
**upload** | **str**| An uncommitted upload that may be turned into the content unit. | [optional]
|
|
1231
|
-
**file_url** | **str**| A url that Pulp can download and turn into the content unit. | [optional]
|
|
1232
|
-
**author** | **str**| Text containing the author's name. Contact information can also be added, separated with newlines. | [optional]
|
|
1233
|
-
**author_email** | **str**| The author's e-mail address. | [optional]
|
|
1234
|
-
**description** | **str**| A longer description of the package that can run to several paragraphs. | [optional]
|
|
1235
|
-
**home_page** | **str**| The URL for the package's home page. | [optional]
|
|
1236
|
-
**keywords** | **str**| Additional keywords to be used to assist searching for the package in a larger catalog. | [optional]
|
|
1237
|
-
**license** | **str**| Text indicating the license covering the distribution | [optional]
|
|
1238
|
-
**platform** | **str**| A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
|
|
1239
|
-
**summary** | **str**| A one-line summary of what the package does. | [optional]
|
|
1240
|
-
**classifiers** | [**object**](object.md)| A JSON list containing classification values for a Python package. | [optional]
|
|
1241
|
-
**download_url** | **str**| Legacy field denoting the URL from which this package can be downloaded. | [optional]
|
|
1242
|
-
**supported_platform** | **str**| Field to specify the OS and CPU for which the binary package was compiled. | [optional]
|
|
1243
|
-
**maintainer** | **str**| The maintainer's name at a minimum; additional contact information may be provided. | [optional]
|
|
1244
|
-
**maintainer_email** | **str**| The maintainer's e-mail address. | [optional]
|
|
1245
|
-
**obsoletes_dist** | [**object**](object.md)| 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. | [optional]
|
|
1246
|
-
**project_url** | **str**| A browsable URL for the project and a label for it, separated by a comma. | [optional]
|
|
1247
|
-
**project_urls** | [**object**](object.md)| A dictionary of labels and URLs for the project. | [optional]
|
|
1248
|
-
**provides_dist** | [**object**](object.md)| A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
|
|
1249
|
-
**requires_external** | [**object**](object.md)| A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
|
|
1250
|
-
**requires_dist** | [**object**](object.md)| A JSON list containing names of some other distutils project required by this distribution. | [optional]
|
|
1251
|
-
**requires_python** | **str**| The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
|
|
1252
|
-
**description_content_type** | **str**| A string stating the markup syntax (if any) used in the distribution's description, so that tools can intelligently render the description. | [optional]
|
|
1253
|
-
**provides_extras** | [**object**](object.md)| A JSON list containing names of optional features provided by the package. | [optional]
|
|
1254
|
-
**dynamic** | [**object**](object.md)| 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. | [optional]
|
|
1255
|
-
**license_expression** | **str**| Text string that is a valid SPDX license expression. | [optional]
|
|
1256
|
-
**license_file** | [**object**](object.md)| A JSON list containing names of the paths to license-related files. | [optional]
|
|
1257
|
-
**sha256** | **str**| The SHA256 digest of this package. | [optional] [default to '']
|
|
1258
|
-
**metadata_sha256** | **str**| The SHA256 digest of the package's METADATA file. | [optional]
|
|
1259
1908
|
|
|
1260
1909
|
### Return type
|
|
1261
1910
|
|
|
1262
|
-
[**
|
|
1911
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
|
1263
1912
|
|
|
1264
1913
|
### Authorization
|
|
1265
1914
|
|
|
@@ -1267,7 +1916,7 @@ Name | Type | Description | Notes
|
|
|
1267
1916
|
|
|
1268
1917
|
### HTTP request headers
|
|
1269
1918
|
|
|
1270
|
-
- **Content-Type**:
|
|
1919
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
1271
1920
|
- **Accept**: application/json
|
|
1272
1921
|
|
|
1273
1922
|
### HTTP response details
|
|
@@ -1312,7 +1961,7 @@ content_summary_response_from_dict = ContentSummaryResponse.from_dict(content_su
|
|
|
1312
1961
|
|
|
1313
1962
|
# pulpcore.client.pulp_python.DistributionsPypiApi
|
|
1314
1963
|
|
|
1315
|
-
All URIs are relative to *https://env-ephemeral-
|
|
1964
|
+
All URIs are relative to *https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
1316
1965
|
|
|
1317
1966
|
Method | HTTP request | Description
|
|
1318
1967
|
------------- | ------------- | -------------
|
|
@@ -1350,10 +1999,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
1350
1999
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1351
2000
|
from pprint import pprint
|
|
1352
2001
|
|
|
1353
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2002
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1354
2003
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1355
2004
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1356
|
-
host = "https://env-ephemeral-
|
|
2005
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1357
2006
|
)
|
|
1358
2007
|
|
|
1359
2008
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1444,10 +2093,10 @@ from pulpcore.client.pulp_python.models.python_python_distribution import Python
|
|
|
1444
2093
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1445
2094
|
from pprint import pprint
|
|
1446
2095
|
|
|
1447
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2096
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1448
2097
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1449
2098
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1450
|
-
host = "https://env-ephemeral-
|
|
2099
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1451
2100
|
)
|
|
1452
2101
|
|
|
1453
2102
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1537,10 +2186,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
1537
2186
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1538
2187
|
from pprint import pprint
|
|
1539
2188
|
|
|
1540
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2189
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1541
2190
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1542
2191
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1543
|
-
host = "https://env-ephemeral-
|
|
2192
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1544
2193
|
)
|
|
1545
2194
|
|
|
1546
2195
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1628,10 +2277,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_distribution_resp
|
|
|
1628
2277
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1629
2278
|
from pprint import pprint
|
|
1630
2279
|
|
|
1631
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2280
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1632
2281
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1633
2282
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1634
|
-
host = "https://env-ephemeral-
|
|
2283
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1635
2284
|
)
|
|
1636
2285
|
|
|
1637
2286
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1773,10 +2422,10 @@ from pulpcore.client.pulp_python.models.object_roles_response import ObjectRoles
|
|
|
1773
2422
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1774
2423
|
from pprint import pprint
|
|
1775
2424
|
|
|
1776
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2425
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1777
2426
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1778
2427
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1779
|
-
host = "https://env-ephemeral-
|
|
2428
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1780
2429
|
)
|
|
1781
2430
|
|
|
1782
2431
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1868,10 +2517,10 @@ from pulpcore.client.pulp_python.models.my_permissions_response import MyPermiss
|
|
|
1868
2517
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1869
2518
|
from pprint import pprint
|
|
1870
2519
|
|
|
1871
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2520
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1872
2521
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1873
2522
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1874
|
-
host = "https://env-ephemeral-
|
|
2523
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1875
2524
|
)
|
|
1876
2525
|
|
|
1877
2526
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1964,10 +2613,10 @@ from pulpcore.client.pulp_python.models.python_python_distribution_response impo
|
|
|
1964
2613
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1965
2614
|
from pprint import pprint
|
|
1966
2615
|
|
|
1967
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2616
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1968
2617
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1969
2618
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1970
|
-
host = "https://env-ephemeral-
|
|
2619
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1971
2620
|
)
|
|
1972
2621
|
|
|
1973
2622
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2058,10 +2707,10 @@ from pulpcore.client.pulp_python.models.python_python_distribution_response impo
|
|
|
2058
2707
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2059
2708
|
from pprint import pprint
|
|
2060
2709
|
|
|
2061
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2710
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2062
2711
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2063
2712
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2064
|
-
host = "https://env-ephemeral-
|
|
2713
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2065
2714
|
)
|
|
2066
2715
|
|
|
2067
2716
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2154,10 +2803,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
2154
2803
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2155
2804
|
from pprint import pprint
|
|
2156
2805
|
|
|
2157
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2806
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2158
2807
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2159
2808
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2160
|
-
host = "https://env-ephemeral-
|
|
2809
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2161
2810
|
)
|
|
2162
2811
|
|
|
2163
2812
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2248,10 +2897,10 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
2248
2897
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2249
2898
|
from pprint import pprint
|
|
2250
2899
|
|
|
2251
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2900
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2252
2901
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2253
2902
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2254
|
-
host = "https://env-ephemeral-
|
|
2903
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2255
2904
|
)
|
|
2256
2905
|
|
|
2257
2906
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2342,10 +2991,10 @@ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelRe
|
|
|
2342
2991
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2343
2992
|
from pprint import pprint
|
|
2344
2993
|
|
|
2345
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2994
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2346
2995
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2347
2996
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2348
|
-
host = "https://env-ephemeral-
|
|
2997
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2349
2998
|
)
|
|
2350
2999
|
|
|
2351
3000
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2436,10 +3085,10 @@ from pulpcore.client.pulp_python.models.python_python_distribution_response impo
|
|
|
2436
3085
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2437
3086
|
from pprint import pprint
|
|
2438
3087
|
|
|
2439
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
3088
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2440
3089
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2441
3090
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2442
|
-
host = "https://env-ephemeral-
|
|
3091
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2443
3092
|
)
|
|
2444
3093
|
|
|
2445
3094
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2528,6 +3177,44 @@ Name | Type | Description | Notes
|
|
|
2528
3177
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
2529
3178
|
|
|
2530
3179
|
|
|
3180
|
+
# FiletypeEnum
|
|
3181
|
+
|
|
3182
|
+
* `bdist_wheel` - bdist_wheel * `sdist` - sdist
|
|
3183
|
+
|
|
3184
|
+
## Enum
|
|
3185
|
+
|
|
3186
|
+
* `BDIST_WHEEL` (value: `'bdist_wheel'`)
|
|
3187
|
+
|
|
3188
|
+
* `SDIST` (value: `'sdist'`)
|
|
3189
|
+
|
|
3190
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3191
|
+
|
|
3192
|
+
|
|
3193
|
+
# MetadataVersionEnum
|
|
3194
|
+
|
|
3195
|
+
* `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
|
|
3196
|
+
|
|
3197
|
+
## Enum
|
|
3198
|
+
|
|
3199
|
+
* `ENUM_1_DOT_0` (value: `'1.0'`)
|
|
3200
|
+
|
|
3201
|
+
* `ENUM_1_DOT_1` (value: `'1.1'`)
|
|
3202
|
+
|
|
3203
|
+
* `ENUM_1_DOT_2` (value: `'1.2'`)
|
|
3204
|
+
|
|
3205
|
+
* `ENUM_2_DOT_0` (value: `'2.0'`)
|
|
3206
|
+
|
|
3207
|
+
* `ENUM_2_DOT_1` (value: `'2.1'`)
|
|
3208
|
+
|
|
3209
|
+
* `ENUM_2_DOT_2` (value: `'2.2'`)
|
|
3210
|
+
|
|
3211
|
+
* `ENUM_2_DOT_3` (value: `'2.3'`)
|
|
3212
|
+
|
|
3213
|
+
* `ENUM_2_DOT_4` (value: `'2.4'`)
|
|
3214
|
+
|
|
3215
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3216
|
+
|
|
3217
|
+
|
|
2531
3218
|
# MyPermissionsResponse
|
|
2532
3219
|
|
|
2533
3220
|
|
|
@@ -2740,6 +3427,38 @@ package_upload_task_response_from_dict = PackageUploadTaskResponse.from_dict(pac
|
|
|
2740
3427
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
2741
3428
|
|
|
2742
3429
|
|
|
3430
|
+
# PaginatedpythonPackageProvenanceResponseList
|
|
3431
|
+
|
|
3432
|
+
|
|
3433
|
+
## Properties
|
|
3434
|
+
|
|
3435
|
+
Name | Type | Description | Notes
|
|
3436
|
+
------------ | ------------- | ------------- | -------------
|
|
3437
|
+
**count** | **int** | |
|
|
3438
|
+
**next** | **str** | | [optional]
|
|
3439
|
+
**previous** | **str** | | [optional]
|
|
3440
|
+
**results** | [**List[PythonPackageProvenanceResponse]**](PythonPackageProvenanceResponse.md) | |
|
|
3441
|
+
|
|
3442
|
+
## Example
|
|
3443
|
+
|
|
3444
|
+
```python
|
|
3445
|
+
from pulpcore.client.pulp_python.models.paginatedpython_package_provenance_response_list import PaginatedpythonPackageProvenanceResponseList
|
|
3446
|
+
|
|
3447
|
+
# TODO update the JSON string below
|
|
3448
|
+
json = "{}"
|
|
3449
|
+
# create an instance of PaginatedpythonPackageProvenanceResponseList from a JSON string
|
|
3450
|
+
paginatedpython_package_provenance_response_list_instance = PaginatedpythonPackageProvenanceResponseList.from_json(json)
|
|
3451
|
+
# print the JSON string representation of the object
|
|
3452
|
+
print(PaginatedpythonPackageProvenanceResponseList.to_json())
|
|
3453
|
+
|
|
3454
|
+
# convert the object into a dict
|
|
3455
|
+
paginatedpython_package_provenance_response_list_dict = paginatedpython_package_provenance_response_list_instance.to_dict()
|
|
3456
|
+
# create an instance of PaginatedpythonPackageProvenanceResponseList from a dict
|
|
3457
|
+
paginatedpython_package_provenance_response_list_from_dict = PaginatedpythonPackageProvenanceResponseList.from_dict(paginatedpython_package_provenance_response_list_dict)
|
|
3458
|
+
```
|
|
3459
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3460
|
+
|
|
3461
|
+
|
|
2743
3462
|
# PaginatedpythonPythonDistributionResponseList
|
|
2744
3463
|
|
|
2745
3464
|
|
|
@@ -3006,6 +3725,7 @@ Name | Type | Description | Notes
|
|
|
3006
3725
|
**package_types** | [**List[PackageTypesEnum]**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
|
3007
3726
|
**keep_latest_packages** | **int** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
|
|
3008
3727
|
**exclude_platforms** | [**List[ExcludePlatformsEnum]**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional]
|
|
3728
|
+
**provenance** | **bool** | Whether to sync available provenances for Python packages. | [optional] [default to False]
|
|
3009
3729
|
|
|
3010
3730
|
## Example
|
|
3011
3731
|
|
|
@@ -3077,9 +3797,20 @@ patchedpython_python_repository_from_dict = PatchedpythonPythonRepository.from_d
|
|
|
3077
3797
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3078
3798
|
|
|
3079
3799
|
|
|
3800
|
+
# ProtocolVersionEnum
|
|
3801
|
+
|
|
3802
|
+
* `1` - 1
|
|
3803
|
+
|
|
3804
|
+
## Enum
|
|
3805
|
+
|
|
3806
|
+
* `NUMBER_1` (value: `1`)
|
|
3807
|
+
|
|
3808
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3809
|
+
|
|
3810
|
+
|
|
3080
3811
|
# pulpcore.client.pulp_python.PublicationsPypiApi
|
|
3081
3812
|
|
|
3082
|
-
All URIs are relative to *https://env-ephemeral-
|
|
3813
|
+
All URIs are relative to *https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
3083
3814
|
|
|
3084
3815
|
Method | HTTP request | Description
|
|
3085
3816
|
------------- | ------------- | -------------
|
|
@@ -3113,10 +3844,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
3113
3844
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3114
3845
|
from pprint import pprint
|
|
3115
3846
|
|
|
3116
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
3847
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3117
3848
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3118
3849
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3119
|
-
host = "https://env-ephemeral-
|
|
3850
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3120
3851
|
)
|
|
3121
3852
|
|
|
3122
3853
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3207,10 +3938,10 @@ from pulpcore.client.pulp_python.models.python_python_publication import PythonP
|
|
|
3207
3938
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3208
3939
|
from pprint import pprint
|
|
3209
3940
|
|
|
3210
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
3941
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3211
3942
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3212
3943
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3213
|
-
host = "https://env-ephemeral-
|
|
3944
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3214
3945
|
)
|
|
3215
3946
|
|
|
3216
3947
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3299,10 +4030,10 @@ import pulpcore.client.pulp_python
|
|
|
3299
4030
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3300
4031
|
from pprint import pprint
|
|
3301
4032
|
|
|
3302
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4033
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3303
4034
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3304
4035
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3305
|
-
host = "https://env-ephemeral-
|
|
4036
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3306
4037
|
)
|
|
3307
4038
|
|
|
3308
4039
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3388,10 +4119,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_publication_respo
|
|
|
3388
4119
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3389
4120
|
from pprint import pprint
|
|
3390
4121
|
|
|
3391
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4122
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3392
4123
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3393
4124
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3394
|
-
host = "https://env-ephemeral-
|
|
4125
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3395
4126
|
)
|
|
3396
4127
|
|
|
3397
4128
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3521,10 +4252,10 @@ from pulpcore.client.pulp_python.models.object_roles_response import ObjectRoles
|
|
|
3521
4252
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3522
4253
|
from pprint import pprint
|
|
3523
4254
|
|
|
3524
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4255
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3525
4256
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3526
4257
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3527
|
-
host = "https://env-ephemeral-
|
|
4258
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3528
4259
|
)
|
|
3529
4260
|
|
|
3530
4261
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3616,10 +4347,10 @@ from pulpcore.client.pulp_python.models.my_permissions_response import MyPermiss
|
|
|
3616
4347
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3617
4348
|
from pprint import pprint
|
|
3618
4349
|
|
|
3619
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4350
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3620
4351
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3621
4352
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3622
|
-
host = "https://env-ephemeral-
|
|
4353
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3623
4354
|
)
|
|
3624
4355
|
|
|
3625
4356
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3711,10 +4442,10 @@ from pulpcore.client.pulp_python.models.python_python_publication_response impor
|
|
|
3711
4442
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3712
4443
|
from pprint import pprint
|
|
3713
4444
|
|
|
3714
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4445
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3715
4446
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3716
4447
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3717
|
-
host = "https://env-ephemeral-
|
|
4448
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3718
4449
|
)
|
|
3719
4450
|
|
|
3720
4451
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3807,10 +4538,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
3807
4538
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3808
4539
|
from pprint import pprint
|
|
3809
4540
|
|
|
3810
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4541
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3811
4542
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3812
4543
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3813
|
-
host = "https://env-ephemeral-
|
|
4544
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3814
4545
|
)
|
|
3815
4546
|
|
|
3816
4547
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3883,7 +4614,7 @@ Name | Type | Description | Notes
|
|
|
3883
4614
|
|
|
3884
4615
|
# pulpcore.client.pulp_python.PypiMetadataApi
|
|
3885
4616
|
|
|
3886
|
-
All URIs are relative to *https://env-ephemeral-
|
|
4617
|
+
All URIs are relative to *https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
3887
4618
|
|
|
3888
4619
|
Method | HTTP request | Description
|
|
3889
4620
|
------------- | ------------- | -------------
|
|
@@ -3909,10 +4640,10 @@ from pulpcore.client.pulp_python.models.package_metadata_response import Package
|
|
|
3909
4640
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3910
4641
|
from pprint import pprint
|
|
3911
4642
|
|
|
3912
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4643
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3913
4644
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3914
4645
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3915
|
-
host = "https://env-ephemeral-
|
|
4646
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3916
4647
|
)
|
|
3917
4648
|
|
|
3918
4649
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3989,6 +4720,44 @@ Name | Type | Description | Notes
|
|
|
3989
4720
|
|
|
3990
4721
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
3991
4722
|
|
|
4723
|
+
# PythonPackageProvenanceResponse
|
|
4724
|
+
|
|
4725
|
+
A Serializer for PackageProvenance.
|
|
4726
|
+
|
|
4727
|
+
## Properties
|
|
4728
|
+
|
|
4729
|
+
Name | Type | Description | Notes
|
|
4730
|
+
------------ | ------------- | ------------- | -------------
|
|
4731
|
+
**pulp_href** | **str** | | [optional] [readonly]
|
|
4732
|
+
**prn** | **str** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
4733
|
+
**pulp_created** | **datetime** | Timestamp of creation. | [optional] [readonly]
|
|
4734
|
+
**pulp_last_updated** | **datetime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
|
4735
|
+
**pulp_labels** | **Dict[str, Optional[str]]** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional]
|
|
4736
|
+
**vuln_report** | **str** | | [optional] [readonly]
|
|
4737
|
+
**package** | **str** | The package that the provenance is for. |
|
|
4738
|
+
**provenance** | **object** | | [optional] [readonly]
|
|
4739
|
+
**sha256** | **str** | | [optional] [readonly]
|
|
4740
|
+
|
|
4741
|
+
## Example
|
|
4742
|
+
|
|
4743
|
+
```python
|
|
4744
|
+
from pulpcore.client.pulp_python.models.python_package_provenance_response import PythonPackageProvenanceResponse
|
|
4745
|
+
|
|
4746
|
+
# TODO update the JSON string below
|
|
4747
|
+
json = "{}"
|
|
4748
|
+
# create an instance of PythonPackageProvenanceResponse from a JSON string
|
|
4749
|
+
python_package_provenance_response_instance = PythonPackageProvenanceResponse.from_json(json)
|
|
4750
|
+
# print the JSON string representation of the object
|
|
4751
|
+
print(PythonPackageProvenanceResponse.to_json())
|
|
4752
|
+
|
|
4753
|
+
# convert the object into a dict
|
|
4754
|
+
python_package_provenance_response_dict = python_package_provenance_response_instance.to_dict()
|
|
4755
|
+
# create an instance of PythonPackageProvenanceResponse from a dict
|
|
4756
|
+
python_package_provenance_response_from_dict = PythonPackageProvenanceResponse.from_dict(python_package_provenance_response_dict)
|
|
4757
|
+
```
|
|
4758
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
4759
|
+
|
|
4760
|
+
|
|
3992
4761
|
# PythonPythonDistribution
|
|
3993
4762
|
|
|
3994
4763
|
Serializer for Pulp distributions for the Python type.
|
|
@@ -4119,8 +4888,10 @@ Name | Type | Description | Notes
|
|
|
4119
4888
|
**filename** | **str** | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} | [optional] [readonly]
|
|
4120
4889
|
**packagetype** | **str** | The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) | [optional] [readonly]
|
|
4121
4890
|
**python_version** | **str** | The tag that indicates which Python implementation or version the package requires. | [optional] [readonly]
|
|
4891
|
+
**size** | **int** | The size of the package in bytes. | [optional] [readonly]
|
|
4122
4892
|
**sha256** | **str** | The SHA256 digest of this package. | [optional] [default to '']
|
|
4123
4893
|
**metadata_sha256** | **str** | The SHA256 digest of the package's METADATA file. | [optional]
|
|
4894
|
+
**provenance** | **str** | The created provenance object on upload. | [optional] [readonly]
|
|
4124
4895
|
|
|
4125
4896
|
## Example
|
|
4126
4897
|
|
|
@@ -4244,6 +5015,7 @@ Name | Type | Description | Notes
|
|
|
4244
5015
|
**package_types** | [**List[PackageTypesEnum]**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
|
4245
5016
|
**keep_latest_packages** | **int** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
|
|
4246
5017
|
**exclude_platforms** | [**List[ExcludePlatformsEnum]**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional]
|
|
5018
|
+
**provenance** | **bool** | Whether to sync available provenances for Python packages. | [optional] [default to False]
|
|
4247
5019
|
|
|
4248
5020
|
## Example
|
|
4249
5021
|
|
|
@@ -4330,6 +5102,7 @@ Name | Type | Description | Notes
|
|
|
4330
5102
|
**package_types** | [**List[PackageTypesEnum]**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
|
4331
5103
|
**keep_latest_packages** | **int** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
|
|
4332
5104
|
**exclude_platforms** | [**List[ExcludePlatformsEnum]**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional]
|
|
5105
|
+
**provenance** | **bool** | Whether to sync available provenances for Python packages. | [optional] [default to False]
|
|
4333
5106
|
|
|
4334
5107
|
## Example
|
|
4335
5108
|
|
|
@@ -4429,7 +5202,7 @@ python_python_repository_response_from_dict = PythonPythonRepositoryResponse.fro
|
|
|
4429
5202
|
|
|
4430
5203
|
# pulpcore.client.pulp_python.RemotesPythonApi
|
|
4431
5204
|
|
|
4432
|
-
All URIs are relative to *https://env-ephemeral-
|
|
5205
|
+
All URIs are relative to *https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
4433
5206
|
|
|
4434
5207
|
Method | HTTP request | Description
|
|
4435
5208
|
------------- | ------------- | -------------
|
|
@@ -4468,10 +5241,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
4468
5241
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4469
5242
|
from pprint import pprint
|
|
4470
5243
|
|
|
4471
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5244
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4472
5245
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4473
5246
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4474
|
-
host = "https://env-ephemeral-
|
|
5247
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4475
5248
|
)
|
|
4476
5249
|
|
|
4477
5250
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4562,10 +5335,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
4562
5335
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4563
5336
|
from pprint import pprint
|
|
4564
5337
|
|
|
4565
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5338
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4566
5339
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4567
5340
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4568
|
-
host = "https://env-ephemeral-
|
|
5341
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4569
5342
|
)
|
|
4570
5343
|
|
|
4571
5344
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4655,10 +5428,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
4655
5428
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4656
5429
|
from pprint import pprint
|
|
4657
5430
|
|
|
4658
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5431
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4659
5432
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4660
5433
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4661
|
-
host = "https://env-ephemeral-
|
|
5434
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4662
5435
|
)
|
|
4663
5436
|
|
|
4664
5437
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4746,10 +5519,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
4746
5519
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4747
5520
|
from pprint import pprint
|
|
4748
5521
|
|
|
4749
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5522
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4750
5523
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4751
5524
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4752
|
-
host = "https://env-ephemeral-
|
|
5525
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4753
5526
|
)
|
|
4754
5527
|
|
|
4755
5528
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4843,10 +5616,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_remote_response_l
|
|
|
4843
5616
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4844
5617
|
from pprint import pprint
|
|
4845
5618
|
|
|
4846
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5619
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4847
5620
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4848
5621
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4849
|
-
host = "https://env-ephemeral-
|
|
5622
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4850
5623
|
)
|
|
4851
5624
|
|
|
4852
5625
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4986,10 +5759,10 @@ from pulpcore.client.pulp_python.models.object_roles_response import ObjectRoles
|
|
|
4986
5759
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4987
5760
|
from pprint import pprint
|
|
4988
5761
|
|
|
4989
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5762
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4990
5763
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4991
5764
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4992
|
-
host = "https://env-ephemeral-
|
|
5765
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4993
5766
|
)
|
|
4994
5767
|
|
|
4995
5768
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5081,10 +5854,10 @@ from pulpcore.client.pulp_python.models.my_permissions_response import MyPermiss
|
|
|
5081
5854
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5082
5855
|
from pprint import pprint
|
|
5083
5856
|
|
|
5084
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5857
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5085
5858
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5086
5859
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5087
|
-
host = "https://env-ephemeral-
|
|
5860
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5088
5861
|
)
|
|
5089
5862
|
|
|
5090
5863
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5177,10 +5950,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
5177
5950
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5178
5951
|
from pprint import pprint
|
|
5179
5952
|
|
|
5180
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5953
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5181
5954
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5182
5955
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5183
|
-
host = "https://env-ephemeral-
|
|
5956
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5184
5957
|
)
|
|
5185
5958
|
|
|
5186
5959
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5271,10 +6044,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
5271
6044
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5272
6045
|
from pprint import pprint
|
|
5273
6046
|
|
|
5274
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6047
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5275
6048
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5276
6049
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5277
|
-
host = "https://env-ephemeral-
|
|
6050
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5278
6051
|
)
|
|
5279
6052
|
|
|
5280
6053
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5367,10 +6140,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
5367
6140
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5368
6141
|
from pprint import pprint
|
|
5369
6142
|
|
|
5370
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6143
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5371
6144
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5372
6145
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5373
|
-
host = "https://env-ephemeral-
|
|
6146
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5374
6147
|
)
|
|
5375
6148
|
|
|
5376
6149
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5461,10 +6234,10 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
5461
6234
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5462
6235
|
from pprint import pprint
|
|
5463
6236
|
|
|
5464
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6237
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5465
6238
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5466
6239
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5467
|
-
host = "https://env-ephemeral-
|
|
6240
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5468
6241
|
)
|
|
5469
6242
|
|
|
5470
6243
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5555,10 +6328,10 @@ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelRe
|
|
|
5555
6328
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5556
6329
|
from pprint import pprint
|
|
5557
6330
|
|
|
5558
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6331
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5559
6332
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5560
6333
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5561
|
-
host = "https://env-ephemeral-
|
|
6334
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5562
6335
|
)
|
|
5563
6336
|
|
|
5564
6337
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5649,10 +6422,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
5649
6422
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5650
6423
|
from pprint import pprint
|
|
5651
6424
|
|
|
5652
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6425
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5653
6426
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5654
6427
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5655
|
-
host = "https://env-ephemeral-
|
|
6428
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5656
6429
|
)
|
|
5657
6430
|
|
|
5658
6431
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5755,7 +6528,7 @@ repair_from_dict = Repair.from_dict(repair_dict)
|
|
|
5755
6528
|
|
|
5756
6529
|
# pulpcore.client.pulp_python.RepositoriesPythonApi
|
|
5757
6530
|
|
|
5758
|
-
All URIs are relative to *https://env-ephemeral-
|
|
6531
|
+
All URIs are relative to *https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
5759
6532
|
|
|
5760
6533
|
Method | HTTP request | Description
|
|
5761
6534
|
------------- | ------------- | -------------
|
|
@@ -5796,10 +6569,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
5796
6569
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5797
6570
|
from pprint import pprint
|
|
5798
6571
|
|
|
5799
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6572
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5800
6573
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5801
6574
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5802
|
-
host = "https://env-ephemeral-
|
|
6575
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5803
6576
|
)
|
|
5804
6577
|
|
|
5805
6578
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5890,10 +6663,10 @@ from pulpcore.client.pulp_python.models.python_python_repository_response import
|
|
|
5890
6663
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5891
6664
|
from pprint import pprint
|
|
5892
6665
|
|
|
5893
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6666
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5894
6667
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5895
6668
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5896
|
-
host = "https://env-ephemeral-
|
|
6669
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5897
6670
|
)
|
|
5898
6671
|
|
|
5899
6672
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5983,10 +6756,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
5983
6756
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5984
6757
|
from pprint import pprint
|
|
5985
6758
|
|
|
5986
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6759
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5987
6760
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5988
6761
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5989
|
-
host = "https://env-ephemeral-
|
|
6762
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5990
6763
|
)
|
|
5991
6764
|
|
|
5992
6765
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6074,10 +6847,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_repository_respon
|
|
|
6074
6847
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6075
6848
|
from pprint import pprint
|
|
6076
6849
|
|
|
6077
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6850
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6078
6851
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6079
6852
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6080
|
-
host = "https://env-ephemeral-
|
|
6853
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6081
6854
|
)
|
|
6082
6855
|
|
|
6083
6856
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6225,10 +6998,10 @@ from pulpcore.client.pulp_python.models.object_roles_response import ObjectRoles
|
|
|
6225
6998
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6226
6999
|
from pprint import pprint
|
|
6227
7000
|
|
|
6228
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7001
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6229
7002
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6230
7003
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6231
|
-
host = "https://env-ephemeral-
|
|
7004
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6232
7005
|
)
|
|
6233
7006
|
|
|
6234
7007
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6321,10 +7094,10 @@ from pulpcore.client.pulp_python.models.repository_add_remove_content import Rep
|
|
|
6321
7094
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6322
7095
|
from pprint import pprint
|
|
6323
7096
|
|
|
6324
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7097
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6325
7098
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6326
7099
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6327
|
-
host = "https://env-ephemeral-
|
|
7100
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6328
7101
|
)
|
|
6329
7102
|
|
|
6330
7103
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6414,10 +7187,10 @@ from pulpcore.client.pulp_python.models.my_permissions_response import MyPermiss
|
|
|
6414
7187
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6415
7188
|
from pprint import pprint
|
|
6416
7189
|
|
|
6417
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7190
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6418
7191
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6419
7192
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6420
|
-
host = "https://env-ephemeral-
|
|
7193
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6421
7194
|
)
|
|
6422
7195
|
|
|
6423
7196
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6510,10 +7283,10 @@ from pulpcore.client.pulp_python.models.python_python_repository_response import
|
|
|
6510
7283
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6511
7284
|
from pprint import pprint
|
|
6512
7285
|
|
|
6513
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7286
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6514
7287
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6515
7288
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6516
|
-
host = "https://env-ephemeral-
|
|
7289
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6517
7290
|
)
|
|
6518
7291
|
|
|
6519
7292
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6604,10 +7377,10 @@ from pulpcore.client.pulp_python.models.python_python_repository_response import
|
|
|
6604
7377
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6605
7378
|
from pprint import pprint
|
|
6606
7379
|
|
|
6607
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7380
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6608
7381
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6609
7382
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6610
|
-
host = "https://env-ephemeral-
|
|
7383
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6611
7384
|
)
|
|
6612
7385
|
|
|
6613
7386
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6700,10 +7473,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
6700
7473
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6701
7474
|
from pprint import pprint
|
|
6702
7475
|
|
|
6703
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7476
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6704
7477
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6705
7478
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6706
|
-
host = "https://env-ephemeral-
|
|
7479
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6707
7480
|
)
|
|
6708
7481
|
|
|
6709
7482
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6793,10 +7566,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
6793
7566
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6794
7567
|
from pprint import pprint
|
|
6795
7568
|
|
|
6796
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7569
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6797
7570
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6798
7571
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6799
|
-
host = "https://env-ephemeral-
|
|
7572
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6800
7573
|
)
|
|
6801
7574
|
|
|
6802
7575
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6885,10 +7658,10 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
6885
7658
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6886
7659
|
from pprint import pprint
|
|
6887
7660
|
|
|
6888
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7661
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6889
7662
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6890
7663
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6891
|
-
host = "https://env-ephemeral-
|
|
7664
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6892
7665
|
)
|
|
6893
7666
|
|
|
6894
7667
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6979,10 +7752,10 @@ from pulpcore.client.pulp_python.models.repository_sync_url import RepositorySyn
|
|
|
6979
7752
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6980
7753
|
from pprint import pprint
|
|
6981
7754
|
|
|
6982
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7755
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6983
7756
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6984
7757
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6985
|
-
host = "https://env-ephemeral-
|
|
7758
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6986
7759
|
)
|
|
6987
7760
|
|
|
6988
7761
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7073,10 +7846,10 @@ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelRe
|
|
|
7073
7846
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7074
7847
|
from pprint import pprint
|
|
7075
7848
|
|
|
7076
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7849
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7077
7850
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7078
7851
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7079
|
-
host = "https://env-ephemeral-
|
|
7852
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7080
7853
|
)
|
|
7081
7854
|
|
|
7082
7855
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7167,10 +7940,10 @@ from pulpcore.client.pulp_python.models.python_python_repository_response import
|
|
|
7167
7940
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7168
7941
|
from pprint import pprint
|
|
7169
7942
|
|
|
7170
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7943
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7171
7944
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7172
7945
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7173
|
-
host = "https://env-ephemeral-
|
|
7946
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7174
7947
|
)
|
|
7175
7948
|
|
|
7176
7949
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7244,7 +8017,7 @@ Name | Type | Description | Notes
|
|
|
7244
8017
|
|
|
7245
8018
|
# pulpcore.client.pulp_python.RepositoriesPythonVersionsApi
|
|
7246
8019
|
|
|
7247
|
-
All URIs are relative to *https://env-ephemeral-
|
|
8020
|
+
All URIs are relative to *https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
7248
8021
|
|
|
7249
8022
|
Method | HTTP request | Description
|
|
7250
8023
|
------------- | ------------- | -------------
|
|
@@ -7252,6 +8025,7 @@ Method | HTTP request | Description
|
|
|
7252
8025
|
[**list**](RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions
|
|
7253
8026
|
[**read**](RepositoriesPythonVersionsApi.md#read) | **GET** {python_python_repository_version_href} | Inspect a repository version
|
|
7254
8027
|
[**repair**](RepositoriesPythonVersionsApi.md#repair) | **POST** {python_python_repository_version_href}repair/ |
|
|
8028
|
+
[**scan**](RepositoriesPythonVersionsApi.md#scan) | **POST** {python_python_repository_version_href}scan/ | Generate vulnerability report
|
|
7255
8029
|
|
|
7256
8030
|
|
|
7257
8031
|
# **delete**
|
|
@@ -7273,10 +8047,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
7273
8047
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7274
8048
|
from pprint import pprint
|
|
7275
8049
|
|
|
7276
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8050
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7277
8051
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7278
8052
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7279
|
-
host = "https://env-ephemeral-
|
|
8053
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7280
8054
|
)
|
|
7281
8055
|
|
|
7282
8056
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7364,10 +8138,10 @@ from pulpcore.client.pulp_python.models.paginated_repository_version_response_li
|
|
|
7364
8138
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7365
8139
|
from pprint import pprint
|
|
7366
8140
|
|
|
7367
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8141
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7368
8142
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7369
8143
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7370
|
-
host = "https://env-ephemeral-
|
|
8144
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7371
8145
|
)
|
|
7372
8146
|
|
|
7373
8147
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7501,10 +8275,10 @@ from pulpcore.client.pulp_python.models.repository_version_response import Repos
|
|
|
7501
8275
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7502
8276
|
from pprint import pprint
|
|
7503
8277
|
|
|
7504
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8278
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7505
8279
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7506
8280
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7507
|
-
host = "https://env-ephemeral-
|
|
8281
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7508
8282
|
)
|
|
7509
8283
|
|
|
7510
8284
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7597,10 +8371,10 @@ from pulpcore.client.pulp_python.models.repair import Repair
|
|
|
7597
8371
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7598
8372
|
from pprint import pprint
|
|
7599
8373
|
|
|
7600
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8374
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7601
8375
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7602
8376
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7603
|
-
host = "https://env-ephemeral-
|
|
8377
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7604
8378
|
)
|
|
7605
8379
|
|
|
7606
8380
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7670,6 +8444,97 @@ Name | Type | Description | Notes
|
|
|
7670
8444
|
|
|
7671
8445
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
7672
8446
|
|
|
8447
|
+
# **scan**
|
|
8448
|
+
> AsyncOperationResponse scan(python_python_repository_version_href, x_task_diagnostics=x_task_diagnostics)
|
|
8449
|
+
|
|
8450
|
+
Generate vulnerability report
|
|
8451
|
+
|
|
8452
|
+
Scan a repository version for vulnerabilities.
|
|
8453
|
+
|
|
8454
|
+
### Example
|
|
8455
|
+
|
|
8456
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
8457
|
+
* Basic Authentication (basicAuth):
|
|
8458
|
+
* Api Key Authentication (cookieAuth):
|
|
8459
|
+
|
|
8460
|
+
```python
|
|
8461
|
+
import pulpcore.client.pulp_python
|
|
8462
|
+
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
8463
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
8464
|
+
from pprint import pprint
|
|
8465
|
+
|
|
8466
|
+
# Defining the host is optional and defaults to https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
8467
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
8468
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
8469
|
+
host = "https://env-ephemeral-43b86r.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
8470
|
+
)
|
|
8471
|
+
|
|
8472
|
+
# The client must configure the authentication and authorization parameters
|
|
8473
|
+
# in accordance with the API server security policy.
|
|
8474
|
+
# Examples for each auth method are provided below, use the example that
|
|
8475
|
+
# satisfies your auth use case.
|
|
8476
|
+
|
|
8477
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
8478
|
+
|
|
8479
|
+
# Configure HTTP basic authorization: basicAuth
|
|
8480
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
8481
|
+
username = os.environ["USERNAME"],
|
|
8482
|
+
password = os.environ["PASSWORD"]
|
|
8483
|
+
)
|
|
8484
|
+
|
|
8485
|
+
# Configure API key authorization: cookieAuth
|
|
8486
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
8487
|
+
|
|
8488
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
8489
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
8490
|
+
|
|
8491
|
+
# Enter a context with an instance of the API client
|
|
8492
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
8493
|
+
# Create an instance of the API class
|
|
8494
|
+
api_instance = pulpcore.client.pulp_python.RepositoriesPythonVersionsApi(api_client)
|
|
8495
|
+
python_python_repository_version_href = 'python_python_repository_version_href_example' # str |
|
|
8496
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
8497
|
+
|
|
8498
|
+
try:
|
|
8499
|
+
# Generate vulnerability report
|
|
8500
|
+
api_response = api_instance.scan(python_python_repository_version_href, x_task_diagnostics=x_task_diagnostics)
|
|
8501
|
+
print("The response of RepositoriesPythonVersionsApi->scan:\n")
|
|
8502
|
+
pprint(api_response)
|
|
8503
|
+
except Exception as e:
|
|
8504
|
+
print("Exception when calling RepositoriesPythonVersionsApi->scan: %s\n" % e)
|
|
8505
|
+
```
|
|
8506
|
+
|
|
8507
|
+
|
|
8508
|
+
|
|
8509
|
+
### Parameters
|
|
8510
|
+
|
|
8511
|
+
|
|
8512
|
+
Name | Type | Description | Notes
|
|
8513
|
+
------------- | ------------- | ------------- | -------------
|
|
8514
|
+
**python_python_repository_version_href** | **str**| |
|
|
8515
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
8516
|
+
|
|
8517
|
+
### Return type
|
|
8518
|
+
|
|
8519
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
8520
|
+
|
|
8521
|
+
### Authorization
|
|
8522
|
+
|
|
8523
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
8524
|
+
|
|
8525
|
+
### HTTP request headers
|
|
8526
|
+
|
|
8527
|
+
- **Content-Type**: Not defined
|
|
8528
|
+
- **Accept**: application/json
|
|
8529
|
+
|
|
8530
|
+
### HTTP response details
|
|
8531
|
+
|
|
8532
|
+
| Status code | Description | Response headers |
|
|
8533
|
+
|-------------|-------------|------------------|
|
|
8534
|
+
**202** | | - |
|
|
8535
|
+
|
|
8536
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
8537
|
+
|
|
7673
8538
|
# RepositoryAddRemoveContent
|
|
7674
8539
|
|
|
7675
8540
|
Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|