aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/grpc/beta
diff options
context:
space:
mode:
authorGravatar Nathaniel Manista <nathaniel@google.com>2017-03-02 18:35:00 +0000
committerGravatar Nathaniel Manista <nathaniel@google.com>2017-03-02 21:39:51 +0000
commitd5e3766027fa0f7e09700ff3af24db3b5f0581a1 (patch)
tree7eb5c87fec63218c2b5448933caa702b23ac76f5 /src/python/grpcio/grpc/beta
parente151a21ee4912c1ce4ba021a029b9d190ce2d254 (diff)
Fix and enable no-value-for-parameter lint
Diffstat (limited to 'src/python/grpcio/grpc/beta')
-rw-r--r--src/python/grpcio/grpc/beta/implementations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/grpcio/grpc/beta/implementations.py b/src/python/grpcio/grpc/beta/implementations.py
index af31e38a54..0b79577689 100644
--- a/src/python/grpcio/grpc/beta/implementations.py
+++ b/src/python/grpcio/grpc/beta/implementations.py
@@ -217,7 +217,7 @@ def dynamic_stub(channel, service, cardinalities, options=None):
Returns:
A face.DynamicStub with which RPCs can be invoked.
"""
- effective_options = StubOptions() if options is None else options
+ effective_options = _EMPTY_STUB_OPTIONS if options is None else options
return _client_adaptations.dynamic_stub(
channel._channel, # pylint: disable=protected-access
service,