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 as common_dot_common__pb2 > ``` > What I expect > ``` > from hfc.protos.common import common_pb2 as common_dot_common__pb2 > ``` >
What command are you using when you generate your code? Is this the same problem as what's described in issue 9450 <https://github.com/grpc/grpc/issues/9450>? Is this <https://github.com/macnibblet/grpc-bug-9450> a simplified demonstration of your issue? -Nathaniel -- 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 grpc-io+unsubscr...@googlegroups.com. To post to this group, send email to grpc-io@googlegroups.com. 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/CAEOYnARNFhjMU4_YEQ%3Dj6ZAQHgpj_%3DM85SB%3Dj1BU6MvDtkhuKw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
smime.p7s
Description: S/MIME Cryptographic Signature