Working on a python example plus fixing python grpc code (#6456)
authormustiikhalil <mustii@mmk.one>
Thu, 25 Feb 2021 22:38:12 +0000 (01:38 +0300)
committerGitHub <noreply@github.com>
Thu, 25 Feb 2021 22:38:12 +0000 (14:38 -0800)
commit8142fedd196e20d24c48485396821b12034e7eb9
treeefc31d19a822e6fa11e69d31c3b16ccce4aa6a18
parentc0be1cb7a51f1c50e057469de94f3a3bb7dfcb64
Working on a python example plus fixing python grpc code (#6456)

Refactored python grpc code gen

Adds example server & client + fixes ci

Fixes generated code

Making sure we encode the reply string as utf8

Adds Readme details to clarify issue regarding encoding when python is sending/receiving
15 files changed:
CMakeLists.txt
grpc/examples/README.md
grpc/examples/generate.sh
grpc/examples/python/greeter/README.md [new file with mode: 0644]
grpc/examples/python/greeter/client.py [new file with mode: 0644]
grpc/examples/python/greeter/models/HelloReply.py [new file with mode: 0644]
grpc/examples/python/greeter/models/HelloRequest.py [new file with mode: 0644]
grpc/examples/python/greeter/models/__init__.py [new file with mode: 0644]
grpc/examples/python/greeter/models/greeter_grpc_fb.py [new file with mode: 0644]
grpc/examples/python/greeter/server.py [new file with mode: 0644]
grpc/src/compiler/BUILD
grpc/src/compiler/python_generator.cc
grpc/src/compiler/python_generator.h
grpc/src/compiler/python_private_generator.h [deleted file]
src/idl_gen_grpc.cpp