From 9e71ba163119989a1708fb723ea0ba24f83d0348 Mon Sep 17 00:00:00 2001 From: Tommy Smith Date: Wed, 24 Jul 2024 11:47:40 +0100 Subject: [PATCH] add `GRPC_VERBOSITY="ERROR"` env var in `__init__.py` --- weaviate/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/weaviate/__init__.py b/weaviate/__init__.py index dbe60f79e..6a7711970 100644 --- a/weaviate/__init__.py +++ b/weaviate/__init__.py @@ -1,7 +1,7 @@ """ Weaviate Python Client Library used to interact with a Weaviate instance. """ - +import os import sys from importlib.metadata import version, PackageNotFoundError from typing import Any @@ -49,6 +49,8 @@ from .warnings import _Warnings +os.environ["GRPC_VERBOSITY"] = "ERROR" # https://github.com/danielmiessler/fabric/discussions/754 + __all__ = [ "BatchClient", "ClientBatchingContextManager",