Make pytype happy

pull/22925/head
Lidi Zheng 5 years ago
parent f0f99b1b05
commit b2b939d747
  1. 4
      src/python/grpcio_tests/tests_aio/unit/server_interceptor_test.py

@ -95,8 +95,8 @@ class _CacheInterceptor(aio.ServerInterceptor):
handler = await continuation(handler_call_details)
# Only intercept unary call RPCs
if handler and (handler.request_streaming or
handler.response_streaming):
if handler and (handler.request_streaming or # pytype: disable=attribute-error
handler.response_streaming): # pytype: disable=attribute-error
return handler
def wrapper(behavior: Callable[

Loading…
Cancel
Save