crc-pulp-file-client 20250821.3__py3-none-any.whl → 20250825.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of crc-pulp-file-client might be problematic. Click here for more details.
- crc-pulp_file-client/api_client.py +1 -1
- crc-pulp_file-client/configuration.py +3 -3
- crc-pulp_file-client/models/file_file_content_response.py +5 -1
- crc-pulp_file-client/models/file_file_publication_response.py +0 -2
- crc-pulp_file-client/models/file_file_remote.py +1 -1
- crc-pulp_file-client/models/file_file_remote_response.py +1 -3
- crc-pulp_file-client/models/file_file_repository.py +2 -2
- crc-pulp_file-client/models/file_file_repository_response.py +2 -3
- crc-pulp_file-client/models/paginated_repository_version_response_list.py +0 -10
- crc-pulp_file-client/models/paginatedfile_file_alternate_content_source_response_list.py +0 -10
- crc-pulp_file-client/models/paginatedfile_file_content_response_list.py +0 -10
- crc-pulp_file-client/models/paginatedfile_file_distribution_response_list.py +0 -10
- crc-pulp_file-client/models/paginatedfile_file_publication_response_list.py +0 -10
- crc-pulp_file-client/models/paginatedfile_file_remote_response_list.py +0 -10
- crc-pulp_file-client/models/paginatedfile_file_repository_response_list.py +0 -10
- crc-pulp_file-client/models/patchedfile_file_remote.py +1 -1
- crc-pulp_file-client/models/patchedfile_file_repository.py +2 -2
- crc-pulp_file-client/models/repository_version_response.py +6 -2
- {crc_pulp_file_client-20250821.3.dist-info → crc_pulp_file_client-20250825.1.dist-info}/METADATA +1 -1
- {crc_pulp_file_client-20250821.3.dist-info → crc_pulp_file_client-20250825.1.dist-info}/RECORD +22 -22
- {crc_pulp_file_client-20250821.3.dist-info → crc_pulp_file_client-20250825.1.dist-info}/WHEEL +0 -0
- {crc_pulp_file_client-20250821.3.dist-info → crc_pulp_file_client-20250825.1.dist-info}/top_level.txt +0 -0
|
@@ -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/
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/20250825.1/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_file-client.Configuration(
|
|
|
225
225
|
) -> None:
|
|
226
226
|
"""Constructor
|
|
227
227
|
"""
|
|
228
|
-
self._base_path = "https://env-ephemeral-
|
|
228
|
+
self._base_path = "https://env-ephemeral-dtgdod.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_file-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:
|
|
560
|
+
"SDK Package Version: 20250825.1".\
|
|
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_file-client.Configuration(
|
|
|
567
567
|
"""
|
|
568
568
|
return [
|
|
569
569
|
{
|
|
570
|
-
'url': "https://env-ephemeral-
|
|
570
|
+
'url': "https://env-ephemeral-dtgdod.apps.crc-eph.r9lp.p1.openshiftapps.com",
|
|
571
571
|
'description': "No description provided",
|
|
572
572
|
}
|
|
573
573
|
]
|
|
@@ -33,6 +33,7 @@ class FileFileContentResponse(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
|
relative_path: StrictStr = Field(description="Path where the artifact is located relative to distributions base_path")
|
|
38
39
|
md5: Optional[StrictStr] = Field(default=None, description="The MD5 checksum if available.")
|
|
@@ -41,7 +42,7 @@ class FileFileContentResponse(BaseModel):
|
|
|
41
42
|
sha256: Optional[StrictStr] = Field(default=None, description="The SHA-256 checksum if available.")
|
|
42
43
|
sha384: Optional[StrictStr] = Field(default=None, description="The SHA-384 checksum if available.")
|
|
43
44
|
sha512: Optional[StrictStr] = Field(default=None, description="The SHA-512 checksum if available.")
|
|
44
|
-
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "pulp_labels", "artifact", "relative_path", "md5", "sha1", "sha224", "sha256", "sha384", "sha512"]
|
|
45
|
+
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "pulp_labels", "vuln_report", "artifact", "relative_path", "md5", "sha1", "sha224", "sha256", "sha384", "sha512"]
|
|
45
46
|
|
|
46
47
|
model_config = ConfigDict(
|
|
47
48
|
populate_by_name=True,
|
|
@@ -83,12 +84,14 @@ class FileFileContentResponse(BaseModel):
|
|
|
83
84
|
* OpenAPI `readOnly` fields are excluded.
|
|
84
85
|
* OpenAPI `readOnly` fields are excluded.
|
|
85
86
|
* OpenAPI `readOnly` fields are excluded.
|
|
87
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
86
88
|
"""
|
|
87
89
|
excluded_fields: Set[str] = set([
|
|
88
90
|
"pulp_href",
|
|
89
91
|
"prn",
|
|
90
92
|
"pulp_created",
|
|
91
93
|
"pulp_last_updated",
|
|
94
|
+
"vuln_report",
|
|
92
95
|
"md5",
|
|
93
96
|
"sha1",
|
|
94
97
|
"sha224",
|
|
@@ -119,6 +122,7 @@ class FileFileContentResponse(BaseModel):
|
|
|
119
122
|
"pulp_created": obj.get("pulp_created"),
|
|
120
123
|
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
121
124
|
"pulp_labels": obj.get("pulp_labels"),
|
|
125
|
+
"vuln_report": obj.get("vuln_report"),
|
|
122
126
|
"artifact": obj.get("artifact"),
|
|
123
127
|
"relative_path": obj.get("relative_path"),
|
|
124
128
|
"md5": obj.get("md5"),
|
|
@@ -73,14 +73,12 @@ 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.
|
|
77
76
|
"""
|
|
78
77
|
excluded_fields: Set[str] = set([
|
|
79
78
|
"pulp_href",
|
|
80
79
|
"prn",
|
|
81
80
|
"pulp_created",
|
|
82
81
|
"pulp_last_updated",
|
|
83
|
-
"distributions",
|
|
84
82
|
])
|
|
85
83
|
|
|
86
84
|
_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[StrictInt] = 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[StrictInt] = 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,14 +88,12 @@ 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.
|
|
92
91
|
"""
|
|
93
92
|
excluded_fields: Set[str] = set([
|
|
94
93
|
"pulp_href",
|
|
95
94
|
"prn",
|
|
96
95
|
"pulp_created",
|
|
97
96
|
"pulp_last_updated",
|
|
98
|
-
"hidden_fields",
|
|
99
97
|
])
|
|
100
98
|
|
|
101
99
|
_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, 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 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[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
|
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,9 +19,8 @@ import re # noqa: F401
|
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
21
|
from datetime import datetime
|
|
22
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|
22
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
|
|
23
23
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
24
|
-
from typing_extensions import Annotated
|
|
25
24
|
from typing import Optional, Set
|
|
26
25
|
from typing_extensions import Self
|
|
27
26
|
|
|
@@ -38,7 +37,7 @@ class FileFileRepositoryResponse(BaseModel):
|
|
|
38
37
|
latest_version_href: Optional[StrictStr] = None
|
|
39
38
|
name: StrictStr = Field(description="A unique name for this repository.")
|
|
40
39
|
description: Optional[StrictStr] = Field(default=None, description="An optional description.")
|
|
41
|
-
retain_repo_versions: Optional[
|
|
40
|
+
retain_repo_versions: Optional[StrictInt] = Field(default=None, description="Retain X versions of the repository. Default is null which retains all versions.")
|
|
42
41
|
remote: Optional[StrictStr] = Field(default=None, description="An optional remote to use by default when syncing.")
|
|
43
42
|
autopublish: Optional[StrictBool] = Field(default=False, description="Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.")
|
|
44
43
|
manifest: Optional[StrictStr] = Field(default='PULP_MANIFEST', description="Filename to use for manifest file containing metadata for all the files.")
|
|
@@ -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 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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ 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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ 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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ 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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ 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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ 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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@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[StrictInt] = 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, 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 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[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
|
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.")
|
|
@@ -37,7 +37,8 @@ class RepositoryVersionResponse(BaseModel):
|
|
|
37
37
|
repository: Optional[StrictStr] = None
|
|
38
38
|
base_version: Optional[StrictStr] = Field(default=None, description="A repository version whose content was used as the initial set of content for this repository version")
|
|
39
39
|
content_summary: Optional[ContentSummaryResponse] = Field(default=None, description="Various count summaries of the content in the version and the HREF to view them.")
|
|
40
|
-
|
|
40
|
+
vuln_report: Optional[StrictStr] = None
|
|
41
|
+
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "number", "repository", "base_version", "content_summary", "vuln_report"]
|
|
41
42
|
|
|
42
43
|
model_config = ConfigDict(
|
|
43
44
|
populate_by_name=True,
|
|
@@ -76,6 +77,7 @@ class RepositoryVersionResponse(BaseModel):
|
|
|
76
77
|
* OpenAPI `readOnly` fields are excluded.
|
|
77
78
|
* OpenAPI `readOnly` fields are excluded.
|
|
78
79
|
* OpenAPI `readOnly` fields are excluded.
|
|
80
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
79
81
|
"""
|
|
80
82
|
excluded_fields: Set[str] = set([
|
|
81
83
|
"pulp_href",
|
|
@@ -85,6 +87,7 @@ class RepositoryVersionResponse(BaseModel):
|
|
|
85
87
|
"number",
|
|
86
88
|
"repository",
|
|
87
89
|
"content_summary",
|
|
90
|
+
"vuln_report",
|
|
88
91
|
])
|
|
89
92
|
|
|
90
93
|
_dict = self.model_dump(
|
|
@@ -114,7 +117,8 @@ class RepositoryVersionResponse(BaseModel):
|
|
|
114
117
|
"number": obj.get("number"),
|
|
115
118
|
"repository": obj.get("repository"),
|
|
116
119
|
"base_version": obj.get("base_version"),
|
|
117
|
-
"content_summary": ContentSummaryResponse.from_dict(obj["content_summary"]) if obj.get("content_summary") is not None else None
|
|
120
|
+
"content_summary": ContentSummaryResponse.from_dict(obj["content_summary"]) if obj.get("content_summary") is not None else None,
|
|
121
|
+
"vuln_report": obj.get("vuln_report")
|
|
118
122
|
})
|
|
119
123
|
return _obj
|
|
120
124
|
|
{crc_pulp_file_client-20250821.3.dist-info → crc_pulp_file_client-20250825.1.dist-info}/RECORD
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
crc-pulp_file-client/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
|
|
2
|
-
crc-pulp_file-client/api_client.py,sha256=
|
|
2
|
+
crc-pulp_file-client/api_client.py,sha256=llW-nCqWfPCLaDDB6RwTWq8bizlThIy01jwSNSmJ7gc,27493
|
|
3
3
|
crc-pulp_file-client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
crc-pulp_file-client/configuration.py,sha256=
|
|
4
|
+
crc-pulp_file-client/configuration.py,sha256=O4_H_3Vv2Ch8_Z-TfHqW3m9JuGqyyX6OU6WOHUZ4ER8,19662
|
|
5
5
|
crc-pulp_file-client/exceptions.py,sha256=voqdIkPGpfNSUF9SsFqERflJMVs-uYFH60fd1rcsz6Y,5957
|
|
6
6
|
crc-pulp_file-client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
crc-pulp_file-client/rest.py,sha256=JKknlbkE_MXbz6WuZvUL-4wb9v6E9PwWeC0-AbKtsvU,9403
|
|
@@ -18,42 +18,42 @@ crc-pulp_file-client/models/async_operation_response.py,sha256=IbcgvoCxfMCL9HXaP
|
|
|
18
18
|
crc-pulp_file-client/models/content_summary_response.py,sha256=lu9_HyGS1qnHpEQLJYe_e9rk9VGohiCNSI7mi7ZeobA,2714
|
|
19
19
|
crc-pulp_file-client/models/file_file_alternate_content_source.py,sha256=jsMQFKhWMZCvFIOmXwmQdi2U9NnVGm6NFiwTaMiBvW8,3544
|
|
20
20
|
crc-pulp_file-client/models/file_file_alternate_content_source_response.py,sha256=uqInWOdMZSn6Nxh840xRF-0WHt3RB2Tp3h_gwNR8IWQ,4522
|
|
21
|
-
crc-pulp_file-client/models/file_file_content_response.py,sha256=
|
|
21
|
+
crc-pulp_file-client/models/file_file_content_response.py,sha256=y96Bd1wKXcGLmRrlfvuFmVc2gE4w_93QKOseGBf_Zl0,5690
|
|
22
22
|
crc-pulp_file-client/models/file_file_distribution.py,sha256=qPUzMFTCCZqvAYepNMl7MBFpyFc27A4YSQUqhg4U9Nk,4676
|
|
23
23
|
crc-pulp_file-client/models/file_file_distribution_response.py,sha256=-91JAVb2-Xlm4mZDFjoiu9SSFvANqo8sjDKJrDAyOQM,6393
|
|
24
24
|
crc-pulp_file-client/models/file_file_publication.py,sha256=u3U1g_WGZDei6_DTVz0LSVq54O1QnsXej3t_e5wyFBg,3439
|
|
25
|
-
crc-pulp_file-client/models/file_file_publication_response.py,sha256=
|
|
26
|
-
crc-pulp_file-client/models/file_file_remote.py,sha256=
|
|
27
|
-
crc-pulp_file-client/models/file_file_remote_response.py,sha256=
|
|
25
|
+
crc-pulp_file-client/models/file_file_publication_response.py,sha256=L2NyaF6t8dZXPdD8NIQYF8H_SKbCseKUsnKGvfmkZwM,4712
|
|
26
|
+
crc-pulp_file-client/models/file_file_remote.py,sha256=YD05ibExoejEnrurwDHA2d3kno_sEfrEt7brn5sR_54,11917
|
|
27
|
+
crc-pulp_file-client/models/file_file_remote_response.py,sha256=e-PIAw2jrOloWKZiCHalBJhT0735Dulo6dyXbhyaJQo,11131
|
|
28
28
|
crc-pulp_file-client/models/file_file_remote_response_hidden_fields_inner.py,sha256=IKGVxnSiUd0tbbA6MZIWH-vOTVmhqrlPASmYxE6hfk8,2643
|
|
29
|
-
crc-pulp_file-client/models/file_file_repository.py,sha256=
|
|
30
|
-
crc-pulp_file-client/models/file_file_repository_response.py,sha256=
|
|
29
|
+
crc-pulp_file-client/models/file_file_repository.py,sha256=YILoZhDYvMQbdqKqIaOM0Y39zXJcahGCIII5cDqmtDQ,4970
|
|
30
|
+
crc-pulp_file-client/models/file_file_repository_response.py,sha256=Q69HAyXpL4W-28dBdW_lyCEQ2mtj7saoinZ0vNHT1g8,6363
|
|
31
31
|
crc-pulp_file-client/models/my_permissions_response.py,sha256=q5KI8WcrUykr38UGVLlque5b7NVMZFd7-Gy0exa-YK8,2519
|
|
32
32
|
crc-pulp_file-client/models/nested_role.py,sha256=_QDbpC49ZywdkvKtd2vWnh9cxhct1kcHizHxQ1pIvH0,3003
|
|
33
33
|
crc-pulp_file-client/models/nested_role_response.py,sha256=j3oDMZ6T7FdGcuOdhKM5VkAYn0aUbcF73675vaNDOxk,2874
|
|
34
34
|
crc-pulp_file-client/models/object_roles_response.py,sha256=aAjbt6kdjC6RKxHObhQCdaCQc5HTYZgBoXHtcwIeFEg,2969
|
|
35
|
-
crc-pulp_file-client/models/paginated_repository_version_response_list.py,sha256=
|
|
36
|
-
crc-pulp_file-client/models/paginatedfile_file_alternate_content_source_response_list.py,sha256=
|
|
37
|
-
crc-pulp_file-client/models/paginatedfile_file_content_response_list.py,sha256=
|
|
38
|
-
crc-pulp_file-client/models/paginatedfile_file_distribution_response_list.py,sha256=
|
|
39
|
-
crc-pulp_file-client/models/paginatedfile_file_publication_response_list.py,sha256=
|
|
40
|
-
crc-pulp_file-client/models/paginatedfile_file_remote_response_list.py,sha256=
|
|
41
|
-
crc-pulp_file-client/models/paginatedfile_file_repository_response_list.py,sha256=
|
|
35
|
+
crc-pulp_file-client/models/paginated_repository_version_response_list.py,sha256=FW1gNLiw3BT-qJO32ZY9lfw2pp51OeIHM7FJKKd21Fo,3378
|
|
36
|
+
crc-pulp_file-client/models/paginatedfile_file_alternate_content_source_response_list.py,sha256=m34K81y6OPq43Uhv-xoGlA4RunSGkfgaSz44S9TpXXM,3485
|
|
37
|
+
crc-pulp_file-client/models/paginatedfile_file_content_response_list.py,sha256=ntfAWgbhAfOqSxOzEzp9184FviHxdHEhmIizvObcSyM,3363
|
|
38
|
+
crc-pulp_file-client/models/paginatedfile_file_distribution_response_list.py,sha256=ClYWwVzHF9decU1B_kNf-PZwpS_WmltDWQxzs9MrpSo,3403
|
|
39
|
+
crc-pulp_file-client/models/paginatedfile_file_publication_response_list.py,sha256=9Yzvid0CwTQaLbsrwe_X-EZ6SnNiOFIZX3_sU1yX3Vk,3395
|
|
40
|
+
crc-pulp_file-client/models/paginatedfile_file_remote_response_list.py,sha256=dOI0w3bCWg1Xd-44PE1t24yoFy73huun56ie1P2pUs4,3355
|
|
41
|
+
crc-pulp_file-client/models/paginatedfile_file_repository_response_list.py,sha256=MV4X5XuxHwfKzwwTU_VBS9i_ejxdNwyL0ICOJdsK_4E,3387
|
|
42
42
|
crc-pulp_file-client/models/patchedfile_file_alternate_content_source.py,sha256=DC5r0E7lUcy-SDmtPZwqSxKgeWbH-r6aywOzoUMlZ9o,3613
|
|
43
43
|
crc-pulp_file-client/models/patchedfile_file_distribution.py,sha256=XUiXlisq_RJL6CxAuCn35l_NnWvhjHkLdcJKlG2JRZU,4745
|
|
44
|
-
crc-pulp_file-client/models/patchedfile_file_remote.py,sha256=
|
|
45
|
-
crc-pulp_file-client/models/patchedfile_file_repository.py,sha256=
|
|
44
|
+
crc-pulp_file-client/models/patchedfile_file_remote.py,sha256=bysOj4g_4_Hls8WumtYmeC2K27KL9eaMLDlGOC_UK6Q,11986
|
|
45
|
+
crc-pulp_file-client/models/patchedfile_file_repository.py,sha256=hx2gb_OsPpDXQkzj4EbcKUjUiMD7IQmPu0zxKPer9Rw,5015
|
|
46
46
|
crc-pulp_file-client/models/policy_enum.py,sha256=alBNbWymx71uIJJLX3vvtlW-2wIql23bfXHM-DtgCww,1254
|
|
47
47
|
crc-pulp_file-client/models/repair.py,sha256=M8UfanWpr-eFWYNl6Dba83L-dI2BA9djt8QxIhPR6i4,2756
|
|
48
48
|
crc-pulp_file-client/models/repository_add_remove_content.py,sha256=q_pkagT8zIyG59AOIOCuZtBOVwrh_RHAbv6JcBPR0H8,3782
|
|
49
49
|
crc-pulp_file-client/models/repository_sync_url.py,sha256=BdTHsJJ7zQzJta874hLiAVkZD105xjhqY5g1QZgOFGw,2964
|
|
50
|
-
crc-pulp_file-client/models/repository_version_response.py,sha256=
|
|
50
|
+
crc-pulp_file-client/models/repository_version_response.py,sha256=ljsy8uF-6KT3jpgKiTD-BXhGmZ4j31i8BRLlyr1P6tc,5332
|
|
51
51
|
crc-pulp_file-client/models/set_label.py,sha256=U4GfMTtATF317Z37s7E8CAeTo0u64QLEYZ79ZTsTOYQ,3153
|
|
52
52
|
crc-pulp_file-client/models/set_label_response.py,sha256=nUSYQHAxcJ3ATyUmBfiu8L6xSspCLKwbwxVSZaY9yv0,3163
|
|
53
53
|
crc-pulp_file-client/models/task_group_operation_response.py,sha256=78pUJXTIErFTVy3AFbqzjGppZyJdi582pYqxbquQnBw,2625
|
|
54
54
|
crc-pulp_file-client/models/unset_label.py,sha256=m6s6AFgi5_7fKsjPhcLwz7ZjKXsSd_4F6PS7u5eINO0,2858
|
|
55
55
|
crc-pulp_file-client/models/unset_label_response.py,sha256=-TZohJf66mUqg4qD04k1dNoyAx69bX_VSf-HM9EpqN8,3046
|
|
56
|
-
crc_pulp_file_client-
|
|
57
|
-
crc_pulp_file_client-
|
|
58
|
-
crc_pulp_file_client-
|
|
59
|
-
crc_pulp_file_client-
|
|
56
|
+
crc_pulp_file_client-20250825.1.dist-info/METADATA,sha256=j9OcED-L2ftpPstOr93lIZzw5_7dW_mzpuLFt6NFVbc,639
|
|
57
|
+
crc_pulp_file_client-20250825.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
58
|
+
crc_pulp_file_client-20250825.1.dist-info/top_level.txt,sha256=_wJqCg-aViCvA_T1gPVI9Ifi11QgCjcSvsMpIqJhZII,21
|
|
59
|
+
crc_pulp_file_client-20250825.1.dist-info/RECORD,,
|
{crc_pulp_file_client-20250821.3.dist-info → crc_pulp_file_client-20250825.1.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|