Pymagento

Latest version: v1.11.0

Safety actively analyzes 641171 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

1.9.2

* Add `remove_category`
* Limit the query made by `get_category_by_name` to a single result

1.9.1

* Add `get_category_products`, `add_product_to_category`, and `remove_product_from_category`

1.9.0

* `get_categories`: add optional `path_prefix` to filter categories by path
* Add `magento.parse_datetime`
* Add `magento.IMAGE_MIME_TYPES` and `magento.DATE_ISO_8601_FORMAT`

Breaking changes

* Remove `magento.DEFAULT_ROOT_CATEGORY_ID` as it can be confusing. Use `client.get_root_category_id()` instead.

1.8.0

* Add `get_store_configs`, `get_store_groups`, `get_store_views`, `get_websites`
* Add helpers `get_current_store_group_id`, `get_root_category_id`
* All path components are now properly escaped in API calls
* Fix calls when using scope `default`
* Add official support for Python 3.12

Breaking changes

* `get_product_media`: the second parameter is now called `media_id` instead of `entry_id` to be coherent with the API
* `magento.DEFAULT_CATEGORY_ID` is now named `magento.DEFAULT_ROOT_CATEGORY_ID`

1.7.4

* Allow to override `Magento.PAGE_SIZE` when creating a client with the `batch_page_size` keyword argument
* Remove `Magento.TOKEN_LIFETIME`; it wasn’t used for anything

1.7.3

* Uniformize the signatures of functions that return a generator. The following functions now support a `limit`:
`get_categories` (3), `get_stock_source_links`, `get_sources`. All these function now pass their additional keyword
arguments to the internal `self.get_paginated` call.

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.