pulpcore-client 3.80.0__py3-none-any.whl → 3.80.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.
- pulpcore/client/pulpcore/__init__.py +1 -1
- pulpcore/client/pulpcore/api_client.py +1 -1
- pulpcore/client/pulpcore/configuration.py +1 -1
- pulpcore/client/pulpcore/models/artifact_distribution_response.py +16 -16
- {pulpcore_client-3.80.0.dist-info → pulpcore_client-3.80.1.dist-info}/METADATA +1 -1
- {pulpcore_client-3.80.0.dist-info → pulpcore_client-3.80.1.dist-info}/RECORD +8 -8
- {pulpcore_client-3.80.0.dist-info → pulpcore_client-3.80.1.dist-info}/WHEEL +0 -0
- {pulpcore_client-3.80.0.dist-info → pulpcore_client-3.80.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/3.80.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/3.80.1/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -549,7 +549,7 @@ conf = pulpcore.client.pulpcore.Configuration(
|
|
|
549
549
|
"OS: {env}\n"\
|
|
550
550
|
"Python Version: {pyversion}\n"\
|
|
551
551
|
"Version of the API: v3\n"\
|
|
552
|
-
"SDK Package Version: 3.80.
|
|
552
|
+
"SDK Package Version: 3.80.1".\
|
|
553
553
|
format(env=sys.platform, pyversion=sys.version)
|
|
554
554
|
|
|
555
555
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -29,17 +29,17 @@ class ArtifactDistributionResponse(BaseModel):
|
|
|
29
29
|
A serializer for ArtifactDistribution.
|
|
30
30
|
""" # noqa: E501
|
|
31
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\")")
|
|
32
|
-
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
33
32
|
pulp_href: Optional[StrictStr] = None
|
|
34
|
-
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
35
|
-
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.")
|
|
36
33
|
base_url: Optional[StrictStr] = Field(default=None, description="The URL for accessing the publication as defined by this distribution.")
|
|
37
|
-
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.")
|
|
38
|
-
content_guard: Optional[StrictStr] = Field(default=None, description="An optional content-guard.")
|
|
39
|
-
hidden: Optional[StrictBool] = Field(default=False, description="Whether this distribution should be shown in the content app.")
|
|
40
34
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
35
|
+
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
36
|
+
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.")
|
|
41
37
|
name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
|
|
42
|
-
|
|
38
|
+
hidden: Optional[StrictBool] = Field(default=False, description="Whether this distribution should be shown in the content app.")
|
|
39
|
+
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.")
|
|
40
|
+
content_guard: Optional[StrictStr] = Field(default=None, description="An optional content-guard.")
|
|
41
|
+
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
42
|
+
__properties: ClassVar[List[str]] = ["base_path", "pulp_href", "base_url", "pulp_labels", "pulp_created", "pulp_last_updated", "name", "hidden", "no_content_change_since", "content_guard", "prn"]
|
|
43
43
|
|
|
44
44
|
model_config = ConfigDict(
|
|
45
45
|
populate_by_name=True,
|
|
@@ -79,12 +79,12 @@ class ArtifactDistributionResponse(BaseModel):
|
|
|
79
79
|
* OpenAPI `readOnly` fields are excluded.
|
|
80
80
|
"""
|
|
81
81
|
excluded_fields: Set[str] = set([
|
|
82
|
-
"prn",
|
|
83
82
|
"pulp_href",
|
|
84
|
-
"pulp_created",
|
|
85
|
-
"no_content_change_since",
|
|
86
83
|
"base_url",
|
|
84
|
+
"pulp_created",
|
|
87
85
|
"pulp_last_updated",
|
|
86
|
+
"no_content_change_since",
|
|
87
|
+
"prn",
|
|
88
88
|
])
|
|
89
89
|
|
|
90
90
|
_dict = self.model_dump(
|
|
@@ -110,16 +110,16 @@ class ArtifactDistributionResponse(BaseModel):
|
|
|
110
110
|
|
|
111
111
|
_obj = cls.model_validate({
|
|
112
112
|
"base_path": obj.get("base_path"),
|
|
113
|
-
"prn": obj.get("prn"),
|
|
114
113
|
"pulp_href": obj.get("pulp_href"),
|
|
115
|
-
"pulp_created": obj.get("pulp_created"),
|
|
116
|
-
"no_content_change_since": obj.get("no_content_change_since"),
|
|
117
114
|
"base_url": obj.get("base_url"),
|
|
115
|
+
"pulp_labels": obj.get("pulp_labels"),
|
|
116
|
+
"pulp_created": obj.get("pulp_created"),
|
|
118
117
|
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
119
|
-
"
|
|
118
|
+
"name": obj.get("name"),
|
|
120
119
|
"hidden": obj.get("hidden") if obj.get("hidden") is not None else False,
|
|
121
|
-
"
|
|
122
|
-
"
|
|
120
|
+
"no_content_change_since": obj.get("no_content_change_since"),
|
|
121
|
+
"content_guard": obj.get("content_guard"),
|
|
122
|
+
"prn": obj.get("prn")
|
|
123
123
|
})
|
|
124
124
|
return _obj
|
|
125
125
|
|
|
@@ -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=
|
|
4
|
-
pulpcore/client/pulpcore/api_client.py,sha256=
|
|
3
|
+
pulpcore/client/pulpcore/__init__.py,sha256=cxiqqIoTUaJM2H-A-BjtxCfCKkOlh9QATIdfoleWxFE,20876
|
|
4
|
+
pulpcore/client/pulpcore/api_client.py,sha256=4-uqn29hRPXr0oZpJlzeMFxEEymatJ1rxKtCN5zfwd8,27513
|
|
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=Io2RTmaGd_1M03KJrfEjgWzirZmRu-2APFjucAbx4yc,19241
|
|
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
|
|
@@ -61,7 +61,7 @@ pulpcore/client/pulpcore/models/__init__.py,sha256=TtVQdGtNzj7ULlXHWrOXJo5TCNGhp
|
|
|
61
61
|
pulpcore/client/pulpcore/models/access_policy.py,sha256=o_UQkz1odEC7WkNVr1Wd7FUBF3Sa8MyS2rOvb-ozwbc,3427
|
|
62
62
|
pulpcore/client/pulpcore/models/access_policy_response.py,sha256=xz4QOVu46bgH8_rMh0yiilUE6zHv846XScHyBAufGM0,5127
|
|
63
63
|
pulpcore/client/pulpcore/models/api_app_status_response.py,sha256=yOctQFMFveeyDOmLf5K2XYFSGUpvGrZfIra4TbgsxFU,3518
|
|
64
|
-
pulpcore/client/pulpcore/models/artifact_distribution_response.py,sha256=
|
|
64
|
+
pulpcore/client/pulpcore/models/artifact_distribution_response.py,sha256=BdCligVdoVkMCReVMVgPaqSZKDdQkN3_Z1Jz9yXgowM,5474
|
|
65
65
|
pulpcore/client/pulpcore/models/artifact_response.py,sha256=RRXzTZXO-RP9ashupuQIn7yt2UWHh85_PW6Dh9IjyDM,6276
|
|
66
66
|
pulpcore/client/pulpcore/models/async_operation_response.py,sha256=IbcgvoCxfMCL9HXaPJDPLgDo8IKE12QKstLIxzhegt8,2558
|
|
67
67
|
pulpcore/client/pulpcore/models/composite_content_guard.py,sha256=14YjxM8-MDxiOyOtowfHDFsqKnbyM4iyGSr4VPDcozM,3535
|
|
@@ -230,7 +230,7 @@ pulpcore/client/pulpcore/models/user_role.py,sha256=pAVQrQDbx7PrQo4Ae_Axy-FV9PfO
|
|
|
230
230
|
pulpcore/client/pulpcore/models/user_role_response.py,sha256=bm3iqxiBLZbOYeqAqDFrybFdcTPOA-jB0Kz9NKfAjII,5472
|
|
231
231
|
pulpcore/client/pulpcore/models/version_response.py,sha256=0rUURzqK9Y-zSLgRVMsGEYCxoxobrP7cGNYxds9c9rU,3200
|
|
232
232
|
pulpcore/client/pulpcore/models/worker_response.py,sha256=UcYlVB38did0eeYVgG9wgUaHqpUzHBM7pWLZmtaxh7I,4899
|
|
233
|
-
pulpcore_client-3.80.
|
|
234
|
-
pulpcore_client-3.80.
|
|
235
|
-
pulpcore_client-3.80.
|
|
236
|
-
pulpcore_client-3.80.
|
|
233
|
+
pulpcore_client-3.80.1.dist-info/METADATA,sha256=6Nbxeuyfa6AwzE_F6P1UHk5pzGXjJrK8Xptw_-hhCj4,462
|
|
234
|
+
pulpcore_client-3.80.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
235
|
+
pulpcore_client-3.80.1.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
|
|
236
|
+
pulpcore_client-3.80.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|