|
|
@ -129,10 +129,8 @@ class InterceptedUnaryUnaryCall(_base_call.UnaryUnaryCall): |
|
|
|
interceptors: Iterator[UnaryUnaryClientInterceptor], |
|
|
|
interceptors: Iterator[UnaryUnaryClientInterceptor], |
|
|
|
client_call_details: ClientCallDetails, |
|
|
|
client_call_details: ClientCallDetails, |
|
|
|
request: RequestType) -> _base_call.UnaryUnaryCall: |
|
|
|
request: RequestType) -> _base_call.UnaryUnaryCall: |
|
|
|
try: |
|
|
|
|
|
|
|
interceptor = next(interceptors) |
|
|
|
interceptor = next(interceptors, None) |
|
|
|
except StopIteration: |
|
|
|
|
|
|
|
interceptor = None |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if interceptor: |
|
|
|
if interceptor: |
|
|
|
continuation = functools.partial(_run_interceptor, interceptors) |
|
|
|
continuation = functools.partial(_run_interceptor, interceptors) |
|
|
|