crc-pulp-python-client 20251001.3__py3-none-any.whl → 20251002.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.

Potentially problematic release.


This version of crc-pulp-python-client might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: crc-pulp_python-client
3
- Version: 20251001.3
3
+ Version: 20251002.1
4
4
  Summary: Pulp 3 API
5
5
  Home-page:
6
6
  Author: Pulp Team
@@ -1,9 +1,9 @@
1
1
  pulpcore/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
2
2
  pulpcore/client/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
3
- pulpcore/client/pulp_python/__init__.py,sha256=UXPB6YlJ1R5TswfRpVi90g810KVjIUrTeUaXzWZxVLw,5793
3
+ pulpcore/client/pulp_python/__init__.py,sha256=jtTqMORguw4bKV_dcLnFh5OlH2-VhDRplAzd1Bf94kU,5793
4
4
  pulpcore/client/pulp_python/api_client.py,sha256=qejhlzcY2MfP4zjlvbTT4Oat8qj0N7edofLC9alumZc,27515
5
5
  pulpcore/client/pulp_python/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
6
- pulpcore/client/pulp_python/configuration.py,sha256=czLQPYX933OC3s98gKDTzg4PzHjTnS55gqkdfeZ3-DQ,19683
6
+ pulpcore/client/pulp_python/configuration.py,sha256=H4LkmBlSm5BatFQVQt_1WQq-00K3M8IxSYJEWX8Vx98,19683
7
7
  pulpcore/client/pulp_python/exceptions.py,sha256=voqdIkPGpfNSUF9SsFqERflJMVs-uYFH60fd1rcsz6Y,5957
8
8
  pulpcore/client/pulp_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  pulpcore/client/pulp_python/rest.py,sha256=g0lqBpRHpu0epc6G4Rwk-SnApSsrKrqgdrNqwg-LlQE,9410
@@ -35,12 +35,12 @@ pulpcore/client/pulp_python/models/paginatedpython_python_package_content_respon
35
35
  pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py,sha256=EuuNpoq33czk_hwjCpvAmqlVLRcGvaOjUlQO_30mA04,3848
36
36
  pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py,sha256=I8vYN8_ebtsNfP0bZo31GwPni3gFffXCd9Lb7Eibouw,3808
37
37
  pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py,sha256=akKY8SOimEW3kgodkKmHVw_-qQUnF5R6FQ_VoaLhrKA,3840
38
- pulpcore/client/pulp_python/models/patchedpython_python_distribution.py,sha256=nJhE9g_i4qWzc6_a0t32G47RxEVYbX-A50wKXW5rjG0,5315
38
+ pulpcore/client/pulp_python/models/patchedpython_python_distribution.py,sha256=zeviIUWqoXgvg0tJcxO_ljoa_LKzto1Ln86UmQlx5rM,5770
39
39
  pulpcore/client/pulp_python/models/patchedpython_python_remote.py,sha256=-7xpiyfBaqdnA-6XEQeTV3xdU-1SYEwKaDt-1xHyT9U,13790
40
40
  pulpcore/client/pulp_python/models/patchedpython_python_repository.py,sha256=ofq7dZbPQ13tWddW4042rjZoOVzf3GWaTE1xU4R7oOE,4527
41
41
  pulpcore/client/pulp_python/models/policy_enum.py,sha256=alBNbWymx71uIJJLX3vvtlW-2wIql23bfXHM-DtgCww,1254
42
- pulpcore/client/pulp_python/models/python_python_distribution.py,sha256=aiSN6w8RQRPJ9QM1P2PJBMU0c7Vmb_v9KTNhj1clpNM,5246
43
- pulpcore/client/pulp_python/models/python_python_distribution_response.py,sha256=cL2TPh9AJI8T9qTaatoqk1HxepjhG28dgnosmvo3h9Q,6862
42
+ pulpcore/client/pulp_python/models/python_python_distribution.py,sha256=HYfWg26C-s9VDKAWJu0WVwrGv9qvKuWPlSW_vWH6TaU,5701
43
+ pulpcore/client/pulp_python/models/python_python_distribution_response.py,sha256=9K4HrULwaoCPFI50IJkzgxUtRVbXGHz0UjESC3VvDtk,7317
44
44
  pulpcore/client/pulp_python/models/python_python_package_content_response.py,sha256=lRduFbCAfLPk16Je2OS0w9yYBENLwc5fvlHsgouTIQc,13808
45
45
  pulpcore/client/pulp_python/models/python_python_publication.py,sha256=NUNRy2CVsCeVR-Tw7QxIyhInF0ks5KfuGqiZwdkxTrc,2772
46
46
  pulpcore/client/pulp_python/models/python_python_publication_response.py,sha256=wkFlShKaSjGp2WMwf78MbmCBvUpB2LNxxzZITwhv5mQ,4212
@@ -58,7 +58,7 @@ pulpcore/client/pulp_python/models/set_label_response.py,sha256=nUSYQHAxcJ3ATyUm
58
58
  pulpcore/client/pulp_python/models/summary_response.py,sha256=mWm8XQn_U5GVTIjuTWDu6E8FslOI00tuJYzUOWnb3ME,2867
59
59
  pulpcore/client/pulp_python/models/unset_label.py,sha256=m6s6AFgi5_7fKsjPhcLwz7ZjKXsSd_4F6PS7u5eINO0,2858
60
60
  pulpcore/client/pulp_python/models/unset_label_response.py,sha256=-TZohJf66mUqg4qD04k1dNoyAx69bX_VSf-HM9EpqN8,3046
61
- crc_pulp_python_client-20251001.3.dist-info/METADATA,sha256=gOQ9J6zpGwZvXUKlWsmhbeMs_6z9rW583f-2LvsSxpk,641
62
- crc_pulp_python_client-20251001.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
63
- crc_pulp_python_client-20251001.3.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
64
- crc_pulp_python_client-20251001.3.dist-info/RECORD,,
61
+ crc_pulp_python_client-20251002.1.dist-info/METADATA,sha256=DxqrqhNXP4FgoWFNvewXwLzmdl7mADk2w92TPhh37uY,641
62
+ crc_pulp_python_client-20251002.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
63
+ crc_pulp_python_client-20251002.1.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
64
+ crc_pulp_python_client-20251002.1.dist-info/RECORD,,
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "20251001.3"
18
+ __version__ = "20251002.1"
19
19
 
20
20
  # import apis into sdk package
21
21
  from pulpcore.client.pulp_python.api.api_legacy_api import ApiLegacyApi
@@ -225,7 +225,7 @@ conf = pulpcore.client.pulp_python.Configuration(
225
225
  ) -> None:
226
226
  """Constructor
227
227
  """
228
- self._base_path = "https://env-ephemeral-fthl9j.apps.crc-eph.r9lp.p1.openshiftapps.com" if host is None else host
228
+ self._base_path = "https://env-ephemeral-pkxxxh.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.pulp_python.Configuration(
557
557
  "OS: {env}\n"\
558
558
  "Python Version: {pyversion}\n"\
559
559
  "Version of the API: v3\n"\
560
- "SDK Package Version: 20251001.3".\
560
+ "SDK Package Version: 20251002.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.pulp_python.Configuration(
567
567
  """
568
568
  return [
569
569
  {
570
- 'url': "https://env-ephemeral-fthl9j.apps.crc-eph.r9lp.p1.openshiftapps.com",
570
+ 'url': "https://env-ephemeral-pkxxxh.apps.crc-eph.r9lp.p1.openshiftapps.com",
571
571
  'description': "No description provided",
572
572
  }
573
573
  ]
@@ -35,9 +35,10 @@ class PatchedpythonPythonDistribution(BaseModel):
35
35
  name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A unique name. Ex, `rawhide` and `stable`.")
36
36
  repository: Optional[StrictStr] = Field(default=None, description="The latest RepositoryVersion for this Repository will be served.")
37
37
  publication: Optional[StrictStr] = Field(default=None, description="Publication to be served")
38
+ repository_version: Optional[StrictStr] = Field(default=None, description="RepositoryVersion to be served.")
38
39
  allow_uploads: Optional[StrictBool] = Field(default=True, description="Allow packages to be uploaded to this index.")
39
40
  remote: Optional[StrictStr] = Field(default=None, description="Remote that can be used to fetch content when using pull-through caching.")
40
- __properties: ClassVar[List[str]] = ["base_path", "content_guard", "hidden", "pulp_labels", "name", "repository", "publication", "allow_uploads", "remote"]
41
+ __properties: ClassVar[List[str]] = ["base_path", "content_guard", "hidden", "pulp_labels", "name", "repository", "publication", "repository_version", "allow_uploads", "remote"]
41
42
 
42
43
  model_config = ConfigDict(
43
44
  populate_by_name=True,
@@ -93,6 +94,11 @@ class PatchedpythonPythonDistribution(BaseModel):
93
94
  if self.publication is None and "publication" in self.model_fields_set:
94
95
  _dict['publication'] = None
95
96
 
97
+ # set to None if repository_version (nullable) is None
98
+ # and model_fields_set contains the field
99
+ if self.repository_version is None and "repository_version" in self.model_fields_set:
100
+ _dict['repository_version'] = None
101
+
96
102
  # set to None if remote (nullable) is None
97
103
  # and model_fields_set contains the field
98
104
  if self.remote is None and "remote" in self.model_fields_set:
@@ -117,6 +123,7 @@ class PatchedpythonPythonDistribution(BaseModel):
117
123
  "name": obj.get("name"),
118
124
  "repository": obj.get("repository"),
119
125
  "publication": obj.get("publication"),
126
+ "repository_version": obj.get("repository_version"),
120
127
  "allow_uploads": obj.get("allow_uploads") if obj.get("allow_uploads") is not None else True,
121
128
  "remote": obj.get("remote")
122
129
  })
@@ -35,9 +35,10 @@ class PythonPythonDistribution(BaseModel):
35
35
  name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="A unique name. Ex, `rawhide` and `stable`.")
36
36
  repository: Optional[StrictStr] = Field(default=None, description="The latest RepositoryVersion for this Repository will be served.")
37
37
  publication: Optional[StrictStr] = Field(default=None, description="Publication to be served")
38
+ repository_version: Optional[StrictStr] = Field(default=None, description="RepositoryVersion to be served.")
38
39
  allow_uploads: Optional[StrictBool] = Field(default=True, description="Allow packages to be uploaded to this index.")
39
40
  remote: Optional[StrictStr] = Field(default=None, description="Remote that can be used to fetch content when using pull-through caching.")
40
- __properties: ClassVar[List[str]] = ["base_path", "content_guard", "hidden", "pulp_labels", "name", "repository", "publication", "allow_uploads", "remote"]
41
+ __properties: ClassVar[List[str]] = ["base_path", "content_guard", "hidden", "pulp_labels", "name", "repository", "publication", "repository_version", "allow_uploads", "remote"]
41
42
 
42
43
  model_config = ConfigDict(
43
44
  populate_by_name=True,
@@ -93,6 +94,11 @@ class PythonPythonDistribution(BaseModel):
93
94
  if self.publication is None and "publication" in self.model_fields_set:
94
95
  _dict['publication'] = None
95
96
 
97
+ # set to None if repository_version (nullable) is None
98
+ # and model_fields_set contains the field
99
+ if self.repository_version is None and "repository_version" in self.model_fields_set:
100
+ _dict['repository_version'] = None
101
+
96
102
  # set to None if remote (nullable) is None
97
103
  # and model_fields_set contains the field
98
104
  if self.remote is None and "remote" in self.model_fields_set:
@@ -117,6 +123,7 @@ class PythonPythonDistribution(BaseModel):
117
123
  "name": obj.get("name"),
118
124
  "repository": obj.get("repository"),
119
125
  "publication": obj.get("publication"),
126
+ "repository_version": obj.get("repository_version"),
120
127
  "allow_uploads": obj.get("allow_uploads") if obj.get("allow_uploads") is not None else True,
121
128
  "remote": obj.get("remote")
122
129
  })
@@ -41,9 +41,10 @@ class PythonPythonDistributionResponse(BaseModel):
41
41
  name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
42
42
  repository: Optional[StrictStr] = Field(default=None, description="The latest RepositoryVersion for this Repository will be served.")
43
43
  publication: Optional[StrictStr] = Field(default=None, description="Publication to be served")
44
+ repository_version: Optional[StrictStr] = Field(default=None, description="RepositoryVersion to be served.")
44
45
  allow_uploads: Optional[StrictBool] = Field(default=True, description="Allow packages to be uploaded to this index.")
45
46
  remote: Optional[StrictStr] = Field(default=None, description="Remote that can be used to fetch content when using pull-through caching.")
46
- __properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "base_path", "base_url", "content_guard", "no_content_change_since", "hidden", "pulp_labels", "name", "repository", "publication", "allow_uploads", "remote"]
47
+ __properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "base_path", "base_url", "content_guard", "no_content_change_since", "hidden", "pulp_labels", "name", "repository", "publication", "repository_version", "allow_uploads", "remote"]
47
48
 
48
49
  model_config = ConfigDict(
49
50
  populate_by_name=True,
@@ -111,6 +112,11 @@ class PythonPythonDistributionResponse(BaseModel):
111
112
  if self.publication is None and "publication" in self.model_fields_set:
112
113
  _dict['publication'] = None
113
114
 
115
+ # set to None if repository_version (nullable) is None
116
+ # and model_fields_set contains the field
117
+ if self.repository_version is None and "repository_version" in self.model_fields_set:
118
+ _dict['repository_version'] = None
119
+
114
120
  # set to None if remote (nullable) is None
115
121
  # and model_fields_set contains the field
116
122
  if self.remote is None and "remote" in self.model_fields_set:
@@ -141,6 +147,7 @@ class PythonPythonDistributionResponse(BaseModel):
141
147
  "name": obj.get("name"),
142
148
  "repository": obj.get("repository"),
143
149
  "publication": obj.get("publication"),
150
+ "repository_version": obj.get("repository_version"),
144
151
  "allow_uploads": obj.get("allow_uploads") if obj.get("allow_uploads") is not None else True,
145
152
  "remote": obj.get("remote")
146
153
  })