crc-pulpcore-client 20250826.1__py3-none-any.whl → 20250826.2__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-pulpcore-client might be problematic. Click here for more details.

@@ -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/20250826.1/python'
94
+ self.user_agent = 'OpenAPI-Generator/20250826.2/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-t7xigh.apps.crc-eph.r9lp.p1.openshiftapps.com" if host is None else host
228
+ self._base_path = "https://env-ephemeral-n8w90u.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: 20250826.1".\
560
+ "SDK Package Version: 20250826.2".\
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-t7xigh.apps.crc-eph.r9lp.p1.openshiftapps.com",
570
+ 'url': "https://env-ephemeral-n8w90u.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
- pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
33
31
  base_url: Optional[StrictStr] = Field(default=None, description="The URL for accessing the publication as defined by this distribution.")
34
- pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
35
- content_guard: Optional[StrictStr] = Field(default=None, description="An optional content-guard.")
32
+ 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.")
36
33
  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.")
37
- prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
38
34
  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\")")
35
+ prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
36
+ pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
39
37
  hidden: Optional[StrictBool] = Field(default=False, description="Whether this distribution should be shown in the content app.")
40
- name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
41
38
  pulp_href: Optional[StrictStr] = None
42
- __properties: ClassVar[List[str]] = ["pulp_last_updated", "pulp_created", "base_url", "pulp_labels", "content_guard", "no_content_change_since", "prn", "base_path", "hidden", "name", "pulp_href"]
39
+ pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
40
+ name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
41
+ content_guard: Optional[StrictStr] = Field(default=None, description="An optional content-guard.")
42
+ __properties: ClassVar[List[str]] = ["base_url", "pulp_last_updated", "no_content_change_since", "base_path", "prn", "pulp_labels", "hidden", "pulp_href", "pulp_created", "name", "content_guard"]
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
- "pulp_last_updated",
83
- "pulp_created",
84
82
  "base_url",
83
+ "pulp_last_updated",
85
84
  "no_content_change_since",
86
85
  "prn",
87
86
  "pulp_href",
87
+ "pulp_created",
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
- "pulp_last_updated": obj.get("pulp_last_updated"),
113
- "pulp_created": obj.get("pulp_created"),
114
112
  "base_url": obj.get("base_url"),
115
- "pulp_labels": obj.get("pulp_labels"),
116
- "content_guard": obj.get("content_guard"),
113
+ "pulp_last_updated": obj.get("pulp_last_updated"),
117
114
  "no_content_change_since": obj.get("no_content_change_since"),
118
- "prn": obj.get("prn"),
119
115
  "base_path": obj.get("base_path"),
116
+ "prn": obj.get("prn"),
117
+ "pulp_labels": obj.get("pulp_labels"),
120
118
  "hidden": obj.get("hidden") if obj.get("hidden") is not None else False,
119
+ "pulp_href": obj.get("pulp_href"),
120
+ "pulp_created": obj.get("pulp_created"),
121
121
  "name": obj.get("name"),
122
- "pulp_href": obj.get("pulp_href")
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: 20250826.1
3
+ Version: 20250826.2
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=pF4LYnvkhvNSL6sbpC_ZDbxa38XA7gGSz73lOSkbllA,27487
2
+ crc-pulpcore-client/api_client.py,sha256=3L2o1zkUORvFqztCDPlMqhMEMjukfJ2uSvb90WytON8,27487
3
3
  crc-pulpcore-client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- crc-pulpcore-client/configuration.py,sha256=pWz9GjJN9Bhm2arY8-HTkgmdK8rU3LcjEFkq2UIUsoA,19659
4
+ crc-pulpcore-client/configuration.py,sha256=bH5ShwNSJ3MHiqkyNrciCJM84sc3M5bhSSSnQEjlisE,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=bJNMbc3yZtB_XjbOYENRaqkPhfgifGmTY7M6yR3KHLo,5474
63
+ crc-pulpcore-client/models/artifact_distribution_response.py,sha256=61tfjdHGv6V3oIwMxbu5aqiQNJJxqaSczDAI4pUHlOY,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-20250826.1.dist-info/METADATA,sha256=ru0S7yO4wn_qr3cnq73eSAClh_NVl67SAnzRq0qHg2w,638
235
- crc_pulpcore_client-20250826.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
236
- crc_pulpcore_client-20250826.1.dist-info/top_level.txt,sha256=acY2ZEC1ROOONgDdHYKl-k2A02cbkre-_6lK6vLiDZw,20
237
- crc_pulpcore_client-20250826.1.dist-info/RECORD,,
234
+ crc_pulpcore_client-20250826.2.dist-info/METADATA,sha256=fTKSZBN4zuYHdT4_XVjZ0yuwZwqiXhNz5Hcp76OUJh8,638
235
+ crc_pulpcore_client-20250826.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
236
+ crc_pulpcore_client-20250826.2.dist-info/top_level.txt,sha256=acY2ZEC1ROOONgDdHYKl-k2A02cbkre-_6lK6vLiDZw,20
237
+ crc_pulpcore_client-20250826.2.dist-info/RECORD,,