-
Notifications
You must be signed in to change notification settings - Fork 48
Add support for retry of HTTP requests #1384
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
Merged
Merged
Changes from 46 commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
0d92d13
add retry and its configs
HantingZhang2 d21460d
auto reformat
HantingZhang2 c048168
format
HantingZhang2 1121456
redo is_retry and rewrite retry config options
HantingZhang2 5a777f9
Reformat
HantingZhang2 880aa66
Merge branch 'master' into add-retry
HantingZhang2 7c7850e
Merge branch 'master' into add-retry
HantingZhang2 65d4d12
Merge branch 'master' into add-retry
HantingZhang2 e37f6eb
Merge branch 'master' into add-retry
HantingZhang2 b17980a
Fix syntax & add test
HantingZhang2 1f4fdc5
Fixe test & adjusting retry impl
HantingZhang2 5d08134
Merge branch 'master' into add-retry
HantingZhang2 0dcefe3
Merge branch 'master' into add-retry
HantingZhang2 9bc5d38
pre-commit fixes
f219250
Update template
HantingZhang2 1775ef5
Fix import
HantingZhang2 b1be7d7
Merge branch 'add-retry' of github.com:DataDog/datadog-api-client-pyt…
HantingZhang2 0e16b42
pre-commit fixes
ac76aea
change retry import
HantingZhang2 008c424
Merge branch 'add-retry' of github.com:DataDog/datadog-api-client-pyt…
HantingZhang2 e35f6f8
remove retry import
HantingZhang2 4633c02
remove saving content of the response
HantingZhang2 439c4c1
update cassette
HantingZhang2 766c910
delete env file
HantingZhang2 4a00cee
update cassette
HantingZhang2 9200464
use mock for test_retry
HantingZhang2 25dae16
pre-commit fixes
1eb644d
use urllib3 for requests
HantingZhang2 1fb39bc
Merge branch 'add-retry' of github.com:DataDog/datadog-api-client-pyt…
HantingZhang2 c8c3158
pre-commit fixes
5f8a5d6
fix return format
HantingZhang2 1fe71ba
Merge branch 'add-retry' of github.com:DataDog/datadog-api-client-pyt…
HantingZhang2 4020b2b
pre-commit fixes
7a8aa03
add response header
HantingZhang2 46d2e15
Merge branch 'add-retry' of github.com:DataDog/datadog-api-client-pyt…
HantingZhang2 23d9f07
pre-commit fixes
0c35222
change retry test
HantingZhang2 c9cd884
Merge branch 'add-retry' of github.com:DataDog/datadog-api-client-pyt…
HantingZhang2 a607a71
Merge branch 'master' into add-retry
HantingZhang2 e704edb
pre-commit fixes
2a53f89
update test_retry
HantingZhang2 740686b
Merge branch 'master' into add-retry
HantingZhang2 5d69334
pre-commit fixes
f0215a2
use call count
HantingZhang2 66b5e1b
Merge branch 'add-retry' of github.com:DataDog/datadog-api-client-pyt…
HantingZhang2 4e18200
pre-commit fixes
3c3e93d
Merge branch 'master' into add-retry
HantingZhang2 33c355b
Update .generator/src/generator/templates/rest.j2
HantingZhang2 d9d14a6
pre-commit fixes
c3ea131
Add back test
therve 0a682b2
pre-commit fixes
2b32582
Fix content encoding
therve 43568c7
touch up rest client and test
HantingZhang2 e6f2c6f
pre-commit fixes
1bdf16b
add test without reset header
HantingZhang2 d593542
pre-commit fixes
5f4c72f
change allowed method check
HantingZhang2 9cae414
Merge branch 'add-retry' of github.com:DataDog/datadog-api-client-pyt…
HantingZhang2 f87b416
Merge branch 'master' into add-retry
HantingZhang2 17637a4
Minor tweaks
therve 6d7c644
Use cassette for errors as well
therve 42c2f1b
Merge branch 'master' into add-retry
therve f67b93f
Docs
therve File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.