moltin / python-sdk

Moltin python SDK
MIT License
6 stars 9 forks source link

Product.find_by does not consider the parameters #6

Closed neywen closed 8 years ago

neywen commented 8 years ago

as a complement of my previous issue : https://github.com/moltin/python-sdk/issues/5

I tested the example provided with the Moltin documentation :

product = moltin_instance.Product.find_by({'slug': 'decorative-hedgehogs'})

and it returns the entire list of products, in the limit of 10 products (I suppose this is the default limit setup in the dashboard settings).

neywen commented 8 years ago

I sent an PR to fix the bug. https://github.com/moltin/python-sdk/pull/8