crc-pulp-python-client 20250925.1__py3-none-any.whl → 20251104.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.
- crc_pulp_python_client-20251104.1.dist-info/METADATA +7919 -0
- {crc_pulp_python_client-20250925.1.dist-info → crc_pulp_python_client-20251104.1.dist-info}/RECORD +17 -17
- pulpcore/client/pulp_python/__init__.py +4 -4
- pulpcore/client/pulp_python/api/__init__.py +3 -3
- pulpcore/client/pulp_python/api/{pypi_legacy_api.py → api_legacy_api.py} +2 -2
- pulpcore/client/pulp_python/api/{pypi_api.py → api_pypi_api.py} +2 -2
- pulpcore/client/pulp_python/api/{pypi_simple_api.py → api_simple_api.py} +4 -4
- pulpcore/client/pulp_python/api/distributions_pypi_api.py +16 -10
- pulpcore/client/pulp_python/api/pypi_metadata_api.py +1 -1
- pulpcore/client/pulp_python/api/remotes_python_api.py +16 -10
- pulpcore/client/pulp_python/api/repositories_python_api.py +16 -10
- pulpcore/client/pulp_python/configuration.py +3 -3
- pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +8 -1
- pulpcore/client/pulp_python/models/python_python_distribution.py +8 -1
- pulpcore/client/pulp_python/models/python_python_distribution_response.py +8 -1
- crc_pulp_python_client-20250925.1.dist-info/METADATA +0 -25
- {crc_pulp_python_client-20250925.1.dist-info → crc_pulp_python_client-20251104.1.dist-info}/WHEEL +0 -0
- {crc_pulp_python_client-20250925.1.dist-info → crc_pulp_python_client-20251104.1.dist-info}/top_level.txt +0 -0
|
@@ -41,9 +41,10 @@ class PythonPythonDistributionResponse(BaseModel):
|
|
|
41
41
|
name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
|
|
42
42
|
repository: Optional[StrictStr] = Field(default=None, description="The latest RepositoryVersion for this Repository will be served.")
|
|
43
43
|
publication: Optional[StrictStr] = Field(default=None, description="Publication to be served")
|
|
44
|
+
repository_version: Optional[StrictStr] = Field(default=None, description="RepositoryVersion to be served.")
|
|
44
45
|
allow_uploads: Optional[StrictBool] = Field(default=True, description="Allow packages to be uploaded to this index.")
|
|
45
46
|
remote: Optional[StrictStr] = Field(default=None, description="Remote that can be used to fetch content when using pull-through caching.")
|
|
46
|
-
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "base_path", "base_url", "content_guard", "no_content_change_since", "hidden", "pulp_labels", "name", "repository", "publication", "allow_uploads", "remote"]
|
|
47
|
+
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "base_path", "base_url", "content_guard", "no_content_change_since", "hidden", "pulp_labels", "name", "repository", "publication", "repository_version", "allow_uploads", "remote"]
|
|
47
48
|
|
|
48
49
|
model_config = ConfigDict(
|
|
49
50
|
populate_by_name=True,
|
|
@@ -111,6 +112,11 @@ class PythonPythonDistributionResponse(BaseModel):
|
|
|
111
112
|
if self.publication is None and "publication" in self.model_fields_set:
|
|
112
113
|
_dict['publication'] = None
|
|
113
114
|
|
|
115
|
+
# set to None if repository_version (nullable) is None
|
|
116
|
+
# and model_fields_set contains the field
|
|
117
|
+
if self.repository_version is None and "repository_version" in self.model_fields_set:
|
|
118
|
+
_dict['repository_version'] = None
|
|
119
|
+
|
|
114
120
|
# set to None if remote (nullable) is None
|
|
115
121
|
# and model_fields_set contains the field
|
|
116
122
|
if self.remote is None and "remote" in self.model_fields_set:
|
|
@@ -141,6 +147,7 @@ class PythonPythonDistributionResponse(BaseModel):
|
|
|
141
147
|
"name": obj.get("name"),
|
|
142
148
|
"repository": obj.get("repository"),
|
|
143
149
|
"publication": obj.get("publication"),
|
|
150
|
+
"repository_version": obj.get("repository_version"),
|
|
144
151
|
"allow_uploads": obj.get("allow_uploads") if obj.get("allow_uploads") is not None else True,
|
|
145
152
|
"remote": obj.get("remote")
|
|
146
153
|
})
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: crc-pulp_python-client
|
|
3
|
-
Version: 20250925.1
|
|
4
|
-
Summary: Pulp 3 API
|
|
5
|
-
Home-page:
|
|
6
|
-
Author: Pulp Team
|
|
7
|
-
Author-email: pulp-list@redhat.com
|
|
8
|
-
License: GPLv2+
|
|
9
|
-
Keywords: pulp,pulpcore,client,Pulp 3 API
|
|
10
|
-
Description-Content-Type: text/markdown
|
|
11
|
-
Requires-Dist: urllib3<3.0.0,>=1.25.3
|
|
12
|
-
Requires-Dist: python-dateutil<2.10.0,>=2.8.1
|
|
13
|
-
Requires-Dist: pydantic>=2
|
|
14
|
-
Requires-Dist: typing-extensions>=4.7.1
|
|
15
|
-
Dynamic: author
|
|
16
|
-
Dynamic: author-email
|
|
17
|
-
Dynamic: description
|
|
18
|
-
Dynamic: description-content-type
|
|
19
|
-
Dynamic: keywords
|
|
20
|
-
Dynamic: license
|
|
21
|
-
Dynamic: requires-dist
|
|
22
|
-
Dynamic: summary
|
|
23
|
-
|
|
24
|
-
Fetch, Upload, Organize, and Distribute Software Packages
|
|
25
|
-
|
{crc_pulp_python_client-20250925.1.dist-info → crc_pulp_python_client-20251104.1.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|