Re: [grpc-io] grpc python generated code with wrong import

2017-02-07 Thread 'Nathaniel Manista' via grpc.io
On Tue, Feb 7, 2017 at 9:25 AM, Nathaniel Manista wrote: > On Fri, Feb 3, 2017 at 12:49 AM, <281165273gr...@gmail.com> wrote: > >> Hi >> We have several proto files and some import others. When we use >> grpcio-tools to generate python file, the import statement in python file >> not correct. >>

Re: [grpc-io] grpc python generated code with wrong import

2017-02-07 Thread 'Nathaniel Manista' via grpc.io
On Fri, Feb 3, 2017 at 12:49 AM, <281165273gr...@gmail.com> wrote: > Hi > We have several proto files and some import others. When we use > grpcio-tools to generate python file, the import statement in python file > not correct. > For example, generated below > ``` > from common import common_pb2

[grpc-io] grpc python generated code with wrong import

2017-02-03 Thread 281165273grape
Hi We have several proto files and some import others. When we use grpcio-tools to generate python file, the import statement in python file not correct. For example, generated below ``` from common import common_pb2 as common_dot_common__pb2 ``` What I expect ``` from hfc.protos.common import co