feat: improve weaviate parameters for removing, fix format

pull/21194/head
neatguycoding 11 months ago
parent 8dca21f8bb
commit 28a1ea8f70

@ -45,7 +45,7 @@ class WeaviateVector(BaseVector):
# by changing the connection timeout to pypi.org from 1 second to 0.001 seconds. # by changing the connection timeout to pypi.org from 1 second to 0.001 seconds.
# TODO: This can be removed once weaviate-client is updated to 3.26.7 or higher, # TODO: This can be removed once weaviate-client is updated to 3.26.7 or higher,
# which does not contain the deprecation check. # which does not contain the deprecation check.
if hasattr(weaviate.connect.connection, 'PYPI_TIMEOUT'): if hasattr(weaviate.connect.connection, "PYPI_TIMEOUT"):
weaviate.connect.connection.PYPI_TIMEOUT = 0.001 weaviate.connect.connection.PYPI_TIMEOUT = 0.001
try: try:

Loading…
Cancel
Save