-
- Downloads
ssl_channel_credentials to use None by default
Since the default behavior is quite sane, support just calling ssl_channel_credentials() without explicitly specifying ssl_channel_credentials(None, None, None).
This changes the pattern ssl_channel_credentials(server_crt, None, None) to ssl_channel_credentials(server_crt)
Signed-off-by:
Christian Svensson <blue@cmd.nu>
Showing
- src/python/grpcio/grpc/beta/implementations.py 6 additions, 5 deletionssrc/python/grpcio/grpc/beta/implementations.py
- src/python/grpcio/tests/interop/_secure_interop_test.py 2 additions, 2 deletionssrc/python/grpcio/tests/interop/_secure_interop_test.py
- src/python/grpcio/tests/interop/client.py 2 additions, 2 deletionssrc/python/grpcio/tests/interop/client.py
- src/python/grpcio/tests/unit/beta/_beta_features_test.py 3 additions, 3 deletionssrc/python/grpcio/tests/unit/beta/_beta_features_test.py
- src/python/grpcio/tests/unit/beta/_face_interface_test.py 2 additions, 2 deletionssrc/python/grpcio/tests/unit/beta/_face_interface_test.py
- src/python/grpcio/tests/unit/beta/_implementations_test.py 2 additions, 3 deletionssrc/python/grpcio/tests/unit/beta/_implementations_test.py
Loading
Please sign in to comment