pinterest / pinterest-python-sdk

An SDK that makes it quick and easy to build applications with Pinterest API.
Apache License 2.0
43 stars 28 forks source link

Bug Fix: Pass constructor client to `PinterestBaseModel` init #87

Closed rushabhvaria closed 1 year ago

rushabhvaria commented 1 year ago

As a result of the PinterestBaseModel.__init__ getting called without the passed in client from the Ad model constructor, the requests failed resulting in an Auth error. This PR should fix the problem.