Skip to content

Commit 2550d3e

Browse files
committed
Revert "fix: regenerate proto stubs to match updated Boost.Condition field numbers"
This reverts commit 92c40e7.
1 parent 92c40e7 commit 2550d3e

23 files changed

Lines changed: 270 additions & 335 deletions

weaviate/proto/v1/v4216/v1/base_search_pb2.py

Lines changed: 35 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

weaviate/proto/v1/v4216/v1/base_search_pb2.pyi

Lines changed: 20 additions & 57 deletions
Large diffs are not rendered by default.

weaviate/proto/v1/v4216/v1/search_get_pb2.py

Lines changed: 31 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

weaviate/proto/v1/v4216/v1/search_get_pb2.pyi

Lines changed: 39 additions & 39 deletions
Large diffs are not rendered by default.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
11
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
22
"""Client and server classes corresponding to protobuf-defined services."""
33
import grpc
4+
import warnings
45

6+
7+
GRPC_GENERATED_VERSION = '1.64.1'
8+
GRPC_VERSION = grpc.__version__
9+
EXPECTED_ERROR_RELEASE = '1.65.0'
10+
SCHEDULED_RELEASE_DATE = 'June 25, 2024'
11+
_version_not_supported = False
12+
13+
try:
14+
from grpc._utilities import first_version_is_lower
15+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
16+
except ImportError:
17+
_version_not_supported = True
18+
19+
if _version_not_supported:
20+
warnings.warn(
21+
f'The grpc package installed is at version {GRPC_VERSION},'
22+
+ f' but the generated code in v1/search_get_pb2_grpc.py depends on'
23+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
24+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
25+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
26+
+ f' This warning will become an error in {EXPECTED_ERROR_RELEASE},'
27+
+ f' scheduled for release on {SCHEDULED_RELEASE_DATE}.',
28+
RuntimeWarning
29+
)

weaviate/proto/v1/v5261/v1/aggregate_pb2_grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import warnings
55

66

7-
GRPC_GENERATED_VERSION = '1.63.0'
7+
GRPC_GENERATED_VERSION = '1.64.1'
88
GRPC_VERSION = grpc.__version__
99
EXPECTED_ERROR_RELEASE = '1.65.0'
1010
SCHEDULED_RELEASE_DATE = 'June 25, 2024'

weaviate/proto/v1/v5261/v1/base_pb2_grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import warnings
55

66

7-
GRPC_GENERATED_VERSION = '1.63.0'
7+
GRPC_GENERATED_VERSION = '1.64.1'
88
GRPC_VERSION = grpc.__version__
99
EXPECTED_ERROR_RELEASE = '1.65.0'
1010
SCHEDULED_RELEASE_DATE = 'June 25, 2024'

weaviate/proto/v1/v5261/v1/base_search_pb2_grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import warnings
55

66

7-
GRPC_GENERATED_VERSION = '1.63.0'
7+
GRPC_GENERATED_VERSION = '1.64.1'
88
GRPC_VERSION = grpc.__version__
99
EXPECTED_ERROR_RELEASE = '1.65.0'
1010
SCHEDULED_RELEASE_DATE = 'June 25, 2024'

weaviate/proto/v1/v5261/v1/batch_delete_pb2_grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import warnings
55

66

7-
GRPC_GENERATED_VERSION = '1.63.0'
7+
GRPC_GENERATED_VERSION = '1.64.1'
88
GRPC_VERSION = grpc.__version__
99
EXPECTED_ERROR_RELEASE = '1.65.0'
1010
SCHEDULED_RELEASE_DATE = 'June 25, 2024'

weaviate/proto/v1/v5261/v1/batch_pb2_grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import warnings
55

66

7-
GRPC_GENERATED_VERSION = '1.63.0'
7+
GRPC_GENERATED_VERSION = '1.64.1'
88
GRPC_VERSION = grpc.__version__
99
EXPECTED_ERROR_RELEASE = '1.65.0'
1010
SCHEDULED_RELEASE_DATE = 'June 25, 2024'

0 commit comments

Comments
 (0)