Skip to content

Commit

Permalink
generate grpc client with grpcio==1.48.2
Browse files Browse the repository at this point in the history
  • Loading branch information
coszio committed Aug 29, 2024
1 parent 9637856 commit a7e0ce2
Show file tree
Hide file tree
Showing 16 changed files with 1,449 additions and 752 deletions.
409 changes: 211 additions & 198 deletions qdrant_client/grpc/collections_pb2.py

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions qdrant_client/grpc/collections_pb2_grpc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import warnings


GRPC_GENERATED_VERSION = '1.66.0'
GRPC_VERSION = grpc.__version__
_version_not_supported = False

try:
from grpc._utilities import first_version_is_lower
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
except ImportError:
_version_not_supported = True

if _version_not_supported:
raise RuntimeError(
f'The grpc package installed is at version {GRPC_VERSION},'
+ f' but the generated code in collections_pb2_grpc.py depends on'
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
)
29 changes: 20 additions & 9 deletions qdrant_client/grpc/collections_service_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a7e0ce2

Please sign in to comment.