crc-pulpcore-client 20250828.1__py3-none-any.whl → 20250828.3__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.
@@ -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/20250828.1/python'
94
+ self.user_agent = 'OpenAPI-Generator/20250828.3/python'
95
95
  self.client_side_validation = configuration.client_side_validation
96
96
 
97
97
  def __enter__(self):
@@ -225,7 +225,7 @@ conf = crc-pulpcore-client.Configuration(
225
225
  ) -> None:
226
226
  """Constructor
227
227
  """
228
- self._base_path = "https://env-ephemeral-wfskvf.apps.crc-eph.r9lp.p1.openshiftapps.com" if host is None else host
228
+ self._base_path = "https://env-ephemeral-np6wyo.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-pulpcore-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: 20250828.1".\
560
+ "SDK Package Version: 20250828.3".\
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-pulpcore-client.Configuration(
567
567
  """
568
568
  return [
569
569
  {
570
- 'url': "https://env-ephemeral-wfskvf.apps.crc-eph.r9lp.p1.openshiftapps.com",
570
+ 'url': "https://env-ephemeral-np6wyo.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
- 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.")
32
- prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
33
- hidden: Optional[StrictBool] = Field(default=False, description="Whether this distribution should be shown in the content app.")
34
- name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
31
+ pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
35
32
  pulp_href: Optional[StrictStr] = None
36
- content_guard: Optional[StrictStr] = Field(default=None, description="An optional content-guard.")
37
33
  base_url: Optional[StrictStr] = Field(default=None, description="The URL for accessing the publication as defined by this distribution.")
38
- pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
34
+ hidden: Optional[StrictBool] = Field(default=False, description="Whether this distribution should be shown in the content app.")
39
35
  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\")")
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.")
40
37
  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.")
38
+ name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
39
+ prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
41
40
  pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
42
- __properties: ClassVar[List[str]] = ["pulp_last_updated", "prn", "hidden", "name", "pulp_href", "content_guard", "base_url", "pulp_labels", "base_path", "no_content_change_since", "pulp_created"]
41
+ content_guard: Optional[StrictStr] = Field(default=None, description="An optional content-guard.")
42
+ __properties: ClassVar[List[str]] = ["pulp_labels", "pulp_href", "base_url", "hidden", "base_path", "pulp_last_updated", "no_content_change_since", "name", "prn", "pulp_created", "content_guard"]
43
43
 
44
44
  model_config = ConfigDict(
45
45
  populate_by_name=True,
@@ -79,11 +79,11 @@ class ArtifactDistributionResponse(BaseModel):
79
79
  * OpenAPI `readOnly` fields are excluded.
80
80
  """
81
81
  excluded_fields: Set[str] = set([
82
- "pulp_last_updated",
83
- "prn",
84
82
  "pulp_href",
85
83
  "base_url",
84
+ "pulp_last_updated",
86
85
  "no_content_change_since",
86
+ "prn",
87
87
  "pulp_created",
88
88
  ])
89
89
 
@@ -109,17 +109,17 @@ class ArtifactDistributionResponse(BaseModel):
109
109
  return cls.model_validate(obj)
110
110
 
111
111
  _obj = cls.model_validate({
112
- "pulp_last_updated": obj.get("pulp_last_updated"),
113
- "prn": obj.get("prn"),
114
- "hidden": obj.get("hidden") if obj.get("hidden") is not None else False,
115
- "name": obj.get("name"),
112
+ "pulp_labels": obj.get("pulp_labels"),
116
113
  "pulp_href": obj.get("pulp_href"),
117
- "content_guard": obj.get("content_guard"),
118
114
  "base_url": obj.get("base_url"),
119
- "pulp_labels": obj.get("pulp_labels"),
115
+ "hidden": obj.get("hidden") if obj.get("hidden") is not None else False,
120
116
  "base_path": obj.get("base_path"),
117
+ "pulp_last_updated": obj.get("pulp_last_updated"),
121
118
  "no_content_change_since": obj.get("no_content_change_since"),
122
- "pulp_created": obj.get("pulp_created")
119
+ "name": obj.get("name"),
120
+ "prn": obj.get("prn"),
121
+ "pulp_created": obj.get("pulp_created"),
122
+ "content_guard": obj.get("content_guard")
123
123
  })
124
124
  return _obj
125
125
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: crc-pulpcore-client
3
- Version: 20250828.1
3
+ Version: 20250828.3
4
4
  Summary: Pulp 3 API
5
5
  Home-page:
6
6
  Author: Pulp Team
@@ -1,7 +1,7 @@
1
1
  crc-pulpcore-client/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
2
- crc-pulpcore-client/api_client.py,sha256=amaFKNqEGlEKsai_MAuXJ3b9jJJBpjcKf-Cmk89K1S4,27487
2
+ crc-pulpcore-client/api_client.py,sha256=LtPjxye5DrraKc6-Oa32egAV8nMxilBnxgCmvLaCth0,27487
3
3
  crc-pulpcore-client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- crc-pulpcore-client/configuration.py,sha256=CKUIhUBLvcNyT-RH023GJpAHLtG4Apae1RORlIrNmQM,19659
4
+ crc-pulpcore-client/configuration.py,sha256=u31gTeRDH9n9MpJyNJB_oRdZpQm_D-tPV5VefVRAhoQ,19659
5
5
  crc-pulpcore-client/exceptions.py,sha256=voqdIkPGpfNSUF9SsFqERflJMVs-uYFH60fd1rcsz6Y,5957
6
6
  crc-pulpcore-client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  crc-pulpcore-client/rest.py,sha256=A8Ih9HOJfXJtyWaCy1whAVV3vhQ5y3vJahkQ_YES4IE,9402
@@ -60,7 +60,7 @@ crc-pulpcore-client/models/__init__.py,sha256=8bxXj6TeihdVmnL34eLUXE5d0uZ2A0rBZk
60
60
  crc-pulpcore-client/models/access_policy.py,sha256=o_UQkz1odEC7WkNVr1Wd7FUBF3Sa8MyS2rOvb-ozwbc,3427
61
61
  crc-pulpcore-client/models/access_policy_response.py,sha256=xz4QOVu46bgH8_rMh0yiilUE6zHv846XScHyBAufGM0,5127
62
62
  crc-pulpcore-client/models/api_app_status_response.py,sha256=yOctQFMFveeyDOmLf5K2XYFSGUpvGrZfIra4TbgsxFU,3518
63
- crc-pulpcore-client/models/artifact_distribution_response.py,sha256=hO-fJvzEq8K0Ejwj6CtocxkOaZ00zebSLDxndIlrA-k,5474
63
+ crc-pulpcore-client/models/artifact_distribution_response.py,sha256=sJMfZePwEesRJm4b2vRCc4W74MEFGAShZrw8ZXTd45k,5474
64
64
  crc-pulpcore-client/models/artifact_response.py,sha256=RRXzTZXO-RP9ashupuQIn7yt2UWHh85_PW6Dh9IjyDM,6276
65
65
  crc-pulpcore-client/models/async_operation_response.py,sha256=IbcgvoCxfMCL9HXaPJDPLgDo8IKE12QKstLIxzhegt8,2558
66
66
  crc-pulpcore-client/models/composite_content_guard.py,sha256=7GRHt4V0-OB23eq4sCc4nsoj_gK2eiMPmN3RQn517BY,3260
@@ -231,7 +231,7 @@ crc-pulpcore-client/models/user_role_response.py,sha256=ke0JKmsIbQ_1i3qtsgGX5FGc
231
231
  crc-pulpcore-client/models/version_response.py,sha256=0rUURzqK9Y-zSLgRVMsGEYCxoxobrP7cGNYxds9c9rU,3200
232
232
  crc-pulpcore-client/models/vulnerability_report_response.py,sha256=y1k92R0X6_g-CoNxD6yGI3JKn-cC5ELF-BmR9BnmDX0,4150
233
233
  crc-pulpcore-client/models/worker_response.py,sha256=UcYlVB38did0eeYVgG9wgUaHqpUzHBM7pWLZmtaxh7I,4899
234
- crc_pulpcore_client-20250828.1.dist-info/METADATA,sha256=ReT9abMIT1uQV6mjh2W8I0ERQPbUggtQyTkjWj39xTo,638
235
- crc_pulpcore_client-20250828.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
236
- crc_pulpcore_client-20250828.1.dist-info/top_level.txt,sha256=acY2ZEC1ROOONgDdHYKl-k2A02cbkre-_6lK6vLiDZw,20
237
- crc_pulpcore_client-20250828.1.dist-info/RECORD,,
234
+ crc_pulpcore_client-20250828.3.dist-info/METADATA,sha256=Oym-7skBEowJqCZc_MR2XPcf0LvIy3QZeEit2MjeTkw,638
235
+ crc_pulpcore_client-20250828.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
236
+ crc_pulpcore_client-20250828.3.dist-info/top_level.txt,sha256=acY2ZEC1ROOONgDdHYKl-k2A02cbkre-_6lK6vLiDZw,20
237
+ crc_pulpcore_client-20250828.3.dist-info/RECORD,,