Skip to content

Commit 658788e

Browse files
authored
Merge pull request #129 from weaviate/remove_warning
Remove annoying warning in weaviate-cli.
2 parents 81f5e22 + a9c42a4 commit 658788e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

cli.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
warnings.filterwarnings(
44
"ignore", message="pkg_resources is deprecated as an API.", category=UserWarning
55
)
6+
warnings.filterwarnings(
7+
"ignore",
8+
message=(
9+
r"Protobuf gencode version [\d\.]+ is exactly one major version older than the runtime version [\d\.]+ at v1/tenants\.proto\. "
10+
r"Please update the gencode to avoid compatibility violations in the next runtime release\."
11+
),
12+
category=UserWarning,
13+
)
614

715
from typing import Optional
816
import click

0 commit comments

Comments
 (0)