crc-pulpcore-client 20251104.2__py3-none-any.whl → 20251119.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_pulpcore_client-20251104.2.dist-info → crc_pulpcore_client-20251119.1.dist-info}/METADATA +515 -515
- {crc_pulpcore_client-20251104.2.dist-info → crc_pulpcore_client-20251119.1.dist-info}/RECORD +7 -7
- pulpcore/client/pulpcore/__init__.py +1 -1
- pulpcore/client/pulpcore/configuration.py +3 -3
- pulpcore/client/pulpcore/models/artifact_distribution_response.py +16 -16
- {crc_pulpcore_client-20251104.2.dist-info → crc_pulpcore_client-20251119.1.dist-info}/WHEEL +0 -0
- {crc_pulpcore_client-20251104.2.dist-info → crc_pulpcore_client-20251119.1.dist-info}/top_level.txt +0 -0
{crc_pulpcore_client-20251104.2.dist-info → crc_pulpcore_client-20251119.1.dist-info}/RECORD
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
pulpcore/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
|
|
2
2
|
pulpcore/client/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
|
|
3
|
-
pulpcore/client/pulpcore/__init__.py,sha256=
|
|
3
|
+
pulpcore/client/pulpcore/__init__.py,sha256=P6zOMvMmGbvBgI2Ea2IHaNzy-P1ZKokF589BHWS3t5M,21079
|
|
4
4
|
pulpcore/client/pulpcore/api_client.py,sha256=PwPouKKDUha6P7TCj1lX0C1c65pnJw498lmNEOmk8_Y,27497
|
|
5
5
|
pulpcore/client/pulpcore/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
6
|
-
pulpcore/client/pulpcore/configuration.py,sha256=
|
|
6
|
+
pulpcore/client/pulpcore/configuration.py,sha256=5-J7cNwyxl2StZPKpAf2-yAm2Aod3iWrijBraI8fxug,19674
|
|
7
7
|
pulpcore/client/pulpcore/exceptions.py,sha256=voqdIkPGpfNSUF9SsFqERflJMVs-uYFH60fd1rcsz6Y,5957
|
|
8
8
|
pulpcore/client/pulpcore/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
pulpcore/client/pulpcore/rest.py,sha256=ZFqHiM-CIVneED6Dl_oqo7zt3Uqa_fBHPCvoMvLG0YY,9407
|
|
@@ -62,7 +62,7 @@ pulpcore/client/pulpcore/models/__init__.py,sha256=i68BXgoQ6TL3jw3uyMyfH0YAgfVxp
|
|
|
62
62
|
pulpcore/client/pulpcore/models/access_policy.py,sha256=o_UQkz1odEC7WkNVr1Wd7FUBF3Sa8MyS2rOvb-ozwbc,3427
|
|
63
63
|
pulpcore/client/pulpcore/models/access_policy_response.py,sha256=xz4QOVu46bgH8_rMh0yiilUE6zHv846XScHyBAufGM0,5127
|
|
64
64
|
pulpcore/client/pulpcore/models/app_status_response.py,sha256=7Rwrum0tCejkwY-KCBAtgO3HCs892layz8_UlbEUIFY,3210
|
|
65
|
-
pulpcore/client/pulpcore/models/artifact_distribution_response.py,sha256=
|
|
65
|
+
pulpcore/client/pulpcore/models/artifact_distribution_response.py,sha256=Vm2Ze8q8JDe2SaLYZV7xlsIb6eDCcfO0qnVHyrGcabc,5474
|
|
66
66
|
pulpcore/client/pulpcore/models/artifact_response.py,sha256=RRXzTZXO-RP9ashupuQIn7yt2UWHh85_PW6Dh9IjyDM,6276
|
|
67
67
|
pulpcore/client/pulpcore/models/async_operation_response.py,sha256=IbcgvoCxfMCL9HXaPJDPLgDo8IKE12QKstLIxzhegt8,2558
|
|
68
68
|
pulpcore/client/pulpcore/models/composite_content_guard.py,sha256=7GRHt4V0-OB23eq4sCc4nsoj_gK2eiMPmN3RQn517BY,3260
|
|
@@ -232,7 +232,7 @@ pulpcore/client/pulpcore/models/user_role_response.py,sha256=bm3iqxiBLZbOYeqAqDF
|
|
|
232
232
|
pulpcore/client/pulpcore/models/version_response.py,sha256=0rUURzqK9Y-zSLgRVMsGEYCxoxobrP7cGNYxds9c9rU,3200
|
|
233
233
|
pulpcore/client/pulpcore/models/vulnerability_report_response.py,sha256=y1k92R0X6_g-CoNxD6yGI3JKn-cC5ELF-BmR9BnmDX0,4150
|
|
234
234
|
pulpcore/client/pulpcore/models/worker_response.py,sha256=UcYlVB38did0eeYVgG9wgUaHqpUzHBM7pWLZmtaxh7I,4899
|
|
235
|
-
crc_pulpcore_client-
|
|
236
|
-
crc_pulpcore_client-
|
|
237
|
-
crc_pulpcore_client-
|
|
238
|
-
crc_pulpcore_client-
|
|
235
|
+
crc_pulpcore_client-20251119.1.dist-info/METADATA,sha256=yzgc6qgo4Qdtix_Ia8u24Fre0PhcuVz-SiUA1jJo_qs,1388985
|
|
236
|
+
crc_pulpcore_client-20251119.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
237
|
+
crc_pulpcore_client-20251119.1.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
|
|
238
|
+
crc_pulpcore_client-20251119.1.dist-info/RECORD,,
|
|
@@ -225,7 +225,7 @@ conf = pulpcore.client.pulpcore.Configuration(
|
|
|
225
225
|
) -> None:
|
|
226
226
|
"""Constructor
|
|
227
227
|
"""
|
|
228
|
-
self._base_path = "https://env-ephemeral-
|
|
228
|
+
self._base_path = "https://env-ephemeral-gookxw.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.pulpcore.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: 20251119.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 = pulpcore.client.pulpcore.Configuration(
|
|
|
567
567
|
"""
|
|
568
568
|
return [
|
|
569
569
|
{
|
|
570
|
-
'url': "https://env-ephemeral-
|
|
570
|
+
'url': "https://env-ephemeral-gookxw.apps.crc-eph.r9lp.p1.openshiftapps.com",
|
|
571
571
|
'description': "No description provided",
|
|
572
572
|
}
|
|
573
573
|
]
|
|
@@ -28,18 +28,18 @@ class ArtifactDistributionResponse(BaseModel):
|
|
|
28
28
|
"""
|
|
29
29
|
A serializer for ArtifactDistribution.
|
|
30
30
|
""" # noqa: E501
|
|
31
|
+
base_path: StrictStr = Field(description="The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")")
|
|
31
32
|
no_content_change_since: Optional[StrictStr] = Field(default=None, description="Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.")
|
|
32
|
-
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
33
33
|
hidden: Optional[StrictBool] = Field(default=False, description="Whether this distribution should be shown in the content app.")
|
|
34
|
-
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
35
|
-
base_url: Optional[StrictStr] = Field(default=None, description="The URL for accessing the publication as defined by this distribution.")
|
|
36
|
-
base_path: StrictStr = Field(description="The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")")
|
|
37
|
-
name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
|
|
38
34
|
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
35
|
+
pulp_href: Optional[StrictStr] = None
|
|
36
|
+
name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
|
|
37
|
+
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
38
|
+
base_url: Optional[StrictStr] = Field(default=None, description="The URL for accessing the publication as defined by this distribution.")
|
|
39
39
|
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.")
|
|
40
|
+
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
40
41
|
content_guard: Optional[StrictStr] = Field(default=None, description="An optional content-guard.")
|
|
41
|
-
|
|
42
|
-
__properties: ClassVar[List[str]] = ["no_content_change_since", "prn", "hidden", "pulp_labels", "base_url", "base_path", "name", "pulp_created", "pulp_last_updated", "content_guard", "pulp_href"]
|
|
42
|
+
__properties: ClassVar[List[str]] = ["base_path", "no_content_change_since", "hidden", "pulp_created", "pulp_href", "name", "prn", "base_url", "pulp_last_updated", "pulp_labels", "content_guard"]
|
|
43
43
|
|
|
44
44
|
model_config = ConfigDict(
|
|
45
45
|
populate_by_name=True,
|
|
@@ -80,11 +80,11 @@ class ArtifactDistributionResponse(BaseModel):
|
|
|
80
80
|
"""
|
|
81
81
|
excluded_fields: Set[str] = set([
|
|
82
82
|
"no_content_change_since",
|
|
83
|
+
"pulp_created",
|
|
84
|
+
"pulp_href",
|
|
83
85
|
"prn",
|
|
84
86
|
"base_url",
|
|
85
|
-
"pulp_created",
|
|
86
87
|
"pulp_last_updated",
|
|
87
|
-
"pulp_href",
|
|
88
88
|
])
|
|
89
89
|
|
|
90
90
|
_dict = self.model_dump(
|
|
@@ -109,17 +109,17 @@ class ArtifactDistributionResponse(BaseModel):
|
|
|
109
109
|
return cls.model_validate(obj)
|
|
110
110
|
|
|
111
111
|
_obj = cls.model_validate({
|
|
112
|
+
"base_path": obj.get("base_path"),
|
|
112
113
|
"no_content_change_since": obj.get("no_content_change_since"),
|
|
113
|
-
"prn": obj.get("prn"),
|
|
114
114
|
"hidden": obj.get("hidden") if obj.get("hidden") is not None else False,
|
|
115
|
-
"pulp_labels": obj.get("pulp_labels"),
|
|
116
|
-
"base_url": obj.get("base_url"),
|
|
117
|
-
"base_path": obj.get("base_path"),
|
|
118
|
-
"name": obj.get("name"),
|
|
119
115
|
"pulp_created": obj.get("pulp_created"),
|
|
116
|
+
"pulp_href": obj.get("pulp_href"),
|
|
117
|
+
"name": obj.get("name"),
|
|
118
|
+
"prn": obj.get("prn"),
|
|
119
|
+
"base_url": obj.get("base_url"),
|
|
120
120
|
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
121
|
-
"
|
|
122
|
-
"
|
|
121
|
+
"pulp_labels": obj.get("pulp_labels"),
|
|
122
|
+
"content_guard": obj.get("content_guard")
|
|
123
123
|
})
|
|
124
124
|
return _obj
|
|
125
125
|
|
|
File without changes
|
{crc_pulpcore_client-20251104.2.dist-info → crc_pulpcore_client-20251119.1.dist-info}/top_level.txt
RENAMED
|
File without changes
|