shopware-api-client 1.0.105__tar.gz → 1.0.106__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.
Potentially problematic release.
This version of shopware-api-client might be problematic. Click here for more details.
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/PKG-INFO +1 -1
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/pyproject.toml +1 -1
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/base.py +6 -2
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/LICENSE +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/README.md +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/__init__.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/client.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/config.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/__init__.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/__init__.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/commercial/__init__.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/commercial/b2b_components_role.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/commercial/b2b_employee.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/commercial/dynamic_access.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/__init__.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/acl_role.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/api_info.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/app.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/app_script_condition.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/category.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/cms_block.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/cms_page.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/cms_section.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/cms_slot.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/country.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/country_state.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/currency.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/currency_country_rounding.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/custom_entity.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/custom_field.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/customer.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/customer_address.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/customer_group.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/customer_recovery.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/customer_wishlist.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/customer_wishlist_product.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/delivery_time.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/document.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/document_base_config.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/document_base_config_sales_channel.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/document_type.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/integration.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/landing_page.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/language.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/locale.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/main_category.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/media.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/media_default_folder.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/media_folder.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/media_folder_configuration.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/media_thumbnail.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/media_thumbnail_size.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/order.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/order_address.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/order_customer.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/order_delivery.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/order_delivery_position.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/order_line_item.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/order_line_item_download.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/order_transaction.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/order_transaction_capture.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/order_transaction_capture_refund.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/order_transaction_capture_refund_position.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/payment_method.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/product.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/product_configurator_setting.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/product_cross_selling.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/product_cross_selling_assigned_products.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/product_download.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/product_export.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/product_feature_set.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/product_manufacturer.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/product_media.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/product_price.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/product_review.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/product_search_keyword.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/product_stream.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/product_visibility.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/product_warehouse.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/promotion.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/promotion_discount.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/promotion_discount_prices.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/property_group.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/property_group_option.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/rule.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/rule_condition.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/sales_channel.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/sales_channel_domain.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/salutation.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/seo_url.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/shipping_method.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/state_machine.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/state_machine_history.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/state_machine_state.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/state_machine_transition.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/system_config.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/tag.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/tax.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/tax_rule.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/tax_rule_type.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/unit.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/user.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/warehouse.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/warehouse_group.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/admin/core/warehouse_group_warehouse.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/base_fields.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/relations.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/store/__init__.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/store/core/__init__.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/store/core/address.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/endpoints/store/core/cart.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/exceptions.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/logging.py +0 -0
- {shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/py.typed +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "shopware-api-client"
|
|
3
3
|
description = " An api client for the Shopware API"
|
|
4
|
-
version = "1.0.
|
|
4
|
+
version = "1.0.106"
|
|
5
5
|
license = "MIT"
|
|
6
6
|
authors = ["GWS Gesellschaft für Warenwirtschafts-Systeme mbH <ebusiness@gws.ms>"]
|
|
7
7
|
readme = "README.md"
|
|
@@ -146,8 +146,12 @@ class ClientBase:
|
|
|
146
146
|
await asyncio.sleep(2**retry_count)
|
|
147
147
|
retry_count += 1
|
|
148
148
|
continue
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
if response.status_code == 429:
|
|
150
|
+
# directly raise 429
|
|
151
|
+
error: SWAPIError = SWAPIError.from_response(response)
|
|
152
|
+
raise error
|
|
153
|
+
elif response.status_code >= 400:
|
|
154
|
+
# retry other failure codes
|
|
151
155
|
try:
|
|
152
156
|
errors: list = response.json().get("errors")
|
|
153
157
|
# ensure `errors` attribute is a list/tuple, fallback to from_response if not
|
|
File without changes
|
|
File without changes
|
{shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/__init__.py
RENAMED
|
File without changes
|
{shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/client.py
RENAMED
|
File without changes
|
{shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/exceptions.py
RENAMED
|
File without changes
|
{shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/logging.py
RENAMED
|
File without changes
|
{shopware_api_client-1.0.105 → shopware_api_client-1.0.106}/src/shopware_api_client/py.typed
RENAMED
|
File without changes
|