pipedrive-python icon indicating copy to clipboard operation
pipedrive-python copied to clipboard

Passed the **kwargs, getting error

Open ShubhamAmane8394 opened this issue 5 years ago • 2 comments

image

ShubhamAmane8394 avatar May 13 '20 14:05 ShubhamAmane8394

Hello, it seems like you are passing a dict, not kwargs.

To do so, you need to pass like this:

my_kwargs = {'limit': 400}

get_all_deals = client.deals.get_all_deals(**my_kwargs) OR get_all_deals = client.deals.get_all_deals(limit = 400)

ingmferrer avatar May 22 '20 19:05 ingmferrer

Try this: client.deals.get_all_deals(params={"limit":"400"})

RafaelGCruvinel avatar Aug 18 '20 13:08 RafaelGCruvinel