You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2023. It is now read-only.
I also tried setting calls=500 but the 429 error still is thrown.
I'm guessing the limitation is not being implemented in the call.
Do I have to break out fsids into chunks of <= 5000, get them in fs.probability.get_depths(fsids_5000), time the call, and ensure that a minute passes before the next call?
Question:
How can I adhere to the 5000 / hr limit with an api request?
I've tried implementing the ratelimit (https://pypi.org/project/ratelimit/) and backoff (https://pypi.org/project/backoff/) packages but get a 429 error.
Here is what the function that calls from the api looks like:
I also tried setting calls=500 but the 429 error still is thrown.
I'm guessing the limitation is not being implemented in the call.
Do I have to break out fsids into chunks of <= 5000, get them in fs.probability.get_depths(fsids_5000), time the call, and ensure that a minute passes before the next call?