Hey all,
Consider the sample .proto file:
```
syntax = "proto3";
// The greeting service definition.
service Greeter {
// Sends a greeting
rpc SayHello (HelloRequest) returns (HelloReply) {}
// Sends another greeting
rpc SayHelloAgain (HelloRequest) returns (HelloReply) {}
}
// The request message containing the user's name.
message HelloRequest {
string name = 1;
}
// The response message containing the greetings
message HelloReply {
string message = 1;
}
```
When I generate the client and server:
```
$ python -m grpc_tools.protoc -I../protos --python_out=.
--grpc_python_out=. ../protos/service.proto
```
The filenames are service_pb2.py and service_pb2_grpc.py. Should I not
be expecting `pb3` in the filenames consider I am declaring the syntax to
be proto3?
Relevant packages + versions:
```
$ pip list
grpcio (1.4.0)
grpcio-tools (1.4.0)
protobuf (3.4.0)
setuptools (28.8.0)
```
Thank you in advance.
Best Wishes,
Amit.
--
You received this message because you are subscribed to the Google Groups
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit
https://groups.google.com/d/msgid/grpc-io/d6ef1b40-4e0f-4092-a78d-b6eb7db96bac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.