Skip to content

Commit

Permalink
Merge pull request #1196 from weaviate/grcp/set-verbosity-to-error-to…
Browse files Browse the repository at this point in the history
…-reduce-log-noise

add `GRPC_VERBOSITY="ERROR"` env var in `__init__.py`
  • Loading branch information
tsmith023 committed Jul 24, 2024
2 parents 35f3765 + 9e71ba1 commit 8d7240f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion weaviate/__init__.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -49,6 +49,8 @@

from .warnings import _Warnings

os.environ["GRPC_VERBOSITY"] = "ERROR" # https://github.com/danielmiessler/fabric/discussions/754

__all__ = [
"BatchClient",
"ClientBatchingContextManager",
Expand Down

0 comments on commit 8d7240f

Please sign in to comment.