Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
tstadel committed Oct 23, 2024
1 parent 91eebae commit 2c2c0a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deepset_cloud_sdk/_s3/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
class RetryableHttpError(Exception):
"""An error that indicates a function should be retried."""

def __init__(self, error: Union[aiohttp.ClientResponseError, aiohttp.ServerDisconnectedError]) -> None:
def __init__(
self, error: Union[aiohttp.ClientResponseError, aiohttp.ServerDisconnectedError, aiohttp.ClientConnectionError]
) -> None:
"""Store the original exception."""
self.error = error

Expand Down

0 comments on commit 2c2c0a2

Please sign in to comment.