diff --git a/singer-connectors/tap-zendesk/setup.py b/singer-connectors/tap-zendesk/setup.py index 234236468..ea2a69218 100644 --- a/singer-connectors/tap-zendesk/setup.py +++ b/singer-connectors/tap-zendesk/setup.py @@ -16,7 +16,7 @@ py_modules=['tap_zendesk'], install_requires=[ 'pipelinewise-singer-python==1.*', - 'zenpy==2.0.0', + 'zenpy==2.0.52', ], extras_require={ 'test': [ diff --git a/singer-connectors/tap-zendesk/tap_zendesk/__init__.py b/singer-connectors/tap-zendesk/tap_zendesk/__init__.py index 4dc11fe37..9be85c723 100755 --- a/singer-connectors/tap-zendesk/tap_zendesk/__init__.py +++ b/singer-connectors/tap-zendesk/tap_zendesk/__init__.py @@ -219,7 +219,7 @@ def main(): # OAuth has precedence creds = oauth_auth(parsed_args) or api_token_auth(parsed_args) session = get_session(parsed_args.config) - client = Zenpy(session=session, ratelimit=internal_config['rate_limit'], **creds) + client = Zenpy(session=session, proactive_ratelimit=internal_config['rate_limit'], **creds) client.internal_config = internal_config add_session_hooks(client.tickets.session)