File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66from google .protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
77from pynumaflow .proto .accumulator import accumulator_pb2 as pynumaflow_dot_proto_dot_accumulator_dot_accumulator__pb2
88
9- GRPC_GENERATED_VERSION = '1.78 .0'
9+ GRPC_GENERATED_VERSION = '1.75 .0'
1010GRPC_VERSION = grpc .__version__
1111_version_not_supported = False
1212
1919if _version_not_supported :
2020 raise RuntimeError (
2121 f'The grpc package installed is at version { GRPC_VERSION } ,'
22- + ' but the generated code in pynumaflow/proto/accumulator/accumulator_pb2_grpc.py depends on'
22+ + f ' but the generated code in pynumaflow/proto/accumulator/accumulator_pb2_grpc.py depends on'
2323 + f' grpcio>={ GRPC_GENERATED_VERSION } .'
2424 + f' Please upgrade your grpc module to grpcio>={ GRPC_GENERATED_VERSION } '
2525 + f' or downgrade your generated code using grpcio-tools<={ GRPC_VERSION } .'
Original file line number Diff line number Diff line change 44import warnings
55
66
7- GRPC_GENERATED_VERSION = '1.78 .0'
7+ GRPC_GENERATED_VERSION = '1.75 .0'
88GRPC_VERSION = grpc .__version__
99_version_not_supported = False
1010
1717if _version_not_supported :
1818 raise RuntimeError (
1919 f'The grpc package installed is at version { GRPC_VERSION } ,'
20- + ' but the generated code in pynumaflow/proto/common/metadata_pb2_grpc.py depends on'
20+ + f ' but the generated code in pynumaflow/proto/common/metadata_pb2_grpc.py depends on'
2121 + f' grpcio>={ GRPC_GENERATED_VERSION } .'
2222 + f' Please upgrade your grpc module to grpcio>={ GRPC_GENERATED_VERSION } '
2323 + f' or downgrade your generated code using grpcio-tools<={ GRPC_VERSION } .'
Original file line number Diff line number Diff line change 66from google .protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
77from pynumaflow .proto .mapper import map_pb2 as pynumaflow_dot_proto_dot_mapper_dot_map__pb2
88
9- GRPC_GENERATED_VERSION = '1.78 .0'
9+ GRPC_GENERATED_VERSION = '1.75 .0'
1010GRPC_VERSION = grpc .__version__
1111_version_not_supported = False
1212
1919if _version_not_supported :
2020 raise RuntimeError (
2121 f'The grpc package installed is at version { GRPC_VERSION } ,'
22- + ' but the generated code in pynumaflow/proto/mapper/map_pb2_grpc.py depends on'
22+ + f ' but the generated code in pynumaflow/proto/mapper/map_pb2_grpc.py depends on'
2323 + f' grpcio>={ GRPC_GENERATED_VERSION } .'
2424 + f' Please upgrade your grpc module to grpcio>={ GRPC_GENERATED_VERSION } '
2525 + f' or downgrade your generated code using grpcio-tools<={ GRPC_VERSION } .'
Original file line number Diff line number Diff line change 66from google .protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
77from pynumaflow .proto .reducer import reduce_pb2 as pynumaflow_dot_proto_dot_reducer_dot_reduce__pb2
88
9- GRPC_GENERATED_VERSION = '1.78 .0'
9+ GRPC_GENERATED_VERSION = '1.75 .0'
1010GRPC_VERSION = grpc .__version__
1111_version_not_supported = False
1212
1919if _version_not_supported :
2020 raise RuntimeError (
2121 f'The grpc package installed is at version { GRPC_VERSION } ,'
22- + ' but the generated code in pynumaflow/proto/reducer/reduce_pb2_grpc.py depends on'
22+ + f ' but the generated code in pynumaflow/proto/reducer/reduce_pb2_grpc.py depends on'
2323 + f' grpcio>={ GRPC_GENERATED_VERSION } .'
2424 + f' Please upgrade your grpc module to grpcio>={ GRPC_GENERATED_VERSION } '
2525 + f' or downgrade your generated code using grpcio-tools<={ GRPC_VERSION } .'
Original file line number Diff line number Diff line change 66from google .protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
77from pynumaflow .proto .sideinput import sideinput_pb2 as pynumaflow_dot_proto_dot_sideinput_dot_sideinput__pb2
88
9- GRPC_GENERATED_VERSION = '1.78 .0'
9+ GRPC_GENERATED_VERSION = '1.75 .0'
1010GRPC_VERSION = grpc .__version__
1111_version_not_supported = False
1212
1919if _version_not_supported :
2020 raise RuntimeError (
2121 f'The grpc package installed is at version { GRPC_VERSION } ,'
22- + ' but the generated code in pynumaflow/proto/sideinput/sideinput_pb2_grpc.py depends on'
22+ + f ' but the generated code in pynumaflow/proto/sideinput/sideinput_pb2_grpc.py depends on'
2323 + f' grpcio>={ GRPC_GENERATED_VERSION } .'
2424 + f' Please upgrade your grpc module to grpcio>={ GRPC_GENERATED_VERSION } '
2525 + f' or downgrade your generated code using grpcio-tools<={ GRPC_VERSION } .'
Original file line number Diff line number Diff line change 66from google .protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
77from pynumaflow .proto .sinker import sink_pb2 as pynumaflow_dot_proto_dot_sinker_dot_sink__pb2
88
9- GRPC_GENERATED_VERSION = '1.78 .0'
9+ GRPC_GENERATED_VERSION = '1.75 .0'
1010GRPC_VERSION = grpc .__version__
1111_version_not_supported = False
1212
1919if _version_not_supported :
2020 raise RuntimeError (
2121 f'The grpc package installed is at version { GRPC_VERSION } ,'
22- + ' but the generated code in pynumaflow/proto/sinker/sink_pb2_grpc.py depends on'
22+ + f ' but the generated code in pynumaflow/proto/sinker/sink_pb2_grpc.py depends on'
2323 + f' grpcio>={ GRPC_GENERATED_VERSION } .'
2424 + f' Please upgrade your grpc module to grpcio>={ GRPC_GENERATED_VERSION } '
2525 + f' or downgrade your generated code using grpcio-tools<={ GRPC_VERSION } .'
Original file line number Diff line number Diff line change 66from google .protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
77from pynumaflow .proto .sourcer import source_pb2 as pynumaflow_dot_proto_dot_sourcer_dot_source__pb2
88
9- GRPC_GENERATED_VERSION = '1.78 .0'
9+ GRPC_GENERATED_VERSION = '1.75 .0'
1010GRPC_VERSION = grpc .__version__
1111_version_not_supported = False
1212
1919if _version_not_supported :
2020 raise RuntimeError (
2121 f'The grpc package installed is at version { GRPC_VERSION } ,'
22- + ' but the generated code in pynumaflow/proto/sourcer/source_pb2_grpc.py depends on'
22+ + f ' but the generated code in pynumaflow/proto/sourcer/source_pb2_grpc.py depends on'
2323 + f' grpcio>={ GRPC_GENERATED_VERSION } .'
2424 + f' Please upgrade your grpc module to grpcio>={ GRPC_GENERATED_VERSION } '
2525 + f' or downgrade your generated code using grpcio-tools<={ GRPC_VERSION } .'
Original file line number Diff line number Diff line change 66from google .protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
77from pynumaflow .proto .sourcetransformer import transform_pb2 as pynumaflow_dot_proto_dot_sourcetransformer_dot_transform__pb2
88
9- GRPC_GENERATED_VERSION = '1.78 .0'
9+ GRPC_GENERATED_VERSION = '1.75 .0'
1010GRPC_VERSION = grpc .__version__
1111_version_not_supported = False
1212
1919if _version_not_supported :
2020 raise RuntimeError (
2121 f'The grpc package installed is at version { GRPC_VERSION } ,'
22- + ' but the generated code in pynumaflow/proto/sourcetransformer/transform_pb2_grpc.py depends on'
22+ + f ' but the generated code in pynumaflow/proto/sourcetransformer/transform_pb2_grpc.py depends on'
2323 + f' grpcio>={ GRPC_GENERATED_VERSION } .'
2424 + f' Please upgrade your grpc module to grpcio>={ GRPC_GENERATED_VERSION } '
2525 + f' or downgrade your generated code using grpcio-tools<={ GRPC_VERSION } .'
You can’t perform that action at this time.
0 commit comments