Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions hcloud/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ class Client:
- ``conflict``
- ``rate_limit_exceeded``
- ``timeout``
Changes to the retry policy might occur between releases, and will not be considered
breaking changes.
Expand Down Expand Up @@ -419,6 +420,7 @@ def _retry_policy(self, exception: APIException) -> bool:
return exception.code in (
"rate_limit_exceeded",
"conflict",
"timeout",
)

if isinstance(exception.code, int):
Expand Down