crc-pulp-python-client 20250821.3__tar.gz → 20250821.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of crc-pulp-python-client might be problematic. Click here for more details.
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/PKG-INFO +1 -1
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/README.md +13 -13
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/api/content_packages_api.py +54 -54
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/api_client.py +1 -1
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/configuration.py +3 -3
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/package_metadata_response.py +2 -2
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/paginated_repository_version_response_list.py +0 -10
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/paginatedpython_python_distribution_response_list.py +0 -10
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/paginatedpython_python_package_content_response_list.py +0 -10
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/paginatedpython_python_publication_response_list.py +0 -10
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/paginatedpython_python_remote_response_list.py +0 -10
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/paginatedpython_python_repository_response_list.py +0 -10
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/patchedpython_python_remote.py +1 -1
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/patchedpython_python_repository.py +2 -2
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/python_python_package_content_response.py +14 -10
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/python_python_publication_response.py +0 -2
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/python_python_remote.py +1 -1
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/python_python_remote_response.py +1 -3
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/python_python_repository.py +2 -2
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/python_python_repository_response.py +2 -3
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/repository_version_response.py +6 -2
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc_pulp_python_client.egg-info/PKG-INFO +1 -1
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/pyproject.toml +1 -1
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/setup.py +1 -1
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_paginated_repository_version_response_list.py +4 -2
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_paginatedpython_python_package_content_response_list.py +2 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_paginatedpython_python_remote_response_list.py +2 -2
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_paginatedpython_python_repository_response_list.py +2 -2
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_patchedpython_python_remote.py +1 -1
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_patchedpython_python_repository.py +1 -1
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_python_python_package_content_response.py +1 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_python_python_remote.py +1 -1
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_python_python_remote_response.py +1 -1
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_python_python_repository.py +1 -1
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_python_python_repository_response.py +1 -1
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_repository_version_response.py +2 -1
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/__init__.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/api/__init__.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/api/distributions_pypi_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/api/publications_pypi_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/api/pypi_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/api/pypi_legacy_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/api/pypi_metadata_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/api/pypi_simple_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/api/remotes_python_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/api/repositories_python_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/api/repositories_python_versions_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/api_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/exceptions.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/__init__.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/async_operation_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/content_summary_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/exclude_platforms_enum.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/my_permissions_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/nested_role.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/nested_role_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/object_roles_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/package_types_enum.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/package_upload_task_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/patchedpython_python_distribution.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/policy_enum.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/python_python_distribution.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/python_python_distribution_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/python_python_publication.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/python_python_remote_response_hidden_fields_inner.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/repair.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/repository_add_remove_content.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/repository_sync_url.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/set_label.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/set_label_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/summary_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/unset_label.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/models/unset_label_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/py.typed +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc-pulp_python-client/rest.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc_pulp_python_client.egg-info/SOURCES.txt +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc_pulp_python_client.egg-info/dependency_links.txt +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc_pulp_python_client.egg-info/requires.txt +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/crc_pulp_python_client.egg-info/top_level.txt +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/setup.cfg +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_async_operation_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_content_packages_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_content_summary_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_distributions_pypi_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_exclude_platforms_enum.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_my_permissions_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_nested_role.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_nested_role_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_object_roles_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_package_metadata_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_package_types_enum.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_package_upload_task_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_paginatedpython_python_distribution_response_list.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_paginatedpython_python_publication_response_list.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_patchedpython_python_distribution.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_policy_enum.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_publications_pypi_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_pypi_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_pypi_legacy_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_pypi_metadata_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_pypi_simple_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_python_python_distribution.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_python_python_distribution_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_python_python_publication.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_python_python_publication_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_python_python_remote_response_hidden_fields_inner.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_remotes_python_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_repair.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_repositories_python_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_repositories_python_versions_api.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_repository_add_remove_content.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_repository_sync_url.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_set_label.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_set_label_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_summary_response.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_unset_label.py +0 -0
- {crc_pulp_python_client-20250821.3 → crc_pulp_python_client-20250821.4}/test/test_unset_label_response.py +0 -0
|
@@ -4,7 +4,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
4
4
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
5
|
|
|
6
6
|
- API version: v3
|
|
7
|
-
- Package version: 20250821.
|
|
7
|
+
- Package version: 20250821.4
|
|
8
8
|
- Generator version: 7.10.0
|
|
9
9
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
10
10
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -56,10 +56,10 @@ import crc-pulp_python-client
|
|
|
56
56
|
from crc-pulp_python-client.rest import ApiException
|
|
57
57
|
from pprint import pprint
|
|
58
58
|
|
|
59
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
59
|
+
# Defining the host is optional and defaults to https://env-ephemeral-rxp4hy.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
60
60
|
# See configuration.py for a list of all supported configuration parameters.
|
|
61
61
|
configuration = crc-pulp_python-client.Configuration(
|
|
62
|
-
host = "https://env-ephemeral-
|
|
62
|
+
host = "https://env-ephemeral-rxp4hy.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
63
63
|
)
|
|
64
64
|
|
|
65
65
|
# The client must configure the authentication and authorization parameters
|
|
@@ -103,23 +103,23 @@ with crc-pulp_python-client.ApiClient(configuration) as api_client:
|
|
|
103
103
|
license = 'license_example' # str | Text indicating the license covering the distribution (optional)
|
|
104
104
|
platform = 'platform_example' # str | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional)
|
|
105
105
|
summary = 'summary_example' # str | A one-line summary of what the package does. (optional)
|
|
106
|
-
classifiers = None # object |
|
|
106
|
+
classifiers = None # object | (optional)
|
|
107
107
|
download_url = 'download_url_example' # str | Legacy field denoting the URL from which this package can be downloaded. (optional)
|
|
108
108
|
supported_platform = 'supported_platform_example' # str | Field to specify the OS and CPU for which the binary package was compiled. (optional)
|
|
109
109
|
maintainer = 'maintainer_example' # str | The maintainer's name at a minimum; additional contact information may be provided. (optional)
|
|
110
110
|
maintainer_email = 'maintainer_email_example' # str | The maintainer's e-mail address. (optional)
|
|
111
|
-
obsoletes_dist = None # object |
|
|
111
|
+
obsoletes_dist = None # object | (optional)
|
|
112
112
|
project_url = 'project_url_example' # str | A browsable URL for the project and a label for it, separated by a comma. (optional)
|
|
113
|
-
project_urls = None # object |
|
|
114
|
-
provides_dist = None # object |
|
|
115
|
-
requires_external = None # object |
|
|
116
|
-
requires_dist = None # object |
|
|
113
|
+
project_urls = None # object | (optional)
|
|
114
|
+
provides_dist = None # object | (optional)
|
|
115
|
+
requires_external = None # object | (optional)
|
|
116
|
+
requires_dist = None # object | (optional)
|
|
117
117
|
requires_python = 'requires_python_example' # str | The Python version(s) that the distribution is guaranteed to be compatible with. (optional)
|
|
118
118
|
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)
|
|
119
|
-
provides_extras = None # object |
|
|
120
|
-
dynamic = None # object |
|
|
119
|
+
provides_extras = None # object | (optional)
|
|
120
|
+
dynamic = None # object | (optional)
|
|
121
121
|
license_expression = 'license_expression_example' # str | Text string that is a valid SPDX license expression. (optional)
|
|
122
|
-
license_file = None # object |
|
|
122
|
+
license_file = None # object | (optional)
|
|
123
123
|
sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
|
|
124
124
|
|
|
125
125
|
try:
|
|
@@ -134,7 +134,7 @@ with crc-pulp_python-client.ApiClient(configuration) as api_client:
|
|
|
134
134
|
|
|
135
135
|
## Documentation for API Endpoints
|
|
136
136
|
|
|
137
|
-
All URIs are relative to *https://env-ephemeral-
|
|
137
|
+
All URIs are relative to *https://env-ephemeral-rxp4hy.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
138
138
|
|
|
139
139
|
Class | Method | HTTP request | Description
|
|
140
140
|
------------ | ------------- | ------------- | -------------
|
|
@@ -65,23 +65,23 @@ class ContentPackagesApi:
|
|
|
65
65
|
license: Annotated[Optional[StrictStr], Field(description="Text indicating the license covering the distribution")] = None,
|
|
66
66
|
platform: Annotated[Optional[StrictStr], Field(description="A comma-separated list of platform specifications, summarizing the operating systems supported by the package.")] = None,
|
|
67
67
|
summary: Annotated[Optional[StrictStr], Field(description="A one-line summary of what the package does.")] = None,
|
|
68
|
-
classifiers:
|
|
68
|
+
classifiers: Optional[Any] = None,
|
|
69
69
|
download_url: Annotated[Optional[StrictStr], Field(description="Legacy field denoting the URL from which this package can be downloaded.")] = None,
|
|
70
70
|
supported_platform: Annotated[Optional[StrictStr], Field(description="Field to specify the OS and CPU for which the binary package was compiled. ")] = None,
|
|
71
71
|
maintainer: Annotated[Optional[StrictStr], Field(description="The maintainer's name at a minimum; additional contact information may be provided.")] = None,
|
|
72
72
|
maintainer_email: Annotated[Optional[StrictStr], Field(description="The maintainer's e-mail address.")] = None,
|
|
73
|
-
obsoletes_dist:
|
|
73
|
+
obsoletes_dist: Optional[Any] = None,
|
|
74
74
|
project_url: Annotated[Optional[StrictStr], Field(description="A browsable URL for the project and a label for it, separated by a comma.")] = None,
|
|
75
|
-
project_urls:
|
|
76
|
-
provides_dist:
|
|
77
|
-
requires_external:
|
|
78
|
-
requires_dist:
|
|
75
|
+
project_urls: Optional[Any] = None,
|
|
76
|
+
provides_dist: Optional[Any] = None,
|
|
77
|
+
requires_external: Optional[Any] = None,
|
|
78
|
+
requires_dist: Optional[Any] = None,
|
|
79
79
|
requires_python: Annotated[Optional[StrictStr], Field(description="The Python version(s) that the distribution is guaranteed to be compatible with.")] = None,
|
|
80
80
|
description_content_type: Annotated[Optional[StrictStr], Field(description="A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.")] = None,
|
|
81
|
-
provides_extras:
|
|
82
|
-
dynamic:
|
|
81
|
+
provides_extras: Optional[Any] = None,
|
|
82
|
+
dynamic: Optional[Any] = None,
|
|
83
83
|
license_expression: Annotated[Optional[StrictStr], Field(description="Text string that is a valid SPDX license expression.")] = None,
|
|
84
|
-
license_file:
|
|
84
|
+
license_file: Optional[Any] = None,
|
|
85
85
|
sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA256 digest of this package.")] = None,
|
|
86
86
|
pulp_domain: StrictStr = "default",
|
|
87
87
|
_request_timeout: Union[
|
|
@@ -135,7 +135,7 @@ class ContentPackagesApi:
|
|
|
135
135
|
:type platform: str
|
|
136
136
|
:param summary: A one-line summary of what the package does.
|
|
137
137
|
:type summary: str
|
|
138
|
-
:param classifiers:
|
|
138
|
+
:param classifiers:
|
|
139
139
|
:type classifiers: object
|
|
140
140
|
:param download_url: Legacy field denoting the URL from which this package can be downloaded.
|
|
141
141
|
:type download_url: str
|
|
@@ -145,29 +145,29 @@ class ContentPackagesApi:
|
|
|
145
145
|
:type maintainer: str
|
|
146
146
|
:param maintainer_email: The maintainer's e-mail address.
|
|
147
147
|
:type maintainer_email: str
|
|
148
|
-
:param obsoletes_dist:
|
|
148
|
+
:param obsoletes_dist:
|
|
149
149
|
:type obsoletes_dist: object
|
|
150
150
|
:param project_url: A browsable URL for the project and a label for it, separated by a comma.
|
|
151
151
|
:type project_url: str
|
|
152
|
-
:param project_urls:
|
|
152
|
+
:param project_urls:
|
|
153
153
|
:type project_urls: object
|
|
154
|
-
:param provides_dist:
|
|
154
|
+
:param provides_dist:
|
|
155
155
|
:type provides_dist: object
|
|
156
|
-
:param requires_external:
|
|
156
|
+
:param requires_external:
|
|
157
157
|
:type requires_external: object
|
|
158
|
-
:param requires_dist:
|
|
158
|
+
:param requires_dist:
|
|
159
159
|
:type requires_dist: object
|
|
160
160
|
:param requires_python: The Python version(s) that the distribution is guaranteed to be compatible with.
|
|
161
161
|
:type requires_python: str
|
|
162
162
|
:param description_content_type: A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
|
163
163
|
:type description_content_type: str
|
|
164
|
-
:param provides_extras:
|
|
164
|
+
:param provides_extras:
|
|
165
165
|
:type provides_extras: object
|
|
166
|
-
:param dynamic:
|
|
166
|
+
:param dynamic:
|
|
167
167
|
:type dynamic: object
|
|
168
168
|
:param license_expression: Text string that is a valid SPDX license expression.
|
|
169
169
|
:type license_expression: str
|
|
170
|
-
:param license_file:
|
|
170
|
+
:param license_file:
|
|
171
171
|
:type license_file: object
|
|
172
172
|
:param sha256: The SHA256 digest of this package.
|
|
173
173
|
:type sha256: str
|
|
@@ -268,23 +268,23 @@ class ContentPackagesApi:
|
|
|
268
268
|
license: Annotated[Optional[StrictStr], Field(description="Text indicating the license covering the distribution")] = None,
|
|
269
269
|
platform: Annotated[Optional[StrictStr], Field(description="A comma-separated list of platform specifications, summarizing the operating systems supported by the package.")] = None,
|
|
270
270
|
summary: Annotated[Optional[StrictStr], Field(description="A one-line summary of what the package does.")] = None,
|
|
271
|
-
classifiers:
|
|
271
|
+
classifiers: Optional[Any] = None,
|
|
272
272
|
download_url: Annotated[Optional[StrictStr], Field(description="Legacy field denoting the URL from which this package can be downloaded.")] = None,
|
|
273
273
|
supported_platform: Annotated[Optional[StrictStr], Field(description="Field to specify the OS and CPU for which the binary package was compiled. ")] = None,
|
|
274
274
|
maintainer: Annotated[Optional[StrictStr], Field(description="The maintainer's name at a minimum; additional contact information may be provided.")] = None,
|
|
275
275
|
maintainer_email: Annotated[Optional[StrictStr], Field(description="The maintainer's e-mail address.")] = None,
|
|
276
|
-
obsoletes_dist:
|
|
276
|
+
obsoletes_dist: Optional[Any] = None,
|
|
277
277
|
project_url: Annotated[Optional[StrictStr], Field(description="A browsable URL for the project and a label for it, separated by a comma.")] = None,
|
|
278
|
-
project_urls:
|
|
279
|
-
provides_dist:
|
|
280
|
-
requires_external:
|
|
281
|
-
requires_dist:
|
|
278
|
+
project_urls: Optional[Any] = None,
|
|
279
|
+
provides_dist: Optional[Any] = None,
|
|
280
|
+
requires_external: Optional[Any] = None,
|
|
281
|
+
requires_dist: Optional[Any] = None,
|
|
282
282
|
requires_python: Annotated[Optional[StrictStr], Field(description="The Python version(s) that the distribution is guaranteed to be compatible with.")] = None,
|
|
283
283
|
description_content_type: Annotated[Optional[StrictStr], Field(description="A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.")] = None,
|
|
284
|
-
provides_extras:
|
|
285
|
-
dynamic:
|
|
284
|
+
provides_extras: Optional[Any] = None,
|
|
285
|
+
dynamic: Optional[Any] = None,
|
|
286
286
|
license_expression: Annotated[Optional[StrictStr], Field(description="Text string that is a valid SPDX license expression.")] = None,
|
|
287
|
-
license_file:
|
|
287
|
+
license_file: Optional[Any] = None,
|
|
288
288
|
sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA256 digest of this package.")] = None,
|
|
289
289
|
pulp_domain: StrictStr = "default",
|
|
290
290
|
_request_timeout: Union[
|
|
@@ -338,7 +338,7 @@ class ContentPackagesApi:
|
|
|
338
338
|
:type platform: str
|
|
339
339
|
:param summary: A one-line summary of what the package does.
|
|
340
340
|
:type summary: str
|
|
341
|
-
:param classifiers:
|
|
341
|
+
:param classifiers:
|
|
342
342
|
:type classifiers: object
|
|
343
343
|
:param download_url: Legacy field denoting the URL from which this package can be downloaded.
|
|
344
344
|
:type download_url: str
|
|
@@ -348,29 +348,29 @@ class ContentPackagesApi:
|
|
|
348
348
|
:type maintainer: str
|
|
349
349
|
:param maintainer_email: The maintainer's e-mail address.
|
|
350
350
|
:type maintainer_email: str
|
|
351
|
-
:param obsoletes_dist:
|
|
351
|
+
:param obsoletes_dist:
|
|
352
352
|
:type obsoletes_dist: object
|
|
353
353
|
:param project_url: A browsable URL for the project and a label for it, separated by a comma.
|
|
354
354
|
:type project_url: str
|
|
355
|
-
:param project_urls:
|
|
355
|
+
:param project_urls:
|
|
356
356
|
:type project_urls: object
|
|
357
|
-
:param provides_dist:
|
|
357
|
+
:param provides_dist:
|
|
358
358
|
:type provides_dist: object
|
|
359
|
-
:param requires_external:
|
|
359
|
+
:param requires_external:
|
|
360
360
|
:type requires_external: object
|
|
361
|
-
:param requires_dist:
|
|
361
|
+
:param requires_dist:
|
|
362
362
|
:type requires_dist: object
|
|
363
363
|
:param requires_python: The Python version(s) that the distribution is guaranteed to be compatible with.
|
|
364
364
|
:type requires_python: str
|
|
365
365
|
:param description_content_type: A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
|
366
366
|
:type description_content_type: str
|
|
367
|
-
:param provides_extras:
|
|
367
|
+
:param provides_extras:
|
|
368
368
|
:type provides_extras: object
|
|
369
|
-
:param dynamic:
|
|
369
|
+
:param dynamic:
|
|
370
370
|
:type dynamic: object
|
|
371
371
|
:param license_expression: Text string that is a valid SPDX license expression.
|
|
372
372
|
:type license_expression: str
|
|
373
|
-
:param license_file:
|
|
373
|
+
:param license_file:
|
|
374
374
|
:type license_file: object
|
|
375
375
|
:param sha256: The SHA256 digest of this package.
|
|
376
376
|
:type sha256: str
|
|
@@ -471,23 +471,23 @@ class ContentPackagesApi:
|
|
|
471
471
|
license: Annotated[Optional[StrictStr], Field(description="Text indicating the license covering the distribution")] = None,
|
|
472
472
|
platform: Annotated[Optional[StrictStr], Field(description="A comma-separated list of platform specifications, summarizing the operating systems supported by the package.")] = None,
|
|
473
473
|
summary: Annotated[Optional[StrictStr], Field(description="A one-line summary of what the package does.")] = None,
|
|
474
|
-
classifiers:
|
|
474
|
+
classifiers: Optional[Any] = None,
|
|
475
475
|
download_url: Annotated[Optional[StrictStr], Field(description="Legacy field denoting the URL from which this package can be downloaded.")] = None,
|
|
476
476
|
supported_platform: Annotated[Optional[StrictStr], Field(description="Field to specify the OS and CPU for which the binary package was compiled. ")] = None,
|
|
477
477
|
maintainer: Annotated[Optional[StrictStr], Field(description="The maintainer's name at a minimum; additional contact information may be provided.")] = None,
|
|
478
478
|
maintainer_email: Annotated[Optional[StrictStr], Field(description="The maintainer's e-mail address.")] = None,
|
|
479
|
-
obsoletes_dist:
|
|
479
|
+
obsoletes_dist: Optional[Any] = None,
|
|
480
480
|
project_url: Annotated[Optional[StrictStr], Field(description="A browsable URL for the project and a label for it, separated by a comma.")] = None,
|
|
481
|
-
project_urls:
|
|
482
|
-
provides_dist:
|
|
483
|
-
requires_external:
|
|
484
|
-
requires_dist:
|
|
481
|
+
project_urls: Optional[Any] = None,
|
|
482
|
+
provides_dist: Optional[Any] = None,
|
|
483
|
+
requires_external: Optional[Any] = None,
|
|
484
|
+
requires_dist: Optional[Any] = None,
|
|
485
485
|
requires_python: Annotated[Optional[StrictStr], Field(description="The Python version(s) that the distribution is guaranteed to be compatible with.")] = None,
|
|
486
486
|
description_content_type: Annotated[Optional[StrictStr], Field(description="A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.")] = None,
|
|
487
|
-
provides_extras:
|
|
488
|
-
dynamic:
|
|
487
|
+
provides_extras: Optional[Any] = None,
|
|
488
|
+
dynamic: Optional[Any] = None,
|
|
489
489
|
license_expression: Annotated[Optional[StrictStr], Field(description="Text string that is a valid SPDX license expression.")] = None,
|
|
490
|
-
license_file:
|
|
490
|
+
license_file: Optional[Any] = None,
|
|
491
491
|
sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA256 digest of this package.")] = None,
|
|
492
492
|
pulp_domain: StrictStr = "default",
|
|
493
493
|
_request_timeout: Union[
|
|
@@ -541,7 +541,7 @@ class ContentPackagesApi:
|
|
|
541
541
|
:type platform: str
|
|
542
542
|
:param summary: A one-line summary of what the package does.
|
|
543
543
|
:type summary: str
|
|
544
|
-
:param classifiers:
|
|
544
|
+
:param classifiers:
|
|
545
545
|
:type classifiers: object
|
|
546
546
|
:param download_url: Legacy field denoting the URL from which this package can be downloaded.
|
|
547
547
|
:type download_url: str
|
|
@@ -551,29 +551,29 @@ class ContentPackagesApi:
|
|
|
551
551
|
:type maintainer: str
|
|
552
552
|
:param maintainer_email: The maintainer's e-mail address.
|
|
553
553
|
:type maintainer_email: str
|
|
554
|
-
:param obsoletes_dist:
|
|
554
|
+
:param obsoletes_dist:
|
|
555
555
|
:type obsoletes_dist: object
|
|
556
556
|
:param project_url: A browsable URL for the project and a label for it, separated by a comma.
|
|
557
557
|
:type project_url: str
|
|
558
|
-
:param project_urls:
|
|
558
|
+
:param project_urls:
|
|
559
559
|
:type project_urls: object
|
|
560
|
-
:param provides_dist:
|
|
560
|
+
:param provides_dist:
|
|
561
561
|
:type provides_dist: object
|
|
562
|
-
:param requires_external:
|
|
562
|
+
:param requires_external:
|
|
563
563
|
:type requires_external: object
|
|
564
|
-
:param requires_dist:
|
|
564
|
+
:param requires_dist:
|
|
565
565
|
:type requires_dist: object
|
|
566
566
|
:param requires_python: The Python version(s) that the distribution is guaranteed to be compatible with.
|
|
567
567
|
:type requires_python: str
|
|
568
568
|
:param description_content_type: A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
|
569
569
|
:type description_content_type: str
|
|
570
|
-
:param provides_extras:
|
|
570
|
+
:param provides_extras:
|
|
571
571
|
:type provides_extras: object
|
|
572
|
-
:param dynamic:
|
|
572
|
+
:param dynamic:
|
|
573
573
|
:type dynamic: object
|
|
574
574
|
:param license_expression: Text string that is a valid SPDX license expression.
|
|
575
575
|
:type license_expression: str
|
|
576
|
-
:param license_file:
|
|
576
|
+
:param license_file:
|
|
577
577
|
:type license_file: object
|
|
578
578
|
:param sha256: The SHA256 digest of this package.
|
|
579
579
|
:type sha256: str
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/20250821.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/20250821.4/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -225,7 +225,7 @@ conf = crc-pulp_python-client.Configuration(
|
|
|
225
225
|
) -> None:
|
|
226
226
|
"""Constructor
|
|
227
227
|
"""
|
|
228
|
-
self._base_path = "https://env-ephemeral-
|
|
228
|
+
self._base_path = "https://env-ephemeral-rxp4hy.apps.crc-eph.r9lp.p1.openshiftapps.com" if host is None else host
|
|
229
229
|
"""Default Base url
|
|
230
230
|
"""
|
|
231
231
|
self.server_index = 0 if server_index is None and host is None else server_index
|
|
@@ -557,7 +557,7 @@ conf = crc-pulp_python-client.Configuration(
|
|
|
557
557
|
"OS: {env}\n"\
|
|
558
558
|
"Python Version: {pyversion}\n"\
|
|
559
559
|
"Version of the API: v3\n"\
|
|
560
|
-
"SDK Package Version: 20250821.
|
|
560
|
+
"SDK Package Version: 20250821.4".\
|
|
561
561
|
format(env=sys.platform, pyversion=sys.version)
|
|
562
562
|
|
|
563
563
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -567,7 +567,7 @@ conf = crc-pulp_python-client.Configuration(
|
|
|
567
567
|
"""
|
|
568
568
|
return [
|
|
569
569
|
{
|
|
570
|
-
'url': "https://env-ephemeral-
|
|
570
|
+
'url': "https://env-ephemeral-rxp4hy.apps.crc-eph.r9lp.p1.openshiftapps.com",
|
|
571
571
|
'description': "No description provided",
|
|
572
572
|
}
|
|
573
573
|
]
|
|
@@ -28,8 +28,8 @@ class PackageMetadataResponse(BaseModel):
|
|
|
28
28
|
A Serializer for a package's metadata.
|
|
29
29
|
""" # noqa: E501
|
|
30
30
|
last_serial: StrictInt = Field(description="Cache value from last PyPI sync")
|
|
31
|
-
info: Optional[Any]
|
|
32
|
-
releases: Optional[Any]
|
|
31
|
+
info: Optional[Any]
|
|
32
|
+
releases: Optional[Any]
|
|
33
33
|
urls: Optional[Any]
|
|
34
34
|
__properties: ClassVar[List[str]] = ["last_serial", "info", "releases", "urls"]
|
|
35
35
|
|
|
@@ -80,16 +80,6 @@ class PaginatedRepositoryVersionResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
-
# set to None if next (nullable) is None
|
|
84
|
-
# and model_fields_set contains the field
|
|
85
|
-
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
-
_dict['next'] = None
|
|
87
|
-
|
|
88
|
-
# set to None if previous (nullable) is None
|
|
89
|
-
# and model_fields_set contains the field
|
|
90
|
-
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
-
_dict['previous'] = None
|
|
92
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedpythonPythonDistributionResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
-
# set to None if next (nullable) is None
|
|
84
|
-
# and model_fields_set contains the field
|
|
85
|
-
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
-
_dict['next'] = None
|
|
87
|
-
|
|
88
|
-
# set to None if previous (nullable) is None
|
|
89
|
-
# and model_fields_set contains the field
|
|
90
|
-
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
-
_dict['previous'] = None
|
|
92
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedpythonPythonPackageContentResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
-
# set to None if next (nullable) is None
|
|
84
|
-
# and model_fields_set contains the field
|
|
85
|
-
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
-
_dict['next'] = None
|
|
87
|
-
|
|
88
|
-
# set to None if previous (nullable) is None
|
|
89
|
-
# and model_fields_set contains the field
|
|
90
|
-
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
-
_dict['previous'] = None
|
|
92
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedpythonPythonPublicationResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
-
# set to None if next (nullable) is None
|
|
84
|
-
# and model_fields_set contains the field
|
|
85
|
-
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
-
_dict['next'] = None
|
|
87
|
-
|
|
88
|
-
# set to None if previous (nullable) is None
|
|
89
|
-
# and model_fields_set contains the field
|
|
90
|
-
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
-
_dict['previous'] = None
|
|
92
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedpythonPythonRemoteResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
-
# set to None if next (nullable) is None
|
|
84
|
-
# and model_fields_set contains the field
|
|
85
|
-
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
-
_dict['next'] = None
|
|
87
|
-
|
|
88
|
-
# set to None if previous (nullable) is None
|
|
89
|
-
# and model_fields_set contains the field
|
|
90
|
-
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
-
_dict['previous'] = None
|
|
92
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedpythonPythonRepositoryResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
-
# set to None if next (nullable) is None
|
|
84
|
-
# and model_fields_set contains the field
|
|
85
|
-
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
-
_dict['next'] = None
|
|
87
|
-
|
|
88
|
-
# set to None if previous (nullable) is None
|
|
89
|
-
# and model_fields_set contains the field
|
|
90
|
-
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
-
_dict['previous'] = None
|
|
92
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -43,7 +43,7 @@ class PatchedpythonPythonRemote(BaseModel):
|
|
|
43
43
|
username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
|
|
44
44
|
password: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.")
|
|
45
45
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
46
|
-
download_concurrency: Optional[
|
|
46
|
+
download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
47
47
|
max_retries: Optional[StrictInt] = Field(default=None, description="Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.")
|
|
48
48
|
policy: Optional[PolicyEnum] = Field(default=None, description="The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.")
|
|
49
49
|
total_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
|
|
@@ -18,7 +18,7 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from typing_extensions import Annotated
|
|
24
24
|
from typing import Optional, Set
|
|
@@ -31,7 +31,7 @@ class PatchedpythonPythonRepository(BaseModel):
|
|
|
31
31
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
32
32
|
name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A unique name for this repository.")
|
|
33
33
|
description: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="An optional description.")
|
|
34
|
-
retain_repo_versions: Optional[
|
|
34
|
+
retain_repo_versions: Optional[StrictInt] = Field(default=None, description="Retain X versions of the repository. Default is null which retains all versions.")
|
|
35
35
|
remote: Optional[StrictStr] = Field(default=None, description="An optional remote to use by default when syncing.")
|
|
36
36
|
autopublish: Optional[StrictBool] = Field(default=False, description="Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.")
|
|
37
37
|
__properties: ClassVar[List[str]] = ["pulp_labels", "name", "description", "retain_repo_versions", "remote", "autopublish"]
|
|
@@ -33,6 +33,7 @@ class PythonPythonPackageContentResponse(BaseModel):
|
|
|
33
33
|
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
34
34
|
pulp_last_updated: Optional[datetime] = Field(default=None, description="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.")
|
|
35
35
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = Field(default=None, description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")
|
|
36
|
+
vuln_report: Optional[StrictStr] = None
|
|
36
37
|
artifact: Optional[StrictStr] = Field(default=None, description="Artifact file representing the physical content")
|
|
37
38
|
author: Optional[StrictStr] = Field(default=None, description="Text containing the author's name. Contact information can also be added, separated with newlines.")
|
|
38
39
|
author_email: Optional[StrictStr] = Field(default=None, description="The author's e-mail address. ")
|
|
@@ -45,28 +46,28 @@ class PythonPythonPackageContentResponse(BaseModel):
|
|
|
45
46
|
platform: Optional[StrictStr] = Field(default=None, description="A comma-separated list of platform specifications, summarizing the operating systems supported by the package.")
|
|
46
47
|
summary: Optional[StrictStr] = Field(default=None, description="A one-line summary of what the package does.")
|
|
47
48
|
version: Optional[StrictStr] = Field(default=None, description="The packages version number.")
|
|
48
|
-
classifiers: Optional[Any] =
|
|
49
|
+
classifiers: Optional[Any] = None
|
|
49
50
|
download_url: Optional[StrictStr] = Field(default=None, description="Legacy field denoting the URL from which this package can be downloaded.")
|
|
50
51
|
supported_platform: Optional[StrictStr] = Field(default=None, description="Field to specify the OS and CPU for which the binary package was compiled. ")
|
|
51
52
|
maintainer: Optional[StrictStr] = Field(default=None, description="The maintainer's name at a minimum; additional contact information may be provided.")
|
|
52
53
|
maintainer_email: Optional[StrictStr] = Field(default=None, description="The maintainer's e-mail address.")
|
|
53
|
-
obsoletes_dist: Optional[Any] =
|
|
54
|
+
obsoletes_dist: Optional[Any] = None
|
|
54
55
|
project_url: Optional[StrictStr] = Field(default=None, description="A browsable URL for the project and a label for it, separated by a comma.")
|
|
55
|
-
project_urls: Optional[Any] =
|
|
56
|
-
provides_dist: Optional[Any] =
|
|
57
|
-
requires_external: Optional[Any] =
|
|
58
|
-
requires_dist: Optional[Any] =
|
|
56
|
+
project_urls: Optional[Any] = None
|
|
57
|
+
provides_dist: Optional[Any] = None
|
|
58
|
+
requires_external: Optional[Any] = None
|
|
59
|
+
requires_dist: Optional[Any] = None
|
|
59
60
|
requires_python: Optional[StrictStr] = Field(default=None, description="The Python version(s) that the distribution is guaranteed to be compatible with.")
|
|
60
61
|
description_content_type: Optional[StrictStr] = Field(default=None, description="A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.")
|
|
61
|
-
provides_extras: Optional[Any] =
|
|
62
|
-
dynamic: Optional[Any] =
|
|
62
|
+
provides_extras: Optional[Any] = None
|
|
63
|
+
dynamic: Optional[Any] = None
|
|
63
64
|
license_expression: Optional[StrictStr] = Field(default=None, description="Text string that is a valid SPDX license expression.")
|
|
64
|
-
license_file: Optional[Any] =
|
|
65
|
+
license_file: Optional[Any] = None
|
|
65
66
|
filename: Optional[StrictStr] = Field(default=None, description="The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype}")
|
|
66
67
|
packagetype: Optional[StrictStr] = Field(default=None, description="The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc)")
|
|
67
68
|
python_version: Optional[StrictStr] = Field(default=None, description="The tag that indicates which Python implementation or version the package requires.")
|
|
68
69
|
sha256: Optional[StrictStr] = Field(default='', description="The SHA256 digest of this package.")
|
|
69
|
-
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "pulp_labels", "artifact", "author", "author_email", "description", "home_page", "keywords", "license", "metadata_version", "name", "platform", "summary", "version", "classifiers", "download_url", "supported_platform", "maintainer", "maintainer_email", "obsoletes_dist", "project_url", "project_urls", "provides_dist", "requires_external", "requires_dist", "requires_python", "description_content_type", "provides_extras", "dynamic", "license_expression", "license_file", "filename", "packagetype", "python_version", "sha256"]
|
|
70
|
+
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "pulp_labels", "vuln_report", "artifact", "author", "author_email", "description", "home_page", "keywords", "license", "metadata_version", "name", "platform", "summary", "version", "classifiers", "download_url", "supported_platform", "maintainer", "maintainer_email", "obsoletes_dist", "project_url", "project_urls", "provides_dist", "requires_external", "requires_dist", "requires_python", "description_content_type", "provides_extras", "dynamic", "license_expression", "license_file", "filename", "packagetype", "python_version", "sha256"]
|
|
70
71
|
|
|
71
72
|
model_config = ConfigDict(
|
|
72
73
|
populate_by_name=True,
|
|
@@ -108,12 +109,14 @@ class PythonPythonPackageContentResponse(BaseModel):
|
|
|
108
109
|
* OpenAPI `readOnly` fields are excluded.
|
|
109
110
|
* OpenAPI `readOnly` fields are excluded.
|
|
110
111
|
* OpenAPI `readOnly` fields are excluded.
|
|
112
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
111
113
|
"""
|
|
112
114
|
excluded_fields: Set[str] = set([
|
|
113
115
|
"pulp_href",
|
|
114
116
|
"prn",
|
|
115
117
|
"pulp_created",
|
|
116
118
|
"pulp_last_updated",
|
|
119
|
+
"vuln_report",
|
|
117
120
|
"metadata_version",
|
|
118
121
|
"name",
|
|
119
122
|
"version",
|
|
@@ -189,6 +192,7 @@ class PythonPythonPackageContentResponse(BaseModel):
|
|
|
189
192
|
"pulp_created": obj.get("pulp_created"),
|
|
190
193
|
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
191
194
|
"pulp_labels": obj.get("pulp_labels"),
|
|
195
|
+
"vuln_report": obj.get("vuln_report"),
|
|
192
196
|
"artifact": obj.get("artifact"),
|
|
193
197
|
"author": obj.get("author"),
|
|
194
198
|
"author_email": obj.get("author_email"),
|
|
@@ -71,14 +71,12 @@ class PythonPythonPublicationResponse(BaseModel):
|
|
|
71
71
|
* OpenAPI `readOnly` fields are excluded.
|
|
72
72
|
* OpenAPI `readOnly` fields are excluded.
|
|
73
73
|
* OpenAPI `readOnly` fields are excluded.
|
|
74
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
75
74
|
"""
|
|
76
75
|
excluded_fields: Set[str] = set([
|
|
77
76
|
"pulp_href",
|
|
78
77
|
"prn",
|
|
79
78
|
"pulp_created",
|
|
80
79
|
"pulp_last_updated",
|
|
81
|
-
"distributions",
|
|
82
80
|
])
|
|
83
81
|
|
|
84
82
|
_dict = self.model_dump(
|
|
@@ -43,7 +43,7 @@ class PythonPythonRemote(BaseModel):
|
|
|
43
43
|
username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
|
|
44
44
|
password: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.")
|
|
45
45
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
46
|
-
download_concurrency: Optional[
|
|
46
|
+
download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
47
47
|
max_retries: Optional[StrictInt] = Field(default=None, description="Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.")
|
|
48
48
|
policy: Optional[PolicyEnum] = Field(default=None, description="The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.")
|
|
49
49
|
total_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
|