crc-pulp-file-client 20250923.1__tar.gz → 20250923.2__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-file-client might be problematic. Click here for more details.
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/PKG-INFO +1 -1
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/README.md +4 -4
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/crc_pulp_file_client.egg-info/PKG-INFO +1 -1
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/__init__.py +1 -1
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/api_client.py +1 -1
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/configuration.py +3 -3
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/file_file_publication_response.py +2 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/file_file_remote.py +1 -1
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/file_file_remote_response.py +3 -1
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/file_file_repository.py +2 -2
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/file_file_repository_response.py +3 -2
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/paginated_repository_version_response_list.py +10 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/paginatedfile_file_alternate_content_source_response_list.py +10 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/paginatedfile_file_content_response_list.py +10 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/paginatedfile_file_distribution_response_list.py +10 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/paginatedfile_file_publication_response_list.py +10 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/paginatedfile_file_remote_response_list.py +10 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/paginatedfile_file_repository_response_list.py +10 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/patchedfile_file_remote.py +1 -1
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/patchedfile_file_repository.py +2 -2
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pyproject.toml +1 -1
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/setup.py +1 -1
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_file_file_remote.py +1 -1
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_file_file_remote_response.py +1 -1
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_file_file_repository.py +1 -1
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_file_file_repository_response.py +1 -1
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_paginatedfile_file_remote_response_list.py +2 -2
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_paginatedfile_file_repository_response_list.py +2 -2
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_patchedfile_file_remote.py +1 -1
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_patchedfile_file_repository.py +1 -1
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/crc_pulp_file_client.egg-info/SOURCES.txt +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/crc_pulp_file_client.egg-info/dependency_links.txt +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/crc_pulp_file_client.egg-info/requires.txt +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/crc_pulp_file_client.egg-info/top_level.txt +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/__init__.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/__init__.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/api/__init__.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/api/acs_file_api.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/api/content_files_api.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/api/distributions_file_api.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/api/publications_file_api.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/api/remotes_file_api.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/api/repositories_file_api.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/api/repositories_file_versions_api.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/api_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/exceptions.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/__init__.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/async_operation_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/content_summary_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/file_file_alternate_content_source.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/file_file_alternate_content_source_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/file_file_content_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/file_file_distribution.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/file_file_distribution_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/file_file_publication.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/file_file_remote_response_hidden_fields_inner.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/my_permissions_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/nested_role.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/nested_role_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/object_roles_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/patchedfile_file_alternate_content_source.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/patchedfile_file_distribution.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/policy_enum.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/repair.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/repository_add_remove_content.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/repository_sync_url.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/repository_version_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/set_label.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/set_label_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/task_group_operation_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/unset_label.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/models/unset_label_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/py.typed +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/pulp_file/rest.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/setup.cfg +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_acs_file_api.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_async_operation_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_content_files_api.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_content_summary_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_distributions_file_api.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_file_file_alternate_content_source.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_file_file_alternate_content_source_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_file_file_content_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_file_file_distribution.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_file_file_distribution_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_file_file_publication.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_file_file_publication_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_file_file_remote_response_hidden_fields_inner.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_my_permissions_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_nested_role.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_nested_role_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_object_roles_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_paginated_repository_version_response_list.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_paginatedfile_file_alternate_content_source_response_list.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_paginatedfile_file_content_response_list.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_paginatedfile_file_distribution_response_list.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_paginatedfile_file_publication_response_list.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_patchedfile_file_alternate_content_source.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_patchedfile_file_distribution.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_policy_enum.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_publications_file_api.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_remotes_file_api.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_repair.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_repositories_file_api.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_repositories_file_versions_api.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_repository_add_remove_content.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_repository_sync_url.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_repository_version_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_set_label.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_set_label_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_task_group_operation_response.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_unset_label.py +0 -0
- {crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/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: 20250923.
|
|
7
|
+
- Package version: 20250923.2
|
|
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 pulpcore.client.pulp_file
|
|
|
56
56
|
from pulpcore.client.pulp_file.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-jfj87a.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
60
60
|
# See configuration.py for a list of all supported configuration parameters.
|
|
61
61
|
configuration = pulpcore.client.pulp_file.Configuration(
|
|
62
|
-
host = "https://env-ephemeral-
|
|
62
|
+
host = "https://env-ephemeral-jfj87a.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
63
63
|
)
|
|
64
64
|
|
|
65
65
|
# The client must configure the authentication and authorization parameters
|
|
@@ -102,7 +102,7 @@ with pulpcore.client.pulp_file.ApiClient(configuration) as api_client:
|
|
|
102
102
|
|
|
103
103
|
## Documentation for API Endpoints
|
|
104
104
|
|
|
105
|
-
All URIs are relative to *https://env-ephemeral-
|
|
105
|
+
All URIs are relative to *https://env-ephemeral-jfj87a.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
106
106
|
|
|
107
107
|
Class | Method | HTTP request | Description
|
|
108
108
|
------------ | ------------- | ------------- | -------------
|
|
@@ -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/20250923.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/20250923.2/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -225,7 +225,7 @@ conf = pulpcore.client.pulp_file.Configuration(
|
|
|
225
225
|
) -> None:
|
|
226
226
|
"""Constructor
|
|
227
227
|
"""
|
|
228
|
-
self._base_path = "https://env-ephemeral-
|
|
228
|
+
self._base_path = "https://env-ephemeral-jfj87a.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 = pulpcore.client.pulp_file.Configuration(
|
|
|
557
557
|
"OS: {env}\n"\
|
|
558
558
|
"Python Version: {pyversion}\n"\
|
|
559
559
|
"Version of the API: v3\n"\
|
|
560
|
-
"SDK Package Version: 20250923.
|
|
560
|
+
"SDK Package Version: 20250923.2".\
|
|
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 = pulpcore.client.pulp_file.Configuration(
|
|
|
567
567
|
"""
|
|
568
568
|
return [
|
|
569
569
|
{
|
|
570
|
-
'url': "https://env-ephemeral-
|
|
570
|
+
'url': "https://env-ephemeral-jfj87a.apps.crc-eph.r9lp.p1.openshiftapps.com",
|
|
571
571
|
'description': "No description provided",
|
|
572
572
|
}
|
|
573
573
|
]
|
|
@@ -73,12 +73,14 @@ class FileFilePublicationResponse(BaseModel):
|
|
|
73
73
|
* OpenAPI `readOnly` fields are excluded.
|
|
74
74
|
* OpenAPI `readOnly` fields are excluded.
|
|
75
75
|
* OpenAPI `readOnly` fields are excluded.
|
|
76
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
76
77
|
"""
|
|
77
78
|
excluded_fields: Set[str] = set([
|
|
78
79
|
"pulp_href",
|
|
79
80
|
"prn",
|
|
80
81
|
"pulp_created",
|
|
81
82
|
"pulp_last_updated",
|
|
83
|
+
"distributions",
|
|
82
84
|
])
|
|
83
85
|
|
|
84
86
|
_dict = self.model_dump(
|
|
@@ -41,7 +41,7 @@ class FileFileRemote(BaseModel):
|
|
|
41
41
|
username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
|
|
42
42
|
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.")
|
|
43
43
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
44
|
-
download_concurrency: Optional[
|
|
44
|
+
download_concurrency: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
45
45
|
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.")
|
|
46
46
|
policy: Optional[PolicyEnum] = Field(default=None, description="The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' 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.")
|
|
47
47
|
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.")
|
|
@@ -42,7 +42,7 @@ class FileFileRemoteResponse(BaseModel):
|
|
|
42
42
|
tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
|
|
43
43
|
proxy_url: Optional[StrictStr] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
|
|
44
44
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
45
|
-
download_concurrency: Optional[
|
|
45
|
+
download_concurrency: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
46
46
|
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.")
|
|
47
47
|
policy: Optional[PolicyEnum] = Field(default=None, description="The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' 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.")
|
|
48
48
|
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.")
|
|
@@ -88,12 +88,14 @@ class FileFileRemoteResponse(BaseModel):
|
|
|
88
88
|
* OpenAPI `readOnly` fields are excluded.
|
|
89
89
|
* OpenAPI `readOnly` fields are excluded.
|
|
90
90
|
* OpenAPI `readOnly` fields are excluded.
|
|
91
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
91
92
|
"""
|
|
92
93
|
excluded_fields: Set[str] = set([
|
|
93
94
|
"pulp_href",
|
|
94
95
|
"prn",
|
|
95
96
|
"pulp_created",
|
|
96
97
|
"pulp_last_updated",
|
|
98
|
+
"hidden_fields",
|
|
97
99
|
])
|
|
98
100
|
|
|
99
101
|
_dict = self.model_dump(
|
|
@@ -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,
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, 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 FileFileRepository(BaseModel):
|
|
|
31
31
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
32
32
|
name: Annotated[str, Field(min_length=1, strict=True)] = Field(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[Annotated[int, Field(strict=True, ge=1)]] = 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
|
manifest: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default='PULP_MANIFEST', description="Filename to use for manifest file containing metadata for all the files.")
|
|
@@ -19,8 +19,9 @@ import re # noqa: F401
|
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
21
|
from datetime import datetime
|
|
22
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictBool,
|
|
22
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|
23
23
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
24
|
+
from typing_extensions import Annotated
|
|
24
25
|
from typing import Optional, Set
|
|
25
26
|
from typing_extensions import Self
|
|
26
27
|
|
|
@@ -37,7 +38,7 @@ class FileFileRepositoryResponse(BaseModel):
|
|
|
37
38
|
latest_version_href: Optional[StrictStr] = None
|
|
38
39
|
name: StrictStr = Field(description="A unique name for this repository.")
|
|
39
40
|
description: Optional[StrictStr] = Field(default=None, description="An optional description.")
|
|
40
|
-
retain_repo_versions: Optional[
|
|
41
|
+
retain_repo_versions: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Retain X versions of the repository. Default is null which retains all versions.")
|
|
41
42
|
remote: Optional[StrictStr] = Field(default=None, description="An optional remote to use by default when syncing.")
|
|
42
43
|
autopublish: Optional[StrictBool] = Field(default=False, description="Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.")
|
|
43
44
|
manifest: Optional[StrictStr] = Field(default='PULP_MANIFEST', description="Filename to use for manifest file containing metadata for all the files.")
|
|
@@ -80,6 +80,16 @@ 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
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedfileFileAlternateContentSourceResponseList(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
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedfileFileContentResponseList(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
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedfileFileDistributionResponseList(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
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedfileFilePublicationResponseList(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
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedfileFileRemoteResponseList(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
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedfileFileRepositoryResponseList(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
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -41,7 +41,7 @@ class PatchedfileFileRemote(BaseModel):
|
|
|
41
41
|
username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
|
|
42
42
|
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.")
|
|
43
43
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
44
|
-
download_concurrency: Optional[
|
|
44
|
+
download_concurrency: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
45
45
|
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.")
|
|
46
46
|
policy: Optional[PolicyEnum] = Field(default=None, description="The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' 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.")
|
|
47
47
|
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,
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, 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 PatchedfileFileRepository(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[Annotated[int, Field(strict=True, ge=1)]] = 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
|
manifest: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default='PULP_MANIFEST', description="Filename to use for manifest file containing metadata for all the files.")
|
|
@@ -22,7 +22,7 @@ from setuptools import setup, find_packages # noqa: H301
|
|
|
22
22
|
# prerequisite: setuptools
|
|
23
23
|
# http://pypi.python.org/pypi/setuptools
|
|
24
24
|
NAME = "crc-pulp_file-client"
|
|
25
|
-
VERSION = "20250923.
|
|
25
|
+
VERSION = "20250923.2"
|
|
26
26
|
PYTHON_REQUIRES = ">= 3.8"
|
|
27
27
|
REQUIRES = [
|
|
28
28
|
"urllib3 >= 1.25.3, < 3.0.0",
|
|
@@ -54,7 +54,7 @@ class TestPaginatedfileFileRemoteResponseList(unittest.TestCase):
|
|
|
54
54
|
pulp_labels = {
|
|
55
55
|
'key' : ''
|
|
56
56
|
},
|
|
57
|
-
download_concurrency =
|
|
57
|
+
download_concurrency = 1,
|
|
58
58
|
max_retries = 56,
|
|
59
59
|
policy = null,
|
|
60
60
|
total_timeout = 0.0,
|
|
@@ -90,7 +90,7 @@ class TestPaginatedfileFileRemoteResponseList(unittest.TestCase):
|
|
|
90
90
|
pulp_labels = {
|
|
91
91
|
'key' : ''
|
|
92
92
|
},
|
|
93
|
-
download_concurrency =
|
|
93
|
+
download_concurrency = 1,
|
|
94
94
|
max_retries = 56,
|
|
95
95
|
policy = null,
|
|
96
96
|
total_timeout = 0.0,
|
|
@@ -52,7 +52,7 @@ class TestPaginatedfileFileRepositoryResponseList(unittest.TestCase):
|
|
|
52
52
|
latest_version_href = '',
|
|
53
53
|
name = '',
|
|
54
54
|
description = '',
|
|
55
|
-
retain_repo_versions =
|
|
55
|
+
retain_repo_versions = 1,
|
|
56
56
|
remote = '',
|
|
57
57
|
autopublish = True,
|
|
58
58
|
manifest = 'PULP_MANIFEST', )
|
|
@@ -74,7 +74,7 @@ class TestPaginatedfileFileRepositoryResponseList(unittest.TestCase):
|
|
|
74
74
|
latest_version_href = '',
|
|
75
75
|
name = '',
|
|
76
76
|
description = '',
|
|
77
|
-
retain_repo_versions =
|
|
77
|
+
retain_repo_versions = 1,
|
|
78
78
|
remote = '',
|
|
79
79
|
autopublish = True,
|
|
80
80
|
manifest = 'PULP_MANIFEST', )
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/pulpcore/client/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_acs_file_api.py
RENAMED
|
File without changes
|
|
File without changes
|
{crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_content_files_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_nested_role.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_policy_enum.py
RENAMED
|
File without changes
|
|
File without changes
|
{crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_remotes_file_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_repository_sync_url.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_set_label_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{crc_pulp_file_client-20250923.1 → crc_pulp_file_client-20250923.2}/test/test_unset_label.py
RENAMED
|
File without changes
|
|
File without changes
|