Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle http code 429 for rate limiting #376

Merged
merged 2 commits into from
May 14, 2019
Merged

Conversation

ssc3
Copy link
Contributor

@ssc3 ssc3 commented May 8, 2019

Handle http code 429 rate limiting in external python library

Copy link

@michael-richey michael-richey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we unit test these?

@ssc3
Copy link
Contributor Author

ssc3 commented May 13, 2019

Can we unit test these?

These are unit tested here already: https://github.com/DataDog/datadogpy/blob/master/tests/unit/api/test_api.py

This lib already has a comprehensive set of tests.

There are no unit tests to check for http response code. That would be a great long term addition to test every single endpoint.

@ssc3 ssc3 merged commit 9935422 into master May 14, 2019
@zippolyte zippolyte deleted the shubho/add-429-response-code branch June 5, 2019 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants