canonicalwebteam.store-api 6.3.0__tar.gz → 6.4.0__tar.gz
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.
- {canonicalwebteam_store_api-6.3.0 → canonicalwebteam_store_api-6.4.0}/PKG-INFO +1 -1
- {canonicalwebteam_store_api-6.3.0 → canonicalwebteam_store_api-6.4.0}/canonicalwebteam/store_api/publishergw.py +5 -2
- {canonicalwebteam_store_api-6.3.0 → canonicalwebteam_store_api-6.4.0}/pyproject.toml +1 -1
- {canonicalwebteam_store_api-6.3.0 → canonicalwebteam_store_api-6.4.0}/LICENSE +0 -0
- {canonicalwebteam_store_api-6.3.0 → canonicalwebteam_store_api-6.4.0}/README.md +0 -0
- {canonicalwebteam_store_api-6.3.0 → canonicalwebteam_store_api-6.4.0}/canonicalwebteam/__init__.py +0 -0
- {canonicalwebteam_store_api-6.3.0 → canonicalwebteam_store_api-6.4.0}/canonicalwebteam/exceptions.py +0 -0
- {canonicalwebteam_store_api-6.3.0 → canonicalwebteam_store_api-6.4.0}/canonicalwebteam/store_api/__init__.py +0 -0
- {canonicalwebteam_store_api-6.3.0 → canonicalwebteam_store_api-6.4.0}/canonicalwebteam/store_api/base.py +0 -0
- {canonicalwebteam_store_api-6.3.0 → canonicalwebteam_store_api-6.4.0}/canonicalwebteam/store_api/dashboard.py +0 -0
- {canonicalwebteam_store_api-6.3.0 → canonicalwebteam_store_api-6.4.0}/canonicalwebteam/store_api/devicegw.py +0 -0
|
@@ -243,6 +243,9 @@ class PublisherGW(Base):
|
|
|
243
243
|
headers=self._get_dev_token_authorization_header(session),
|
|
244
244
|
)
|
|
245
245
|
|
|
246
|
+
if response.status_code == 404:
|
|
247
|
+
return self.process_response(response)
|
|
248
|
+
|
|
246
249
|
return self.process_response(response)["metadata"]
|
|
247
250
|
|
|
248
251
|
def update_package_metadata(
|
|
@@ -307,7 +310,7 @@ class PublisherGW(Base):
|
|
|
307
310
|
return self.process_response(response)
|
|
308
311
|
|
|
309
312
|
def unregister_package_name(
|
|
310
|
-
self,
|
|
313
|
+
self, publisher_auth: str, package_name: str
|
|
311
314
|
) -> dict:
|
|
312
315
|
"""
|
|
313
316
|
Unregister a package name.
|
|
@@ -325,7 +328,7 @@ class PublisherGW(Base):
|
|
|
325
328
|
url = self.get_endpoint_url(package_name, has_name_space=True)
|
|
326
329
|
response = self.session.delete(
|
|
327
330
|
url=url,
|
|
328
|
-
headers=
|
|
331
|
+
headers=self._get_authorization_header(publisher_auth),
|
|
329
332
|
)
|
|
330
333
|
return response
|
|
331
334
|
|
|
File without changes
|
|
File without changes
|
{canonicalwebteam_store_api-6.3.0 → canonicalwebteam_store_api-6.4.0}/canonicalwebteam/__init__.py
RENAMED
|
File without changes
|
{canonicalwebteam_store_api-6.3.0 → canonicalwebteam_store_api-6.4.0}/canonicalwebteam/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|