crc-pulp-python-client 20251006.1__py3-none-any.whl → 20251204.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-python-client might be problematic. Click here for more details.

@@ -67,7 +67,8 @@ class PythonPythonPackageContentResponse(BaseModel):
67
67
  packagetype: Optional[StrictStr] = Field(default=None, description="The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc)")
68
68
  python_version: Optional[StrictStr] = Field(default=None, description="The tag that indicates which Python implementation or version the package requires.")
69
69
  sha256: Optional[StrictStr] = Field(default='', description="The SHA256 digest of this package.")
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
+ metadata_sha256: Optional[StrictStr] = Field(default=None, description="The SHA256 digest of the package's METADATA file.")
71
+ __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", "metadata_sha256"]
71
72
 
72
73
  model_config = ConfigDict(
73
74
  populate_by_name=True,
@@ -175,6 +176,11 @@ class PythonPythonPackageContentResponse(BaseModel):
175
176
  if self.license_file is None and "license_file" in self.model_fields_set:
176
177
  _dict['license_file'] = None
177
178
 
179
+ # set to None if metadata_sha256 (nullable) is None
180
+ # and model_fields_set contains the field
181
+ if self.metadata_sha256 is None and "metadata_sha256" in self.model_fields_set:
182
+ _dict['metadata_sha256'] = None
183
+
178
184
  return _dict
179
185
 
180
186
  @classmethod
@@ -225,7 +231,8 @@ class PythonPythonPackageContentResponse(BaseModel):
225
231
  "filename": obj.get("filename"),
226
232
  "packagetype": obj.get("packagetype"),
227
233
  "python_version": obj.get("python_version"),
228
- "sha256": obj.get("sha256") if obj.get("sha256") is not None else ''
234
+ "sha256": obj.get("sha256") if obj.get("sha256") is not None else '',
235
+ "metadata_sha256": obj.get("metadata_sha256")
229
236
  })
230
237
  return _obj
231
238
 
@@ -1,25 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: crc-pulp_python-client
3
- Version: 20251006.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
-