commercetools-python-sdk icon indicating copy to clipboard operation
commercetools-python-sdk copied to clipboard

Commercetools Python SDK

Results 14 commercetools-python-sdk issues
Sort by recently updated
recently updated
newest added

Remove the old generate interface to the platform API. This includes the packages `commercetools.types` and `commercetools.services` TODO: - [x] Handle the old `force_update` argument - [x] Handle the old `force_delete`...

Tested version: 14.0.0b12 **Problem** commercetools SDK raises an Exception (no CommercetoolsError) because it cannot parse an error response from commercetools; `Could not parse error response` This is due to a...

triage

The testing backend currently allows having attribute values that don't match the constraint of that attribute, e.g. having two different values for two variants of the same product for an...

triage

Commercetools allows predicates like `lastModifiedAt > "2021-05-01" ` but it gives a marshmallow validation error. ``` def test_orders_query_filter_single_date(commercetools_api, old_client): order = get_test_order() commercetools_api.orders.add_existing(order) where = [ 'createdAt >= "2019-10-15"', ]...

triage

Hi! While calling `Client.messages.query` I'm noticing that the `CartCreated` schema is missing: ```Python traceback Traceback (most recent call last): File "messages.py", line 41, in get_messages tptest = sdk_client.messages.query() File "/usr/local/lib/python3.7/site-packages/commercetools/services/messages.py",...

Commercetools does not like single quotes around values. F.e. `createdAt >= '2019-09-09'` does not work, but does in our testing framework. Low prio issue imo :P. PoC fix: https://github.com/labd/commercetools-python-sdk/compare/feature/bugfix-malformed-where?expand=1

triage

Hi! Don't know if this project accepts PRs, but in case it does: ## Description On tests of commercetools-python-sdk SDK calls to [Product Projection Search](https://docs.commercetools.com/api/projects/products-search#product-projection-search), we see error: ``` marshmallow.exceptions.ValidationError:...

Hi, I could not find how to properly build GraphQLRequest object. Trying to build it like ` body = GraphQLRequest( query="""query ReturnProductsIds($limit: Int!, $offset: Int!) { products( where: "masterData(published=true)" sort:...

**Problem** When I try to create a client using Python SDK, I get a warning in scope value. If I follow the warning and fix it, I get error in...

triage

Could be related to the switch, could not be. But the changelog scared me a bit when I was reading it earlier. https://commercetools-python-sdk.readthedocs.io/en/latest/ :stuck_out_tongue:

triage