crc-pulpcore-client 20250821.1__py3-none-any.whl → 20250821.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.

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/20250821.1/python'
94
+ self.user_agent = 'OpenAPI-Generator/20250821.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-iqasyf.apps.crc-eph.r9lp.p1.openshiftapps.com" if host is None else host
228
+ self._base_path = "https://env-ephemeral-seinor.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: 20250821.1".\
560
+ "SDK Package Version: 20250821.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-iqasyf.apps.crc-eph.r9lp.p1.openshiftapps.com",
570
+ 'url': "https://env-ephemeral-seinor.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
- content_guard: Optional[StrictStr] = Field(default=None, description="An optional content-guard.")
32
- pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
33
- name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
34
- pulp_href: Optional[StrictStr] = None
35
- base_url: Optional[StrictStr] = Field(default=None, description="The URL for accessing the publication as defined by this distribution.")
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\")")
36
32
  hidden: Optional[StrictBool] = Field(default=False, description="Whether this distribution should be shown in the content app.")
37
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.")
34
+ content_guard: Optional[StrictStr] = Field(default=None, description="An optional content-guard.")
35
+ pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
36
+ name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
38
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
+ pulp_href: Optional[StrictStr] = None
39
+ pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
39
40
  prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
40
- pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
41
- 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\")")
42
- __properties: ClassVar[List[str]] = ["content_guard", "pulp_created", "name", "pulp_href", "base_url", "hidden", "no_content_change_since", "pulp_last_updated", "prn", "pulp_labels", "base_path"]
41
+ base_url: Optional[StrictStr] = Field(default=None, description="The URL for accessing the publication as defined by this distribution.")
42
+ __properties: ClassVar[List[str]] = ["base_path", "hidden", "no_content_change_since", "content_guard", "pulp_labels", "name", "pulp_last_updated", "pulp_href", "pulp_created", "prn", "base_url"]
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_created",
83
- "pulp_href",
84
- "base_url",
85
82
  "no_content_change_since",
86
83
  "pulp_last_updated",
84
+ "pulp_href",
85
+ "pulp_created",
87
86
  "prn",
87
+ "base_url",
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
- "content_guard": obj.get("content_guard"),
113
- "pulp_created": obj.get("pulp_created"),
114
- "name": obj.get("name"),
115
- "pulp_href": obj.get("pulp_href"),
116
- "base_url": obj.get("base_url"),
112
+ "base_path": obj.get("base_path"),
117
113
  "hidden": obj.get("hidden") if obj.get("hidden") is not None else False,
118
114
  "no_content_change_since": obj.get("no_content_change_since"),
115
+ "content_guard": obj.get("content_guard"),
116
+ "pulp_labels": obj.get("pulp_labels"),
117
+ "name": obj.get("name"),
119
118
  "pulp_last_updated": obj.get("pulp_last_updated"),
119
+ "pulp_href": obj.get("pulp_href"),
120
+ "pulp_created": obj.get("pulp_created"),
120
121
  "prn": obj.get("prn"),
121
- "pulp_labels": obj.get("pulp_labels"),
122
- "base_path": obj.get("base_path")
122
+ "base_url": obj.get("base_url")
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: 20250821.1
3
+ Version: 20250821.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=pjcNuap4ZhbgtC-TzpP1kVH4LifU8E415WmsWtkf6Dg,27487
2
+ crc-pulpcore-client/api_client.py,sha256=Xo8HfuQTixPnhjBzvJLEljXvX36RpLKEIP7F1fpm6xQ,27487
3
3
  crc-pulpcore-client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- crc-pulpcore-client/configuration.py,sha256=BKHwT1YixSaYryw4QziHf1pUjK6CQKPllZlwFWBbm_M,19659
4
+ crc-pulpcore-client/configuration.py,sha256=tyLAM4nBo8a_0Sz9KJd7oycnsGD4H9RhxPAuz5baIIg,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
@@ -59,7 +59,7 @@ crc-pulpcore-client/models/__init__.py,sha256=C6z-AcHFxoKT6kDuYvYYsSwdYVUR0cfKbv
59
59
  crc-pulpcore-client/models/access_policy.py,sha256=o_UQkz1odEC7WkNVr1Wd7FUBF3Sa8MyS2rOvb-ozwbc,3427
60
60
  crc-pulpcore-client/models/access_policy_response.py,sha256=xz4QOVu46bgH8_rMh0yiilUE6zHv846XScHyBAufGM0,5127
61
61
  crc-pulpcore-client/models/api_app_status_response.py,sha256=yOctQFMFveeyDOmLf5K2XYFSGUpvGrZfIra4TbgsxFU,3518
62
- crc-pulpcore-client/models/artifact_distribution_response.py,sha256=jxC9Ymw3wdhmScfJ-mJ-TPmEFIf2PPFtUZofGnEnOpQ,5474
62
+ crc-pulpcore-client/models/artifact_distribution_response.py,sha256=SNAXyF3mbn-CsHKK0LrJGktynYM753BoO3O5I8vTDNE,5474
63
63
  crc-pulpcore-client/models/artifact_response.py,sha256=RRXzTZXO-RP9ashupuQIn7yt2UWHh85_PW6Dh9IjyDM,6276
64
64
  crc-pulpcore-client/models/async_operation_response.py,sha256=IbcgvoCxfMCL9HXaPJDPLgDo8IKE12QKstLIxzhegt8,2558
65
65
  crc-pulpcore-client/models/composite_content_guard.py,sha256=7GRHt4V0-OB23eq4sCc4nsoj_gK2eiMPmN3RQn517BY,3260
@@ -228,7 +228,7 @@ crc-pulpcore-client/models/user_role.py,sha256=pAVQrQDbx7PrQo4Ae_Axy-FV9PfOFzOQ9
228
228
  crc-pulpcore-client/models/user_role_response.py,sha256=bm3iqxiBLZbOYeqAqDFrybFdcTPOA-jB0Kz9NKfAjII,5472
229
229
  crc-pulpcore-client/models/version_response.py,sha256=0rUURzqK9Y-zSLgRVMsGEYCxoxobrP7cGNYxds9c9rU,3200
230
230
  crc-pulpcore-client/models/worker_response.py,sha256=UcYlVB38did0eeYVgG9wgUaHqpUzHBM7pWLZmtaxh7I,4899
231
- crc_pulpcore_client-20250821.1.dist-info/METADATA,sha256=XEI_MV7HylFAaZjQmkgUT_ZW_4uPpGTiQSPteVY8nNM,638
232
- crc_pulpcore_client-20250821.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
233
- crc_pulpcore_client-20250821.1.dist-info/top_level.txt,sha256=acY2ZEC1ROOONgDdHYKl-k2A02cbkre-_6lK6vLiDZw,20
234
- crc_pulpcore_client-20250821.1.dist-info/RECORD,,
231
+ crc_pulpcore_client-20250821.3.dist-info/METADATA,sha256=7hk3vKQBV0za9tHuJt-K6Tm6RenJDyV1TZnZvs1Azhg,638
232
+ crc_pulpcore_client-20250821.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
233
+ crc_pulpcore_client-20250821.3.dist-info/top_level.txt,sha256=acY2ZEC1ROOONgDdHYKl-k2A02cbkre-_6lK6vLiDZw,20
234
+ crc_pulpcore_client-20250821.3.dist-info/RECORD,,