Skip to content

Commit

Permalink
Merge pull request #490 from weaviate/fix_pypi_readtimeout
Browse files Browse the repository at this point in the history
Ignore pypi read timeout
  • Loading branch information
tsmith023 authored Sep 7, 2023
2 parents 043f5bb + d7ae341 commit a453685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weaviate/connect/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def __init__(
latest_version = pkg_info.get("version", "unknown version")
if is_weaviate_client_too_old(client_version, latest_version):
_Warnings.weaviate_client_too_old_vs_latest(client_version, latest_version)
except (RequestsConnectionError, JSONDecodeError):
except (RequestsConnectionError, JSONDecodeError, ReadTimeout):
pass # air-gaped environments

def _create_session(self, auth_client_secret: Optional[AuthCredentials]) -> None:
Expand Down

0 comments on commit a453685

Please sign in to comment.