From b120008ea386272bab41403415d6ca088724a9eb Mon Sep 17 00:00:00 2001 From: Richard Belleville Date: Wed, 10 Feb 2021 10:55:06 -0800 Subject: [PATCH] Fix API --- src/python/grpcio/grpc/__init__.py | 3 +++ src/python/grpcio_tests/tests/unit/_api_test.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/python/grpcio/grpc/__init__.py b/src/python/grpcio/grpc/__init__.py index daceca3b59e..eba6e135e25 100644 --- a/src/python/grpcio/grpc/__init__.py +++ b/src/python/grpcio/grpc/__init__.py @@ -2144,6 +2144,9 @@ __all__ = ( 'protos', 'services', 'protos_and_services', + 'xds_channel_credentials', + 'xds_server_credentials', + 'insecure_server_credentials', ) ############################### Extension Shims ################################ diff --git a/src/python/grpcio_tests/tests/unit/_api_test.py b/src/python/grpcio_tests/tests/unit/_api_test.py index a459ee6e192..e98632d0d28 100644 --- a/src/python/grpcio_tests/tests/unit/_api_test.py +++ b/src/python/grpcio_tests/tests/unit/_api_test.py @@ -87,6 +87,9 @@ class AllTest(unittest.TestCase): 'protos', 'services', 'protos_and_services', + 'xds_channel_credentials', + 'xds_server_credentials', + 'insecure_server_credentials', ) six.assertCountEqual(self, expected_grpc_code_elements,