pulp-python-client 3.17.1__tar.gz → 3.18.0__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 pulp-python-client might be problematic. Click here for more details.
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/PKG-INFO +1 -1
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/README.md +10 -10
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulp_python_client.egg-info/PKG-INFO +1 -1
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/__init__.py +1 -1
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/api/content_packages_api.py +54 -54
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/api_client.py +1 -1
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/configuration.py +1 -1
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/package_metadata_response.py +2 -2
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +0 -10
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +0 -10
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +0 -10
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +0 -10
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +0 -10
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +0 -10
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/patchedpython_python_remote.py +1 -1
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/patchedpython_python_repository.py +2 -2
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/python_python_package_content_response.py +14 -10
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/python_python_publication_response.py +0 -2
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/python_python_remote.py +1 -1
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/python_python_remote_response.py +1 -3
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/python_python_repository.py +2 -2
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/python_python_repository_response.py +2 -3
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/repository_version_response.py +6 -2
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pyproject.toml +1 -1
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/setup.py +1 -1
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_paginated_repository_version_response_list.py +4 -2
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_paginatedpython_python_package_content_response_list.py +2 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_paginatedpython_python_remote_response_list.py +2 -2
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_paginatedpython_python_repository_response_list.py +2 -2
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_patchedpython_python_remote.py +1 -1
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_patchedpython_python_repository.py +1 -1
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_python_python_package_content_response.py +1 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_python_python_remote.py +1 -1
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_python_python_remote_response.py +1 -1
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_python_python_repository.py +1 -1
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_python_python_repository_response.py +1 -1
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_repository_version_response.py +2 -1
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulp_python_client.egg-info/SOURCES.txt +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulp_python_client.egg-info/dependency_links.txt +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulp_python_client.egg-info/requires.txt +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulp_python_client.egg-info/top_level.txt +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/__init__.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/__init__.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/api/__init__.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/api/distributions_pypi_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/api/publications_pypi_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/api/pypi_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/api/pypi_legacy_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/api/pypi_metadata_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/api/pypi_simple_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/api/remotes_python_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/api/repositories_python_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/api/repositories_python_versions_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/api_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/exceptions.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/__init__.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/async_operation_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/content_summary_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/exclude_platforms_enum.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/my_permissions_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/nested_role.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/nested_role_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/object_roles_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/package_types_enum.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/package_upload_task_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/policy_enum.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/python_python_distribution.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/python_python_distribution_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/python_python_publication.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/python_python_remote_response_hidden_fields_inner.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/repair.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/repository_add_remove_content.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/repository_sync_url.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/set_label.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/set_label_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/summary_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/unset_label.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/models/unset_label_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/py.typed +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/rest.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/setup.cfg +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_async_operation_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_content_packages_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_content_summary_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_distributions_pypi_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_exclude_platforms_enum.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_my_permissions_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_nested_role.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_nested_role_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_object_roles_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_package_metadata_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_package_types_enum.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_package_upload_task_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_paginatedpython_python_distribution_response_list.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_paginatedpython_python_publication_response_list.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_patchedpython_python_distribution.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_policy_enum.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_publications_pypi_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_pypi_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_pypi_legacy_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_pypi_metadata_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_pypi_simple_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_python_python_distribution.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_python_python_distribution_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_python_python_publication.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_python_python_publication_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_python_python_remote_response_hidden_fields_inner.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_remotes_python_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_repair.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_repositories_python_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_repositories_python_versions_api.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_repository_add_remove_content.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_repository_sync_url.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_set_label.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_set_label_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_summary_response.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/test/test_unset_label.py +0 -0
- {pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/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: 3.
|
|
7
|
+
- Package version: 3.18.0
|
|
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)
|
|
@@ -100,23 +100,23 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
100
100
|
license = 'license_example' # str | Text indicating the license covering the distribution (optional)
|
|
101
101
|
platform = 'platform_example' # str | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional)
|
|
102
102
|
summary = 'summary_example' # str | A one-line summary of what the package does. (optional)
|
|
103
|
-
classifiers = None # object |
|
|
103
|
+
classifiers = None # object | (optional)
|
|
104
104
|
download_url = 'download_url_example' # str | Legacy field denoting the URL from which this package can be downloaded. (optional)
|
|
105
105
|
supported_platform = 'supported_platform_example' # str | Field to specify the OS and CPU for which the binary package was compiled. (optional)
|
|
106
106
|
maintainer = 'maintainer_example' # str | The maintainer's name at a minimum; additional contact information may be provided. (optional)
|
|
107
107
|
maintainer_email = 'maintainer_email_example' # str | The maintainer's e-mail address. (optional)
|
|
108
|
-
obsoletes_dist = None # object |
|
|
108
|
+
obsoletes_dist = None # object | (optional)
|
|
109
109
|
project_url = 'project_url_example' # str | A browsable URL for the project and a label for it, separated by a comma. (optional)
|
|
110
|
-
project_urls = None # object |
|
|
111
|
-
provides_dist = None # object |
|
|
112
|
-
requires_external = None # object |
|
|
113
|
-
requires_dist = None # object |
|
|
110
|
+
project_urls = None # object | (optional)
|
|
111
|
+
provides_dist = None # object | (optional)
|
|
112
|
+
requires_external = None # object | (optional)
|
|
113
|
+
requires_dist = None # object | (optional)
|
|
114
114
|
requires_python = 'requires_python_example' # str | The Python version(s) that the distribution is guaranteed to be compatible with. (optional)
|
|
115
115
|
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)
|
|
116
|
-
provides_extras = None # object |
|
|
117
|
-
dynamic = None # object |
|
|
116
|
+
provides_extras = None # object | (optional)
|
|
117
|
+
dynamic = None # object | (optional)
|
|
118
118
|
license_expression = 'license_expression_example' # str | Text string that is a valid SPDX license expression. (optional)
|
|
119
|
-
license_file = None # object |
|
|
119
|
+
license_file = None # object | (optional)
|
|
120
120
|
sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
|
|
121
121
|
|
|
122
122
|
try:
|
|
@@ -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
|
_request_timeout: Union[
|
|
87
87
|
None,
|
|
@@ -132,7 +132,7 @@ class ContentPackagesApi:
|
|
|
132
132
|
:type platform: str
|
|
133
133
|
:param summary: A one-line summary of what the package does.
|
|
134
134
|
:type summary: str
|
|
135
|
-
:param classifiers:
|
|
135
|
+
:param classifiers:
|
|
136
136
|
:type classifiers: object
|
|
137
137
|
:param download_url: Legacy field denoting the URL from which this package can be downloaded.
|
|
138
138
|
:type download_url: str
|
|
@@ -142,29 +142,29 @@ class ContentPackagesApi:
|
|
|
142
142
|
:type maintainer: str
|
|
143
143
|
:param maintainer_email: The maintainer's e-mail address.
|
|
144
144
|
:type maintainer_email: str
|
|
145
|
-
:param obsoletes_dist:
|
|
145
|
+
:param obsoletes_dist:
|
|
146
146
|
:type obsoletes_dist: object
|
|
147
147
|
:param project_url: A browsable URL for the project and a label for it, separated by a comma.
|
|
148
148
|
:type project_url: str
|
|
149
|
-
:param project_urls:
|
|
149
|
+
:param project_urls:
|
|
150
150
|
:type project_urls: object
|
|
151
|
-
:param provides_dist:
|
|
151
|
+
:param provides_dist:
|
|
152
152
|
:type provides_dist: object
|
|
153
|
-
:param requires_external:
|
|
153
|
+
:param requires_external:
|
|
154
154
|
:type requires_external: object
|
|
155
|
-
:param requires_dist:
|
|
155
|
+
:param requires_dist:
|
|
156
156
|
:type requires_dist: object
|
|
157
157
|
:param requires_python: The Python version(s) that the distribution is guaranteed to be compatible with.
|
|
158
158
|
:type requires_python: str
|
|
159
159
|
:param description_content_type: A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
|
160
160
|
:type description_content_type: str
|
|
161
|
-
:param provides_extras:
|
|
161
|
+
:param provides_extras:
|
|
162
162
|
:type provides_extras: object
|
|
163
|
-
:param dynamic:
|
|
163
|
+
:param dynamic:
|
|
164
164
|
:type dynamic: object
|
|
165
165
|
:param license_expression: Text string that is a valid SPDX license expression.
|
|
166
166
|
:type license_expression: str
|
|
167
|
-
:param license_file:
|
|
167
|
+
:param license_file:
|
|
168
168
|
:type license_file: object
|
|
169
169
|
:param sha256: The SHA256 digest of this package.
|
|
170
170
|
:type sha256: str
|
|
@@ -264,23 +264,23 @@ class ContentPackagesApi:
|
|
|
264
264
|
license: Annotated[Optional[StrictStr], Field(description="Text indicating the license covering the distribution")] = None,
|
|
265
265
|
platform: Annotated[Optional[StrictStr], Field(description="A comma-separated list of platform specifications, summarizing the operating systems supported by the package.")] = None,
|
|
266
266
|
summary: Annotated[Optional[StrictStr], Field(description="A one-line summary of what the package does.")] = None,
|
|
267
|
-
classifiers:
|
|
267
|
+
classifiers: Optional[Any] = None,
|
|
268
268
|
download_url: Annotated[Optional[StrictStr], Field(description="Legacy field denoting the URL from which this package can be downloaded.")] = None,
|
|
269
269
|
supported_platform: Annotated[Optional[StrictStr], Field(description="Field to specify the OS and CPU for which the binary package was compiled. ")] = None,
|
|
270
270
|
maintainer: Annotated[Optional[StrictStr], Field(description="The maintainer's name at a minimum; additional contact information may be provided.")] = None,
|
|
271
271
|
maintainer_email: Annotated[Optional[StrictStr], Field(description="The maintainer's e-mail address.")] = None,
|
|
272
|
-
obsoletes_dist:
|
|
272
|
+
obsoletes_dist: Optional[Any] = None,
|
|
273
273
|
project_url: Annotated[Optional[StrictStr], Field(description="A browsable URL for the project and a label for it, separated by a comma.")] = None,
|
|
274
|
-
project_urls:
|
|
275
|
-
provides_dist:
|
|
276
|
-
requires_external:
|
|
277
|
-
requires_dist:
|
|
274
|
+
project_urls: Optional[Any] = None,
|
|
275
|
+
provides_dist: Optional[Any] = None,
|
|
276
|
+
requires_external: Optional[Any] = None,
|
|
277
|
+
requires_dist: Optional[Any] = None,
|
|
278
278
|
requires_python: Annotated[Optional[StrictStr], Field(description="The Python version(s) that the distribution is guaranteed to be compatible with.")] = None,
|
|
279
279
|
description_content_type: Annotated[Optional[StrictStr], Field(description="A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.")] = None,
|
|
280
|
-
provides_extras:
|
|
281
|
-
dynamic:
|
|
280
|
+
provides_extras: Optional[Any] = None,
|
|
281
|
+
dynamic: Optional[Any] = None,
|
|
282
282
|
license_expression: Annotated[Optional[StrictStr], Field(description="Text string that is a valid SPDX license expression.")] = None,
|
|
283
|
-
license_file:
|
|
283
|
+
license_file: Optional[Any] = None,
|
|
284
284
|
sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA256 digest of this package.")] = None,
|
|
285
285
|
_request_timeout: Union[
|
|
286
286
|
None,
|
|
@@ -331,7 +331,7 @@ class ContentPackagesApi:
|
|
|
331
331
|
:type platform: str
|
|
332
332
|
:param summary: A one-line summary of what the package does.
|
|
333
333
|
:type summary: str
|
|
334
|
-
:param classifiers:
|
|
334
|
+
:param classifiers:
|
|
335
335
|
:type classifiers: object
|
|
336
336
|
:param download_url: Legacy field denoting the URL from which this package can be downloaded.
|
|
337
337
|
:type download_url: str
|
|
@@ -341,29 +341,29 @@ class ContentPackagesApi:
|
|
|
341
341
|
:type maintainer: str
|
|
342
342
|
:param maintainer_email: The maintainer's e-mail address.
|
|
343
343
|
:type maintainer_email: str
|
|
344
|
-
:param obsoletes_dist:
|
|
344
|
+
:param obsoletes_dist:
|
|
345
345
|
:type obsoletes_dist: object
|
|
346
346
|
:param project_url: A browsable URL for the project and a label for it, separated by a comma.
|
|
347
347
|
:type project_url: str
|
|
348
|
-
:param project_urls:
|
|
348
|
+
:param project_urls:
|
|
349
349
|
:type project_urls: object
|
|
350
|
-
:param provides_dist:
|
|
350
|
+
:param provides_dist:
|
|
351
351
|
:type provides_dist: object
|
|
352
|
-
:param requires_external:
|
|
352
|
+
:param requires_external:
|
|
353
353
|
:type requires_external: object
|
|
354
|
-
:param requires_dist:
|
|
354
|
+
:param requires_dist:
|
|
355
355
|
:type requires_dist: object
|
|
356
356
|
:param requires_python: The Python version(s) that the distribution is guaranteed to be compatible with.
|
|
357
357
|
:type requires_python: str
|
|
358
358
|
:param description_content_type: A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
|
359
359
|
:type description_content_type: str
|
|
360
|
-
:param provides_extras:
|
|
360
|
+
:param provides_extras:
|
|
361
361
|
:type provides_extras: object
|
|
362
|
-
:param dynamic:
|
|
362
|
+
:param dynamic:
|
|
363
363
|
:type dynamic: object
|
|
364
364
|
:param license_expression: Text string that is a valid SPDX license expression.
|
|
365
365
|
:type license_expression: str
|
|
366
|
-
:param license_file:
|
|
366
|
+
:param license_file:
|
|
367
367
|
:type license_file: object
|
|
368
368
|
:param sha256: The SHA256 digest of this package.
|
|
369
369
|
:type sha256: str
|
|
@@ -463,23 +463,23 @@ class ContentPackagesApi:
|
|
|
463
463
|
license: Annotated[Optional[StrictStr], Field(description="Text indicating the license covering the distribution")] = None,
|
|
464
464
|
platform: Annotated[Optional[StrictStr], Field(description="A comma-separated list of platform specifications, summarizing the operating systems supported by the package.")] = None,
|
|
465
465
|
summary: Annotated[Optional[StrictStr], Field(description="A one-line summary of what the package does.")] = None,
|
|
466
|
-
classifiers:
|
|
466
|
+
classifiers: Optional[Any] = None,
|
|
467
467
|
download_url: Annotated[Optional[StrictStr], Field(description="Legacy field denoting the URL from which this package can be downloaded.")] = None,
|
|
468
468
|
supported_platform: Annotated[Optional[StrictStr], Field(description="Field to specify the OS and CPU for which the binary package was compiled. ")] = None,
|
|
469
469
|
maintainer: Annotated[Optional[StrictStr], Field(description="The maintainer's name at a minimum; additional contact information may be provided.")] = None,
|
|
470
470
|
maintainer_email: Annotated[Optional[StrictStr], Field(description="The maintainer's e-mail address.")] = None,
|
|
471
|
-
obsoletes_dist:
|
|
471
|
+
obsoletes_dist: Optional[Any] = None,
|
|
472
472
|
project_url: Annotated[Optional[StrictStr], Field(description="A browsable URL for the project and a label for it, separated by a comma.")] = None,
|
|
473
|
-
project_urls:
|
|
474
|
-
provides_dist:
|
|
475
|
-
requires_external:
|
|
476
|
-
requires_dist:
|
|
473
|
+
project_urls: Optional[Any] = None,
|
|
474
|
+
provides_dist: Optional[Any] = None,
|
|
475
|
+
requires_external: Optional[Any] = None,
|
|
476
|
+
requires_dist: Optional[Any] = None,
|
|
477
477
|
requires_python: Annotated[Optional[StrictStr], Field(description="The Python version(s) that the distribution is guaranteed to be compatible with.")] = None,
|
|
478
478
|
description_content_type: Annotated[Optional[StrictStr], Field(description="A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.")] = None,
|
|
479
|
-
provides_extras:
|
|
480
|
-
dynamic:
|
|
479
|
+
provides_extras: Optional[Any] = None,
|
|
480
|
+
dynamic: Optional[Any] = None,
|
|
481
481
|
license_expression: Annotated[Optional[StrictStr], Field(description="Text string that is a valid SPDX license expression.")] = None,
|
|
482
|
-
license_file:
|
|
482
|
+
license_file: Optional[Any] = None,
|
|
483
483
|
sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA256 digest of this package.")] = None,
|
|
484
484
|
_request_timeout: Union[
|
|
485
485
|
None,
|
|
@@ -530,7 +530,7 @@ class ContentPackagesApi:
|
|
|
530
530
|
:type platform: str
|
|
531
531
|
:param summary: A one-line summary of what the package does.
|
|
532
532
|
:type summary: str
|
|
533
|
-
:param classifiers:
|
|
533
|
+
:param classifiers:
|
|
534
534
|
:type classifiers: object
|
|
535
535
|
:param download_url: Legacy field denoting the URL from which this package can be downloaded.
|
|
536
536
|
:type download_url: str
|
|
@@ -540,29 +540,29 @@ class ContentPackagesApi:
|
|
|
540
540
|
:type maintainer: str
|
|
541
541
|
:param maintainer_email: The maintainer's e-mail address.
|
|
542
542
|
:type maintainer_email: str
|
|
543
|
-
:param obsoletes_dist:
|
|
543
|
+
:param obsoletes_dist:
|
|
544
544
|
:type obsoletes_dist: object
|
|
545
545
|
:param project_url: A browsable URL for the project and a label for it, separated by a comma.
|
|
546
546
|
:type project_url: str
|
|
547
|
-
:param project_urls:
|
|
547
|
+
:param project_urls:
|
|
548
548
|
:type project_urls: object
|
|
549
|
-
:param provides_dist:
|
|
549
|
+
:param provides_dist:
|
|
550
550
|
:type provides_dist: object
|
|
551
|
-
:param requires_external:
|
|
551
|
+
:param requires_external:
|
|
552
552
|
:type requires_external: object
|
|
553
|
-
:param requires_dist:
|
|
553
|
+
:param requires_dist:
|
|
554
554
|
:type requires_dist: object
|
|
555
555
|
:param requires_python: The Python version(s) that the distribution is guaranteed to be compatible with.
|
|
556
556
|
:type requires_python: str
|
|
557
557
|
:param description_content_type: A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
|
558
558
|
:type description_content_type: str
|
|
559
|
-
:param provides_extras:
|
|
559
|
+
:param provides_extras:
|
|
560
560
|
:type provides_extras: object
|
|
561
|
-
:param dynamic:
|
|
561
|
+
:param dynamic:
|
|
562
562
|
:type dynamic: object
|
|
563
563
|
:param license_expression: Text string that is a valid SPDX license expression.
|
|
564
564
|
:type license_expression: str
|
|
565
|
-
:param license_file:
|
|
565
|
+
:param license_file:
|
|
566
566
|
:type license_file: object
|
|
567
567
|
:param sha256: The SHA256 digest of this package.
|
|
568
568
|
:type sha256: str
|
{pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/api_client.py
RENAMED
|
@@ -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/3.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/3.18.0/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
{pulp_python-client-3.17.1 → pulp_python-client-3.18.0}/pulpcore/client/pulp_python/configuration.py
RENAMED
|
@@ -549,7 +549,7 @@ conf = pulpcore.client.pulp_python.Configuration(
|
|
|
549
549
|
"OS: {env}\n"\
|
|
550
550
|
"Python Version: {pyversion}\n"\
|
|
551
551
|
"Version of the API: v3\n"\
|
|
552
|
-
"SDK Package Version: 3.
|
|
552
|
+
"SDK Package Version: 3.18.0".\
|
|
553
553
|
format(env=sys.platform, pyversion=sys.version)
|
|
554
554
|
|
|
555
555
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -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.")
|