On Sat, Jul 2, 2016 at 11:35 PM, Zachary Deretsky <[email protected]>
wrote:

> I am attaching the code with README instructions.
> In my project the client creates and edits data files via a browser, so
> these files are json files.
> They are received by a C++ server and this part is working.
> I also need to use this data in python clients.
>

Your services.proto file contains only messages, not services - is this
intended? Having no services defined means that when you run services.sh
(which itself runs protoc with the gRPC Python plugin) the _pb2.py file
that is generated will have a bunch of gRPC-related imports but not
actually define any application-exposed functions and classes (this is the
case in the _pb2.py file included in your .tgz).

>From the look of your generated code I suspect you're using gRPC 0.14.x -
if possible, please upgrade to 0.15.x.

I know, I can create workarounds by carrying serialization to string, but
> grpc docs claim support for json and I'd prefer to avoid complexity of data
> duplication.
>

Please link me to the particular docs you're reading? I'm not personally up
to speed on the JSON side of gRPC; I apologize that you might have to wait
until after the long holiday weekend for fully-informed answers to your
questions.
-N

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAEOYnASxjN%2B5%2ByOdPpq2q7hUPH8uc%3DtMz-zsCPh8BSqhwubcQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to