Skip to content

Commit

Permalink
remove ratelimit dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
kgerxhi committed Jan 10, 2025
1 parent ba4033d commit 8a19ed5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 2.0.2
* Remove ratelimit dependency [#33](https://github.com/singer-io/tap-zoom/pull/33)

## 2.0.1
* Dependabot update [#26](https://github.com/singer-io/tap-zoom/pull/26)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup

setup(name='tap-zoom',
version='2.0.1',
version='2.0.2',
description='Singer.io tap for extracting data from the Zoom API',
classifiers=['Programming Language :: Python :: 3 :: Only'],
py_modules=['tap_zoom'],
Expand Down
9 changes: 1 addition & 8 deletions tap_zoom/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from singer import metrics
from singer.utils import now
from .utils import write_config
from ratelimit import limits, RateLimitException
from requests.exceptions import ConnectionError

LOGGER = singer.get_logger()
Expand Down Expand Up @@ -76,13 +75,7 @@ def refresh_access_token(self):
max_tries=8,
on_backoff=log_backoff_attempt,
factor=3)
@backoff.on_exception(backoff.constant,
RateLimitException,
max_tries=8,
on_backoff=log_backoff_attempt,
jitter=None,
interval=30)
@limits(calls=300, period=60)

def request(self,
method,
path=None,
Expand Down

0 comments on commit 8a19ed5

Please sign in to comment.