You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

serialization_test_pb2_grpc.py 899 B

123456789101112131415161718192021222324
  1. # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
  2. """Client and server classes corresponding to protobuf-defined services."""
  3. import grpc
  4. import warnings
  5. GRPC_GENERATED_VERSION = '1.70.0'
  6. GRPC_VERSION = grpc.__version__
  7. _version_not_supported = False
  8. try:
  9. from grpc._utilities import first_version_is_lower
  10. _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
  11. except ImportError:
  12. _version_not_supported = True
  13. if _version_not_supported:
  14. raise RuntimeError(
  15. f'The grpc package installed is at version {GRPC_VERSION},'
  16. + f' but the generated code in serialization_test_pb2_grpc.py depends on'
  17. + f' grpcio>={GRPC_GENERATED_VERSION}.'
  18. + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
  19. + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
  20. )