Skip to content

Unable to pass params to contacts.get_all() #111

@kvdb

Description

@kvdb

As documented in the project README (https://github.com/jpetrucciani/hubspot3#passing-params), I should pass params to send extra properties to hubspot. Seems this doesn't work for contacts:

contacts = client.contacts.get_all(params={"showListMemberships": "true"}, extra_properties=["hs_language"])

I got:

    contacts = client.contacts.get_all(params={"showListMemberships": "true"}, extra_properties=["hs_language"])
  File "/home/kvdb/.local/share/virtualenvs/send-cMuOhGEa/lib/python3.8/site-packages/hubspot3/contacts.py", line 163, in get_all
    batch = self._call(
TypeError: _call() got multiple values for keyword argument 'params'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions