-
- Downloads
Unify early_adopter construction functions
It was awkward for the generated code to call an API that offered both insecure_server and secure_server as well as insecure_stub and secure_stub. With this change there is just a single server function and a single stub function and security is decided based on arguments passed.
Showing
- src/compiler/python_generator.cc 12 additions, 7 deletionssrc/compiler/python_generator.cc
- src/python/interop/interop/_insecure_interop_test.py 2 additions, 2 deletionssrc/python/interop/interop/_insecure_interop_test.py
- src/python/interop/interop/_secure_interop_test.py 5 additions, 4 deletionssrc/python/interop/interop/_secure_interop_test.py
- src/python/interop/interop/client.py 4 additions, 4 deletionssrc/python/interop/interop/client.py
- src/python/interop/interop/server.py 4 additions, 4 deletionssrc/python/interop/interop/server.py
- src/python/src/grpc/early_adopter/implementations.py 16 additions, 64 deletionssrc/python/src/grpc/early_adopter/implementations.py
- src/python/src/grpc/early_adopter/implementations_test.py 2 additions, 2 deletionssrc/python/src/grpc/early_adopter/implementations_test.py
- test/compiler/python_plugin_test.py 1 addition, 1 deletiontest/compiler/python_plugin_test.py
Loading
Please register or sign in to comment